iLLD_TC27xD  1.0
IfxGpt12_IncrEnc.c File Reference

GPT12 INCRENC details. More...

#include "IfxGpt12_IncrEnc.h"

Go to the source code of this file.

Functions

float32 IfxGpt12_IncrEnc_getAbsolutePosition (IfxGpt12_IncrEnc *driver)
 
IfxStdIf_Pos_Dir IfxGpt12_IncrEnc_getDirection (IfxGpt12_IncrEnc *driver)
 
IfxStdIf_Pos_Status IfxGpt12_IncrEnc_getFault (IfxGpt12_IncrEnc *driver)
 
sint32 IfxGpt12_IncrEnc_getOffset (IfxGpt12_IncrEnc *driver)
 
uint16 IfxGpt12_IncrEnc_getPeriodPerRotation (IfxGpt12_IncrEnc *driver)
 
float32 IfxGpt12_IncrEnc_getPosition (IfxGpt12_IncrEnc *driver)
 
sint32 IfxGpt12_IncrEnc_getRawPosition (IfxGpt12_IncrEnc *driver)
 
float32 IfxGpt12_IncrEnc_getRefreshPeriod (IfxGpt12_IncrEnc *driver)
 
sint32 IfxGpt12_IncrEnc_getResolution (IfxGpt12_IncrEnc *driver)
 
IfxStdIf_Pos_SensorType IfxGpt12_IncrEnc_getSensorType (IfxGpt12_IncrEnc *driver)
 
float32 IfxGpt12_IncrEnc_getSpeed (IfxGpt12_IncrEnc *driver)
 
sint32 IfxGpt12_IncrEnc_getTurn (IfxGpt12_IncrEnc *driver)
 
boolean IfxGpt12_IncrEnc_init (IfxGpt12_IncrEnc *driver, const IfxGpt12_IncrEnc_Config *config)
 Initialises the Incremental interface. More...
 
void IfxGpt12_IncrEnc_initConfig (IfxGpt12_IncrEnc_Config *config, Ifx_GPT12 *gpt12)
 Initializes the configuration structure to default. More...
 
void IfxGpt12_IncrEnc_onZeroIrq (IfxGpt12_IncrEnc *driver)
 
void IfxGpt12_IncrEnc_reset (IfxGpt12_IncrEnc *driver)
 
void IfxGpt12_IncrEnc_resetFaults (IfxGpt12_IncrEnc *driver)
 
void IfxGpt12_IncrEnc_setOffset (IfxGpt12_IncrEnc *driver, sint32 offset)
 
void IfxGpt12_IncrEnc_setRefreshPeriod (IfxGpt12_IncrEnc *driver, float32 updatePeriod)
 
boolean IfxGpt12_IncrEnc_stdIfPosInit (IfxStdIf_Pos *stdif, IfxGpt12_IncrEnc *driver)
 Initializes the standard interface "Pos". More...
 
void IfxGpt12_IncrEnc_update (IfxGpt12_IncrEnc *driver)
 

Detailed Description

GPT12 INCRENC details.

Version
iLLD_1_0_0_11_0
                            IMPORTANT NOTICE

Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.

THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file IfxGpt12_IncrEnc.c.

Function Documentation

boolean IfxGpt12_IncrEnc_stdIfPosInit ( IfxStdIf_Pos stdif,
IfxGpt12_IncrEnc driver 
)

Initializes the standard interface "Pos".

Parameters
stdifStandard interface position object
driverincremental encoder interface Handle
Returns
TRUE on success else FALSE

Definition at line 352 of file IfxGpt12_IncrEnc.c.