iLLD_TC27xC
1.0
|
![]() |
Functions | |
IFX_INLINE void | IfxVadc_enableModule (Ifx_VADC *vadc) |
Enable VADC kernel. More... | |
IFX_INLINE uint8 | IfxVadc_getAdcCalibrationActiveState (Ifx_VADC *vadc, uint8 adcCalGroupNum) |
gets ADC Calibration Flag CAL status. More... | |
IFX_INLINE Ifx_VADC_GLOBCFG | IfxVadc_getGlobalConfigValue (Ifx_VADC *vadc) |
Gets the global control configuration value. More... | |
IFX_INLINE void | IfxVadc_initiateStartupCalibration (Ifx_VADC *vadc) |
initiates the calibration pulse phase. More... | |
IFX_INLINE void | IfxVadc_setChannelResolution (Ifx_VADC *vadc, uint8 groupInputClassNum, IfxVadc_ChannelResolution resolution) |
Sets the channel conversion mode. More... | |
IFX_INLINE void | IfxVadc_setSampleTimeTicks (Ifx_VADC *vadc, uint8 groupInputClassNum, float32 analogFrequency, float32 sampleTime) |
Sets the sample time ticks of ADC group class. More... | |
IFX_EXTERN void | IfxVadc_disableAccess (Ifx_VADC *vadc, IfxVadc_Protection protectionSet) |
Disable write access to the VADC config/control registers. More... | |
IFX_EXTERN void | IfxVadc_disablePostCalibration (Ifx_VADC *vadc, IfxVadc_GroupId group, boolean disable) |
Disables the post calibration. More... | |
IFX_EXTERN void | IfxVadc_enableAccess (Ifx_VADC *vadc, IfxVadc_Protection protectionSet) |
Enable write access to the VADC config/control registers. More... | |
IFX_EXTERN volatile Ifx_SRC_SRCR * | IfxVadc_getSrcAddress (IfxVadc_GroupId group, IfxVadc_SrcNr index) |
Gives the SRC source address. More... | |
IFX_EXTERN void | IfxVadc_initialiseAdcArbiterClock (Ifx_VADC *vadc, uint32 arbiterClockDivider) |
Initialises the ADC Arbiter clock. More... | |
IFX_EXTERN void | IfxVadc_initialiseAdcConverterClock (Ifx_VADC *vadc, uint32 converterClockDivider) |
Initialises ADC converter clock. More... | |
IFX_EXTERN uint32 | IfxVadc_initializeFAdcD (Ifx_VADC *vadc, uint32 fAdcD) |
Configure the FadcD vadc digital clock. More... | |
IFX_EXTERN uint32 | IfxVadc_initializeFAdcI (Ifx_VADC *vadc, uint32 fAdcI) |
Configure the ADC analog clock. More... | |
IFX_EXTERN void | IfxVadc_resetKernel (Ifx_VADC *vadc) |
Resets the kernel. More... | |
IFX_EXTERN void | IfxVadc_startupCalibration (Ifx_VADC *vadc) |
Starts ADC calibration and wait for the end of the calibration process. More... | |
IFX_EXTERN void IfxVadc_disableAccess | ( | Ifx_VADC * | vadc, |
IfxVadc_Protection | protectionSet | ||
) |
Disable write access to the VADC config/control registers.
vadc | pointer to the base of VADC registers. |
protectionSet | Index of the bit in the ACCPROTx {x=0/1} for which write access is to be disabled. |
Definition at line 35 of file IfxVadc.c.
Referenced by IfxVadc_Adc_deInitGroup(), IfxVadc_Adc_initChannel(), IfxVadc_Adc_initGroup(), IfxVadc_Adc_initModule(), IfxVadc_disablePostCalibration(), IfxVadc_initialiseAdcArbiterClock(), IfxVadc_initialiseAdcConverterClock(), IfxVadc_resetKernel(), and IfxVadc_startupCalibration().
IFX_EXTERN void IfxVadc_disablePostCalibration | ( | Ifx_VADC * | vadc, |
IfxVadc_GroupId | group, | ||
boolean | disable | ||
) |
Disables the post calibration.
vadc | pointer to the base of VADC registers. |
group | Index of the group. |
disable | disable or not. |
Definition at line 54 of file IfxVadc.c.
Referenced by IfxVadc_Adc_initGroup().
IFX_EXTERN void IfxVadc_enableAccess | ( | Ifx_VADC * | vadc, |
IfxVadc_Protection | protectionSet | ||
) |
Enable write access to the VADC config/control registers.
vadc | pointer to the base of VADC registers. |
protectionSet | Index of the bit in the ACCPROTx {x=0/1} for which write access is to be enabled. |
Definition at line 76 of file IfxVadc.c.
Referenced by IfxVadc_Adc_deInitGroup(), IfxVadc_Adc_initChannel(), IfxVadc_Adc_initGroup(), IfxVadc_Adc_initModule(), IfxVadc_disablePostCalibration(), IfxVadc_initialiseAdcArbiterClock(), IfxVadc_initialiseAdcConverterClock(), IfxVadc_resetKernel(), and IfxVadc_startupCalibration().
IFX_INLINE void IfxVadc_enableModule | ( | Ifx_VADC * | vadc) |
Enable VADC kernel.
vadc | pointer to the base of VADC registers. |
Definition at line 1837 of file IfxVadc.h.
Referenced by IfxVadc_Adc_initModule().
IFX_INLINE uint8 IfxVadc_getAdcCalibrationActiveState | ( | Ifx_VADC * | vadc, |
uint8 | adcCalGroupNum | ||
) |
gets ADC Calibration Flag CAL status.
vadc | pointer to VADC group registers. |
adcCalGroupNum | ADC CAL group number. |
Definition at line 1847 of file IfxVadc.h.
Referenced by IfxVadc_startupCalibration().
IFX_INLINE Ifx_VADC_GLOBCFG IfxVadc_getGlobalConfigValue | ( | Ifx_VADC * | vadc) |
Gets the global control configuration value.
vadc | pointer to the base of VADC registers. |
Definition at line 1855 of file IfxVadc.h.
Referenced by IfxVadc_Adc_getGroupConfig().
IFX_EXTERN volatile Ifx_SRC_SRCR* IfxVadc_getSrcAddress | ( | IfxVadc_GroupId | group, |
IfxVadc_SrcNr | index | ||
) |
Gives the SRC source address.
group | Index of the group |
index | SRC number |
Definition at line 211 of file IfxVadc.c.
Referenced by IfxVadc_Adc_getChannelConfig(), and IfxVadc_Adc_initChannel().
IFX_EXTERN void IfxVadc_initialiseAdcArbiterClock | ( | Ifx_VADC * | vadc, |
uint32 | arbiterClockDivider | ||
) |
Initialises the ADC Arbiter clock.
vadc | pointer to the base of VADC registers |
arbiterClockDivider | ADC arbiter clock divider. |
Definition at line 239 of file IfxVadc.c.
Referenced by IfxVadc_initializeFAdcI().
IFX_EXTERN void IfxVadc_initialiseAdcConverterClock | ( | Ifx_VADC * | vadc, |
uint32 | converterClockDivider | ||
) |
Initialises ADC converter clock.
vadc | pointer to the base of VADC registers |
converterClockDivider | ADC converter clock divider. |
Definition at line 251 of file IfxVadc.c.
Referenced by IfxVadc_initializeFAdcD().
IFX_EXTERN uint32 IfxVadc_initializeFAdcD | ( | Ifx_VADC * | vadc, |
uint32 | fAdcD | ||
) |
Configure the FadcD vadc digital clock.
vadc | pointer to the base of VADC registers. |
fAdcD | ADC digital clock frequency in Hz. |
Definition at line 263 of file IfxVadc.c.
Referenced by IfxVadc_Adc_initModule().
IFX_EXTERN uint32 IfxVadc_initializeFAdcI | ( | Ifx_VADC * | vadc, |
uint32 | fAdcI | ||
) |
Configure the ADC analog clock.
vadc | pointer to the base of VADC registers. |
fAdcI | ADC analog clock clock frequency in Hz. Range = [5000000, 10000000]. |
Definition at line 279 of file IfxVadc.c.
Referenced by IfxVadc_Adc_initModule().
IFX_INLINE void IfxVadc_initiateStartupCalibration | ( | Ifx_VADC * | vadc) |
initiates the calibration pulse phase.
vadc | pointer to the base of VADC registers |
Definition at line 1863 of file IfxVadc.h.
Referenced by IfxVadc_startupCalibration().
IFX_EXTERN void IfxVadc_resetKernel | ( | Ifx_VADC * | vadc) |
Resets the kernel.
vadc | pointer to the base of VADC registers. |
Definition at line 316 of file IfxVadc.c.
Referenced by IfxVadc_Adc_deInitModule().
IFX_INLINE void IfxVadc_setChannelResolution | ( | Ifx_VADC * | vadc, |
uint8 | groupInputClassNum, | ||
IfxVadc_ChannelResolution | resolution | ||
) |
Sets the channel conversion mode.
vadc | pointer to VADC module registers. |
groupInputClassNum | group input class number. |
resolution | ADC channel resolution. |
Definition at line 1869 of file IfxVadc.h.
Referenced by IfxVadc_Adc_initModule().
IFX_INLINE void IfxVadc_setSampleTimeTicks | ( | Ifx_VADC * | vadc, |
uint8 | groupInputClassNum, | ||
float32 | analogFrequency, | ||
float32 | sampleTime | ||
) |
Sets the sample time ticks of ADC group class.
vadc | pointer to VADC module registers. |
groupInputClassNum | group input class number. |
analogFrequency | ADC analog frequency. |
sampleTime | the requested sample time for input class. |
Definition at line 1875 of file IfxVadc.h.
Referenced by IfxVadc_Adc_initModule().
IFX_EXTERN void IfxVadc_startupCalibration | ( | Ifx_VADC * | vadc) |
Starts ADC calibration and wait for the end of the calibration process.
vadc | pointer to the base of VADC registers. |
Definition at line 371 of file IfxVadc.c.
Referenced by IfxVadc_Adc_initModule().