iLLD_TC27xD
1.0
|
Functions | |
IFX_INLINE float32 | IfxScuCcu_getEvrFrequency (void) |
API to get EVR Oscillator frequency. This API returns the constant which is specific to the ScuCcu of the controller. More... | |
IFX_INLINE float32 | IfxScuCcu_getPll2ErayFrequency (void) |
API to get actual PLL2 (K3 Divider for ADC clock) frequency This API returns the PLL2ERAY frequency based on the K3 divider value in PLLERAYCON and the VCO frequency. This frequency is one of the configurable inputs to ADC clock. More... | |
IFX_INLINE float32 | IfxScuCcu_getPll2Frequency (void) |
API to get actual PLL2 (K3 Divider for ADC clock) frequency This API returns the PLL2 frequency based on the K3 divider value in PLLCON and the VCO frequency. This frequency is one of the configurable inputs to ADC clock. More... | |
IFX_INLINE IfxScu_CCUCON0_CLKSEL | IfxScuCcu_getSourceSelection (void) |
Returns the clock source selection. More... | |
IFX_INLINE float32 | IfxScuCcu_getStmFrequency (void) |
API to get STM divider frequency. This API returns the based on the divider value in CCUCON register and fSOURCE. More... | |
IFX_EXTERN float32 | IfxScuCcu_getBaud1Frequency (void) |
API to get BAUD1 divider frequency. This API returns the based on the divider value in CCUCON register and the input oscillator. More... | |
IFX_EXTERN float32 | IfxScuCcu_getBaud2Frequency (void) |
API to get BAUD2 divider frequency. This API returns the Baud2 frequency based on the divider value in CCUCON register and the fMAX. More... | |
IFX_EXTERN float32 | IfxScuCcu_getBbbFrequency (void) |
API to get BBB divider frequency. This API returns the BBBDivider frequency based on the divider value in CCUCON register and the input oscillator. More... | |
IFX_EXTERN float32 | IfxScuCcu_getCpuFrequency (const IfxCpu_ResourceCpu cpu) |
This API returns the Cpu frequency based on the divider value in CCUCON register and fSource frequency. More... | |
IFX_EXTERN float32 | IfxScuCcu_getFsi2Frequency (void) |
API to get FSI2 divider frequency in Hz. This API returns the fFSI2 frequency based on the divider value in CCUCON register and the input oscillator. More... | |
IFX_EXTERN float32 | IfxScuCcu_getFsiFrequency (void) |
API to get FSI divider frequency in Hz. This API returns the fFSI based on the divider value in CCUCON register and the input oscillator. More... | |
IFX_EXTERN float32 | IfxScuCcu_getMaxFrequency (void) |
API to get FMAX divider frequency. This API returns the fMax frequency based on the divider value in CCUCON register and the input oscillator. More... | |
IFX_EXTERN float32 | IfxScuCcu_getModuleFrequency (void) |
get source frequency fSOURCE. This API returns the source frequency based on the configurations with CCUCON register configuration. More... | |
IFX_EXTERN float32 | IfxScuCcu_getOsc0Frequency (void) |
API to get Oscillator 0 frequency. This API returns the fOsc0 frequency based on the divider value in CCUCON register and the input oscillator. More... | |
IFX_EXTERN float32 | IfxScuCcu_getOscFrequency (void) |
API to get Oscillator 0 frequency. This API returns the fOsc0 frequency based on the divider value in CCUCON register and the input oscillator. More... | |
IFX_EXTERN float32 | IfxScuCcu_getPllErayFrequency (void) |
API to get actual PLL (Eray) frequency. This API returns the based on the divider values in CCUCON, PLLCON registers and the input oscillator. More... | |
IFX_EXTERN float32 | IfxScuCcu_getPllErayVcoFrequency (void) |
API to get actual ERAY PLL Voltage Controlled Oscillator frequency. This API returns the based on the divider values in PLLERAYCON registers and the input oscillator. More... | |
IFX_EXTERN float32 | IfxScuCcu_getPllFrequency (void) |
API to get actual PLL output frequency. This API returns the based on the divider values in CCUCON, PLLCON registers and the input oscillator. More... | |
IFX_EXTERN float32 | IfxScuCcu_getPllVcoFrequency (void) |
API to get actual PLL Voltage Controlled Oscillator frequency. This API returns the based on the divider values in PLLCON registers and the input oscillator. More... | |
IFX_EXTERN float32 | IfxScuCcu_getSourceFrequency (void) |
get source frequency fSOURCE. This API returns the source frequency based on the configurations with CCUCON register configuration. More... | |
IFX_EXTERN float32 | IfxScuCcu_getSpbFrequency (void) |
API to get SPB divider frequency. This API returns the based on fSOURCE and also on Low power divider mode and/or SPBDIV divider value in CCUCON registers. More... | |
IFX_EXTERN float32 | IfxScuCcu_getSriFrequency (void) |
API to get SRI divider frequency. This API returns the Sri frequency based on the divider values in CCUCON registers and fSOURCE. More... | |
IFX_EXTERN float32 | IfxScuCcu_setCpuFrequency (IfxCpu_ResourceCpu cpu, float32 cpuFreq) |
API to set CPU frequency (with CPU divider) This API configure CPU divider values in CCUCON registers. The actual frequency is always depends on the feasibility with the divider value. More... | |
IFX_EXTERN float32 | IfxScuCcu_setPll2ErayFrequency (float32 pll2ErayFreq) |
API to configure PLL2ERAY (K3 Divider for ADC clock) for desired frequency. This API configure K3 divider value in CCUCON. The actual frequency always depends on the feasibility with the divider value. More... | |
IFX_EXTERN float32 | IfxScuCcu_setPll2Frequency (float32 pll2Freq) |
API to configure PLL2 (K3 Divider for ADC clock) for desired frequency. This API configure K3 divider value in CCUCON. The actual frequency always depends on the feasibility with the divider value. More... | |
IFX_EXTERN float32 | IfxScuCcu_setSpbFrequency (float32 spbFreq) |
API to set SPB frequency (with SPB divider) This API configure SPB divider values in CCUCON registers. The actual frequency always depends on the feasibility with the divider value. More... | |
IFX_EXTERN float32 | IfxScuCcu_setSriFrequency (float32 sriFreq) |
API to set SRI frequency (with SRI divider) This API configure Sri divider values in CCUCON registers. The actual frequency always depends on the feasibility with the divider value. More... | |
IFX_EXTERN float32 IfxScuCcu_getBaud1Frequency | ( | void | ) |
API to get BAUD1 divider frequency. This API returns the based on the divider value in CCUCON register and the input oscillator.
Definition at line 196 of file IfxScuCcu.c.
Referenced by IfxAsclin_getFaFrequency(), IfxI2c_getBaudrate(), and IfxI2c_setBaudrate().
IFX_EXTERN float32 IfxScuCcu_getBaud2Frequency | ( | void | ) |
API to get BAUD2 divider frequency. This API returns the Baud2 frequency based on the divider value in CCUCON register and the fMAX.
Definition at line 214 of file IfxScuCcu.c.
Referenced by IfxAsclin_getFaFrequency().
IFX_EXTERN float32 IfxScuCcu_getBbbFrequency | ( | void | ) |
API to get BBB divider frequency. This API returns the BBBDivider frequency based on the divider value in CCUCON register and the input oscillator.
Definition at line 232 of file IfxScuCcu.c.
IFX_EXTERN float32 IfxScuCcu_getCpuFrequency | ( | const IfxCpu_ResourceCpu | cpu) |
This API returns the Cpu frequency based on the divider value in CCUCON register and fSource frequency.
cpu | CPU number for which effective fCPU is sought |
Definition at line 273 of file IfxScuCcu.c.
IFX_INLINE float32 IfxScuCcu_getEvrFrequency | ( | void | ) |
API to get EVR Oscillator frequency. This API returns the constant which is specific to the ScuCcu of the controller.
Definition at line 1065 of file IfxScuCcu.h.
Referenced by IfxScuCcu_getSourceFrequency().
IFX_EXTERN float32 IfxScuCcu_getFsi2Frequency | ( | void | ) |
API to get FSI2 divider frequency in Hz. This API returns the fFSI2 frequency based on the divider value in CCUCON register and the input oscillator.
Definition at line 304 of file IfxScuCcu.c.
IFX_EXTERN float32 IfxScuCcu_getFsiFrequency | ( | void | ) |
API to get FSI divider frequency in Hz. This API returns the fFSI based on the divider value in CCUCON register and the input oscillator.
Definition at line 327 of file IfxScuCcu.c.
IFX_EXTERN float32 IfxScuCcu_getMaxFrequency | ( | void | ) |
API to get FMAX divider frequency. This API returns the fMax frequency based on the divider value in CCUCON register and the input oscillator.
Definition at line 350 of file IfxScuCcu.c.
Referenced by IfxQspi_calcRealBaudrate(), IfxQspi_calculateTimeQuantumLength(), IfxQspi_getModuleFrequency(), IfxScuCcu_getBaud1Frequency(), and IfxScuCcu_getBaud2Frequency().
IFX_EXTERN float32 IfxScuCcu_getModuleFrequency | ( | void | ) |
get source frequency fSOURCE. This API returns the source frequency based on the configurations with CCUCON register configuration.
Definition at line 391 of file IfxScuCcu.c.
IFX_EXTERN float32 IfxScuCcu_getOsc0Frequency | ( | void | ) |
API to get Oscillator 0 frequency. This API returns the fOsc0 frequency based on the divider value in CCUCON register and the input oscillator.
Definition at line 416 of file IfxScuCcu.c.
Referenced by IfxAsclin_getFaFrequency(), IfxDsadc_getModulatorInputClockFreq(), and IfxMultican_Can_getConfig().
IFX_EXTERN float32 IfxScuCcu_getOscFrequency | ( | void | ) |
API to get Oscillator 0 frequency. This API returns the fOsc0 frequency based on the divider value in CCUCON register and the input oscillator.
Definition at line 422 of file IfxScuCcu.c.
Referenced by IfxScuCcu_getPllErayFrequency(), IfxScuCcu_getPllErayVcoFrequency(), IfxScuCcu_getPllFrequency(), and IfxScuCcu_getPllVcoFrequency().
IFX_INLINE float32 IfxScuCcu_getPll2ErayFrequency | ( | void | ) |
API to get actual PLL2 (K3 Divider for ADC clock) frequency This API returns the PLL2ERAY frequency based on the K3 divider value in PLLERAYCON and the VCO frequency. This frequency is one of the configurable inputs to ADC clock.
Definition at line 1077 of file IfxScuCcu.h.
Referenced by IfxScuCcu_setPll2ErayFrequency().
IFX_INLINE float32 IfxScuCcu_getPll2Frequency | ( | void | ) |
API to get actual PLL2 (K3 Divider for ADC clock) frequency This API returns the PLL2 frequency based on the K3 divider value in PLLCON and the VCO frequency. This frequency is one of the configurable inputs to ADC clock.
Definition at line 1087 of file IfxScuCcu.h.
Referenced by IfxScuCcu_setPll2Frequency().
IFX_EXTERN float32 IfxScuCcu_getPllErayFrequency | ( | void | ) |
API to get actual PLL (Eray) frequency. This API returns the based on the divider values in CCUCON, PLLCON registers and the input oscillator.
Definition at line 444 of file IfxScuCcu.c.
Referenced by IfxAsclin_getFaFrequency(), IfxDsadc_getModulatorInputClockFreq(), and IfxMultican_Can_getConfig().
IFX_EXTERN float32 IfxScuCcu_getPllErayVcoFrequency | ( | void | ) |
API to get actual ERAY PLL Voltage Controlled Oscillator frequency. This API returns the based on the divider values in PLLERAYCON registers and the input oscillator.
Definition at line 472 of file IfxScuCcu.c.
Referenced by IfxScuCcu_getPll2ErayFrequency(), and IfxScuCcu_setPll2ErayFrequency().
IFX_EXTERN float32 IfxScuCcu_getPllFrequency | ( | void | ) |
API to get actual PLL output frequency. This API returns the based on the divider values in CCUCON, PLLCON registers and the input oscillator.
Definition at line 491 of file IfxScuCcu.c.
Referenced by IfxScuCcu_getSourceFrequency().
IFX_EXTERN float32 IfxScuCcu_getPllVcoFrequency | ( | void | ) |
API to get actual PLL Voltage Controlled Oscillator frequency. This API returns the based on the divider values in PLLCON registers and the input oscillator.
Definition at line 519 of file IfxScuCcu.c.
Referenced by IfxScuCcu_getPll2Frequency(), and IfxScuCcu_setPll2Frequency().
IFX_EXTERN float32 IfxScuCcu_getSourceFrequency | ( | void | ) |
get source frequency fSOURCE. This API returns the source frequency based on the configurations with CCUCON register configuration.
Definition at line 538 of file IfxScuCcu.c.
Referenced by IfxScuCcu_getBbbFrequency(), IfxScuCcu_getGtmFrequency(), IfxScuCcu_getMaxFrequency(), IfxScuCcu_getSpbFrequency(), IfxScuCcu_getSriFrequency(), IfxScuCcu_getStmFrequency(), IfxScuCcu_setGtmFrequency(), IfxScuCcu_setSpbFrequency(), and IfxScuCcu_setSriFrequency().
IFX_INLINE IfxScu_CCUCON0_CLKSEL IfxScuCcu_getSourceSelection | ( | void | ) |
Returns the clock source selection.
Definition at line 1096 of file IfxScuCcu.h.
IFX_EXTERN float32 IfxScuCcu_getSpbFrequency | ( | void | ) |
API to get SPB divider frequency. This API returns the based on fSOURCE and also on Low power divider mode and/or SPBDIV divider value in CCUCON registers.
Definition at line 559 of file IfxScuCcu.c.
Referenced by IfxAsclin_getFaFrequency(), IfxCcu6_setT12Frequency(), IfxCcu6_setT13Frequency(), IfxCcu6_TimerWithTrigger_init(), IfxCcu6_TimerWithTrigger_updateInputFrequency(), IfxDsadc_getModulatorInputClockFreq(), IfxGpt12_getModuleFrequency(), IfxGtm_Cmu_getModuleFrequency(), IfxMsc_downstreamAbraBaudCalculator(), IfxMsc_upstreamFractionalBaudCalculator(), IfxMsc_upstreamNormalBaudCalculator(), IfxMultican_Can_getConfig(), IfxMultican_Can_initModule(), IfxMultican_Can_initModuleConfig(), IfxPsi5_Psi5_initModuleConfig(), IfxPsi5s_Psi5s_initModuleConfig(), IfxScuCcu_getModuleFrequency(), IfxScuCcu_setSpbFrequency(), IfxSent_getModuleClock(), IfxVadc_Adc_initModuleConfig(), IfxVadc_getAdcAnalogFrequency(), IfxVadc_getAdcDigitalFrequency(), IfxVadc_getAdcModuleFrequency(), IfxVadc_initializeFAdcD(), and IfxVadc_initializeFAdcI().
IFX_EXTERN float32 IfxScuCcu_getSriFrequency | ( | void | ) |
API to get SRI divider frequency. This API returns the Sri frequency based on the divider values in CCUCON registers and fSOURCE.
Definition at line 600 of file IfxScuCcu.c.
Referenced by IfxScuCcu_getCpuFrequency(), IfxScuCcu_getFsi2Frequency(), IfxScuCcu_getFsiFrequency(), IfxScuCcu_setCpuFrequency(), and IfxScuCcu_setSriFrequency().
IFX_INLINE float32 IfxScuCcu_getStmFrequency | ( | void | ) |
API to get STM divider frequency. This API returns the based on the divider value in CCUCON register and fSOURCE.
Definition at line 1102 of file IfxScuCcu.h.
Referenced by IfxStm_getFrequency().
IFX_EXTERN float32 IfxScuCcu_setCpuFrequency | ( | IfxCpu_ResourceCpu | cpu, |
float32 | cpuFreq | ||
) |
API to set CPU frequency (with CPU divider) This API configure CPU divider values in CCUCON registers. The actual frequency is always depends on the feasibility with the divider value.
cpu | CPU number for which fCPU to be configured |
cpuFreq | Desired CPU frequency in Hz |
Definition at line 1055 of file IfxScuCcu.c.
IFX_EXTERN float32 IfxScuCcu_setPll2ErayFrequency | ( | float32 | pll2ErayFreq) |
API to configure PLL2ERAY (K3 Divider for ADC clock) for desired frequency. This API configure K3 divider value in CCUCON. The actual frequency always depends on the feasibility with the divider value.
pll2ErayFreq | PLL2ERAY (K3 Divider for ADC clock) frequency in Hz |
Definition at line 1136 of file IfxScuCcu.c.
IFX_EXTERN float32 IfxScuCcu_setPll2Frequency | ( | float32 | pll2Freq) |
API to configure PLL2 (K3 Divider for ADC clock) for desired frequency. This API configure K3 divider value in CCUCON. The actual frequency always depends on the feasibility with the divider value.
pll2Freq | PLL2 (K3 Divider for ADC clock) frequency in Hz |
Definition at line 1149 of file IfxScuCcu.c.
IFX_EXTERN float32 IfxScuCcu_setSpbFrequency | ( | float32 | spbFreq) |
API to set SPB frequency (with SPB divider) This API configure SPB divider values in CCUCON registers. The actual frequency always depends on the feasibility with the divider value.
spbFreq | Desired SPB frequency in Hz |
Definition at line 1162 of file IfxScuCcu.c.
IFX_EXTERN float32 IfxScuCcu_setSriFrequency | ( | float32 | sriFreq) |
API to set SRI frequency (with SRI divider) This API configure Sri divider values in CCUCON registers. The actual frequency always depends on the feasibility with the divider value.
sriFreq | Sri frequency (fSRI) in Hz |
Definition at line 1207 of file IfxScuCcu.c.