iLLD_TC27xC
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_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_INLINE 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_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 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_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_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 88 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 106 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 124 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 165 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 399 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 195 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 218 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 241 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 282 of file IfxScuCcu.c.
IFX_INLINE 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 405 of file IfxScuCcu.h.
Referenced by IfxAsclin_getFaFrequency(), IfxDsadc_getModulatorInputClockFreq(), and IfxMultican_Can_getConfig().
IFX_INLINE 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 411 of file IfxScuCcu.h.
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 433 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 443 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 307 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 335 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 354 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 382 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 401 of file IfxScuCcu.c.
Referenced by IfxScuCcu_getBbbFrequency(), IfxScuCcu_getGtmFrequency(), IfxScuCcu_getMaxFrequency(), IfxScuCcu_getSpbFrequency(), IfxScuCcu_getSriFrequency(), IfxScuCcu_getStmFrequency(), IfxScuCcu_setGtmFrequency(), and IfxScuCcu_setSpbFrequency().
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 422 of file IfxScuCcu.c.
Referenced by IfxAsclin_getFaFrequency(), IfxCcu6_setT12Frequency(), IfxCcu6_setT13Frequency(), IfxDsadc_getModulatorInputClockFreq(), 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_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 463 of file IfxScuCcu.c.
Referenced by IfxScuCcu_getCpuFrequency(), IfxScuCcu_getFsi2Frequency(), IfxScuCcu_getFsiFrequency(), and IfxScuCcu_setCpuFrequency().
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 453 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 907 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 956 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 969 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 982 of file IfxScuCcu.c.