![]() |
PDL for FM4
Version1.2
Peripheral Driverl Library for FM4
|
Main/PLL Clock configuration. More...
#include <clk.h>
Data Fields | |
| en_clk_source_t | enSource |
| See description of en_clk_source_t. More... | |
| boolean_t | bEnablePll |
| PLL enable. More... | |
| boolean_t | bEnableMainClock |
| Main Clock enable. More... | |
| en_clk_mode_t | enMode |
| See description of en_clk_mode_t. More... | |
| boolean_t | bLpmPortHiZState |
| en_clk_baseclkdiv_t | enBaseClkDiv |
| See description of en_clk_baseclkdiv_t. More... | |
| en_clk_apb0div_t | enAPB0Div |
| See description of en_clk_apb0div_t. More... | |
| en_clk_apb1div_t | enAPB1Div |
| See description of en_clk_apb1div_t. More... | |
| en_clk_apb2div_t | enAPB2Div |
| See description of en_clk_apb2div_t. More... | |
| boolean_t | bAPB1Disable |
| TRUE: Disables APB1 regardless of divider settings. More... | |
| boolean_t | bAPB2Disable |
| TRUE: Disables APB2 regardless of divider settings. More... | |
| en_clk_mcowaittime_t | enMCOWaitTime |
| See description of en_clk_mcowaittime_t. More... | |
| en_clk_pllowaittime_t | enPLLOWaitTime |
| See description of en_clk_pllowaittime_t. More... | |
| uint8_t | u8PllK |
| PLL input clock frequency division ratio, PLLK. More... | |
| uint8_t | u8PllM |
| PLL VCO clock frequency division ratio, PLLM. More... | |
| uint8_t | u8PllN |
| PLL feedback frequency division ration, PLLN. More... | |
| en_clk_pll_src_t | enPllSource |
| Only available, if HC clock as PLL clock source supported! See en_clk_pll_src_t for details! More... | |
| boolean_t | bPllIrq |
| TRUE: enable PLL oscillation stabilization completion interrupt. More... | |
| boolean_t | bMcoIrq |
| TRUE: enable Main Clock oscillation stabilization completion interrupt. More... | |
| func_ptr_t | pfnPllStabCb |
| PLL stabilization callback function pointer. More... | |
| func_ptr_t | pfnMcoStabCb |
| Main Clock stabilization callback function pointer. More... | |
| func_ptr_t | pfnHook |
| Hook call for low power modes (called between SLEEPDEEP = 1 and WFI) More... | |
Main/PLL Clock configuration.
The Main/PLL Clock configuration settings
| boolean_t bAPB1Disable |
TRUE: Disables APB1 regardless of divider settings.
Definition at line 569 of file clk.h.
Referenced by Clk_SetDividers().
| boolean_t bAPB2Disable |
TRUE: Disables APB2 regardless of divider settings.
Definition at line 570 of file clk.h.
Referenced by Clk_SetDividers().
| boolean_t bEnableMainClock |
| boolean_t bEnablePll |
| boolean_t bLpmPortHiZState |
TRUE: Sets the status of each external port pin to high impedance (Hi-Z) in Timer or Stop mode
FALSE: Holds the status of each external port pin
Definition at line 562 of file clk.h.
Referenced by Clk_SetMode().
| boolean_t bMcoIrq |
TRUE: enable Main Clock oscillation stabilization completion interrupt.
Definition at line 579 of file clk.h.
Referenced by Clk_MainGetParameters(), and Clk_SetIrq().
| boolean_t bPllIrq |
TRUE: enable PLL oscillation stabilization completion interrupt.
Definition at line 578 of file clk.h.
Referenced by Clk_MainGetParameters(), and Clk_SetIrq().
| en_clk_apb0div_t enAPB0Div |
See description of en_clk_apb0div_t.
Definition at line 566 of file clk.h.
Referenced by Clk_MainGetParameters(), and Clk_SetDividers().
| en_clk_apb1div_t enAPB1Div |
See description of en_clk_apb1div_t.
Definition at line 567 of file clk.h.
Referenced by Clk_MainGetParameters(), and Clk_SetDividers().
| en_clk_apb2div_t enAPB2Div |
See description of en_clk_apb2div_t.
Definition at line 568 of file clk.h.
Referenced by Clk_MainGetParameters(), and Clk_SetDividers().
| en_clk_baseclkdiv_t enBaseClkDiv |
See description of en_clk_baseclkdiv_t.
Definition at line 565 of file clk.h.
Referenced by Clk_MainGetParameters(), and Clk_SetDividers().
| en_clk_mcowaittime_t enMCOWaitTime |
See description of en_clk_mcowaittime_t.
Definition at line 571 of file clk.h.
Referenced by Clk_MainGetParameters(), and Clk_MainSetStabilizationWaitTime().
| en_clk_mode_t enMode |
See description of en_clk_mode_t.
Definition at line 561 of file clk.h.
Referenced by Clk_MainGetParameters(), Clk_SetMode(), Lpm_SetDeepRtcMode(), Lpm_SetDeepStopMode(), Lpm_SetHsCrSleep(), Lpm_SetHsCrTimer(), Lpm_SetLsCrSleep(), Lpm_SetLsCrTimer(), Lpm_SetMainSleep(), Lpm_SetMainTimer(), Lpm_SetPllSleep(), Lpm_SetPllTimer(), Lpm_SetRtcMode(), Lpm_SetStopMode(), Lpm_SetSubSleep(), and Lpm_SetSubTimer().
| en_clk_pllowaittime_t enPLLOWaitTime |
See description of en_clk_pllowaittime_t.
Definition at line 572 of file clk.h.
Referenced by Clk_MainSetStabilizationWaitTime().
| en_clk_pll_src_t enPllSource |
Only available, if HC clock as PLL clock source supported! See en_clk_pll_src_t for details!
Definition at line 576 of file clk.h.
Referenced by Clk_MainSetStabilizationWaitTime().
| en_clk_source_t enSource |
See description of en_clk_source_t.
Definition at line 558 of file clk.h.
Referenced by Clk_MainGetParameters(), and Clk_SetSource().
| func_ptr_t pfnHook |
Hook call for low power modes (called between SLEEPDEEP = 1 and WFI)
Definition at line 583 of file clk.h.
Referenced by Clk_SetMode().
| func_ptr_t pfnMcoStabCb |
Main Clock stabilization callback function pointer.
Definition at line 581 of file clk.h.
Referenced by Clk_SetIrq().
| func_ptr_t pfnPllStabCb |
PLL stabilization callback function pointer.
Definition at line 580 of file clk.h.
Referenced by Clk_SetIrq().
| uint8_t u8PllK |
PLL input clock frequency division ratio, PLLK.
Definition at line 573 of file clk.h.
Referenced by Clk_EnablePllClock(), and Clk_MainGetParameters().
| uint8_t u8PllM |
PLL VCO clock frequency division ratio, PLLM.
Definition at line 574 of file clk.h.
Referenced by Clk_EnablePllClock(), and Clk_MainGetParameters().
| uint8_t u8PllN |
PLL feedback frequency division ration, PLLN.
Definition at line 575 of file clk.h.
Referenced by Clk_EnablePllClock(), and Clk_MainGetParameters().