uc-sdk
|
Functions | |
void | CLKPWR_SetPCLKDiv (uint32_t ClkType, uint32_t DivVal) |
Set value of each Peripheral Clock Selection. More... | |
uint32_t | CLKPWR_GetPCLKSEL (uint32_t ClkType) |
Get current value of each Peripheral Clock Selection. More... | |
uint32_t | CLKPWR_GetPCLK (uint32_t ClkType) |
Get current value of each Peripheral Clock. More... | |
void | CLKPWR_ConfigPPWR (uint32_t PPType, FunctionalState NewState) |
Configure power supply for each peripheral according to NewState. More... | |
void | CLKPWR_Sleep (void) |
Enter Sleep mode with co-operated instruction by the Cortex-M3. More... | |
void | CLKPWR_DeepSleep (void) |
Enter Deep Sleep mode with co-operated instruction by the Cortex-M3. More... | |
void | CLKPWR_PowerDown (void) |
Enter Power Down mode with co-operated instruction by the Cortex-M3. More... | |
void | CLKPWR_DeepPowerDown (void) |
Enter Deep Power Down mode with co-operated instruction by the Cortex-M3. More... | |
void CLKPWR_ConfigPPWR | ( | uint32_t | PPType, |
FunctionalState | NewState | ||
) |
Configure power supply for each peripheral according to NewState.
[in] | PPType | Type of peripheral used to enable power, should be one of the following:
|
[in] | NewState | New state of Peripheral Power, should be:
|
Definition at line 260 of file lpc17xx_clkpwr.c.
void CLKPWR_DeepPowerDown | ( | void | ) |
Enter Deep Power Down mode with co-operated instruction by the Cortex-M3.
[in] | None |
Definition at line 321 of file lpc17xx_clkpwr.c.
void CLKPWR_DeepSleep | ( | void | ) |
Enter Deep Sleep mode with co-operated instruction by the Cortex-M3.
[in] | None |
Definition at line 291 of file lpc17xx_clkpwr.c.
uint32_t CLKPWR_GetPCLK | ( | uint32_t | ClkType) |
Get current value of each Peripheral Clock.
[in] | ClkType | Peripheral Clock Selection of each type, should be one of the following:
|
Definition at line 190 of file lpc17xx_clkpwr.c.
uint32_t CLKPWR_GetPCLKSEL | ( | uint32_t | ClkType) |
Get current value of each Peripheral Clock Selection.
[in] | ClkType | Peripheral Clock Selection of each type, should be one of the following:
|
Definition at line 135 of file lpc17xx_clkpwr.c.
void CLKPWR_PowerDown | ( | void | ) |
Enter Power Down mode with co-operated instruction by the Cortex-M3.
[in] | None |
Definition at line 306 of file lpc17xx_clkpwr.c.
void CLKPWR_SetPCLKDiv | ( | uint32_t | ClkType, |
uint32_t | DivVal | ||
) |
Set value of each Peripheral Clock Selection.
[in] | ClkType | Peripheral Clock Selection of each type, should be one of the following:
|
[in] | DivVal | Value of divider, should be:
|
Definition at line 74 of file lpc17xx_clkpwr.c.
void CLKPWR_Sleep | ( | void | ) |
Enter Sleep mode with co-operated instruction by the Cortex-M3.
[in] | None |
Definition at line 278 of file lpc17xx_clkpwr.c.