![]() |
MAX32665 Peripheral Driver API
Peripheral Driver API for the MAX32665
|
Modules | |
PWRSEQ_Registers | |
Enumerations | |
enum | mxc_lp_ovr_t |
enum | mxc_lp_cfg_ds_pd_t |
int MXC_LP_BandgapIsOn | ( | void | ) |
Is the bandgap on or off.
int MXC_LP_ConfigDeepSleepClocks | ( | uint32_t | mask | ) |
Configure which clocks are powered down at deep sleep and which are not affected.
[in] | mask | The mask of the clocks to power down when part goes into deepsleep |
void MXC_LP_DisableGPIOWakeup | ( | mxc_gpio_cfg_t * | wu_pins | ) |
Disables the selected GPIO port and its selected pins as a wake up source.
Call this function multiple times to disable pins on multiple ports.
wu_pins | The port and pins to disable as wakeup sources. Only the gpio and mask fields of the structure are used. The func and pad fields are ignored. |
void MXC_LP_EnableGPIOWakeup | ( | mxc_gpio_cfg_t * | wu_pins | ) |
Enables the selected GPIO port and its selected pins to wake up the device from any low power mode.
Call this function multiple times to enable pins on multiple ports. This function does not configure the GPIO pins nor does it setup their interrupt functionality.
wu_pins | The port and pins to configure as wakeup sources. Only the gpio and mask fields of the structure are used. The func and pad fields are ignored. |
void MXC_LP_EnterBackupMode | ( | void * | funcvoid | ) |
Places the device into BACKUP mode. CPU state is not maintained in this mode, so this function never returns.
Instead, the device will restart once an RTC or external interrupt occur.
func | Function that backup mode returns to, if null, the part will return to Reset_Handler |
int MXC_LP_FastWakeupIsEnabled | ( | void | ) |
Is Fast wake up is Enabled.
void MXC_LP_SetOVR | ( | mxc_lp_ovr_t | ovr | ) |
Set ovr bits to set the voltage the micro will run at.
[in] | ovr | The ovr options are only 0.9V, 1.0V, and 1.1V use enum mxc_lp_ovr_t |