 |
MAX32665 Peripheral Driver API
Peripheral Driver API for the MAX32665
|
48 #include "pwrseq_regs.h"
void MXC_LP_VDD4PowerUp(void)
Power Up VDD4.
void MXC_LP_ICache0LightSleepEnable(void)
Enable Icache 0 in light sleep.
void MXC_LP_SRCCLightSleepDisable(void)
Disable System Cache in light sleep.
void MXC_LP_DisableUSBWakeup(void)
Disables the USB from waking up the device.
#define MXC_F_GCR_PMR_XTALPB
Definition: gcr_regs.h:418
void MXC_LP_SysRam0LightSleepDisable(void)
Disable System Ram 0 in light sleep.
void MXC_LP_ICacheXIPLightSleepEnable(void)
Enable Icache XIP in light sleep.
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 multi...
void MXC_LP_ICacheXIPPowerUp(void)
Wakeup Internal Cache XIP.
void MXC_LP_EnterDeepSleepMode(void)
Places the device into DEEPSLEEP mode. This function returns once an RTC or external interrupt occur.
void MXC_LP_VDD2PowerDown(void)
Power Down VDD2.
void MXC_LP_SRCCShutdown(void)
Shutdown SRCC.
void MXC_LP_SIMOVregBPowerUp(void)
Power Up SIMOV regB.
#define MXC_F_GCR_PMR_HIRC96MPD
Definition: gcr_regs.h:412
void MXC_LP_CryptoShutdown(void)
Shutdown Crypto.
void MXC_LP_SysRam4PowerUp(void)
Wakeup System Ram 4.
void MXC_LP_SysRam3LightSleepEnable(void)
Puts System Ram 3 in light sleep.
void MXC_LP_ICacheXIPShutdown(void)
Shutdown Internal Cache XIP.
void MXC_LP_ICache0PowerUp(void)
Wakeup Internal Cache.
void MXC_LP_ICacheXIPLightSleepDisable(void)
Disable Icache XIP in light sleep.
void MXC_LP_BandgapOn(void)
Turn bandgap on.
void MXC_LP_FastWakeupEnable(void)
Enable Fast Wakeup.
void MXC_LP_SysRam2LightSleepEnable(void)
Puts System Ram 2 in light sleep.
void MXC_LP_EnterShutDownMode(void)
Places the device into Shutdown mode. CPU state is not maintained in this mode, so this function neve...
void MXC_LP_SysRam2Shutdown(void)
Shutdown System Ram 2.
void MXC_LP_SysRam0Shutdown(void)
Shutdown System Ram 0.
void MXC_LP_VDD5PowerDown(void)
Power Down VDD5.
void MXC_LP_ClearWakeStatus(void)
Clears the wakup status bits.
void MXC_LP_ROM1Shutdown(void)
Shutdown ROM 1.
#define MXC_S_PWRSEQ_LPCN_RAMRET_EN3
Definition: pwrseq_regs.h:139
int MXC_LP_FastWakeupIsEnabled(void)
Is Fast wake up is Enabled.
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....
void MXC_LP_ROM0PowerUp(void)
Wakeup ROM.
void MXC_LP_ROM0LightSleepEnable(void)
Enable ROM 0 in light sleep.
#define MXC_F_GCR_PMR_HIRC8MPD
Definition: gcr_regs.h:415
#define MXC_S_PWRSEQ_LPCN_RAMRET_DIS
Definition: pwrseq_regs.h:133
void MXC_LP_ICache1LightSleepEnable(void)
Enable Icache 0 in light sleep.
void MXC_LP_CryptoPowerUp(void)
Wakeup Crypto.
#define MXC_F_GCR_PMR_HIRCPD
Definition: gcr_regs.h:409
void MXC_LP_SysRam1Shutdown(void)
Shutdown System Ram 1.
mxc_lp_ovr_t
Enumeration type for voltage selection.
Definition: lp.h:74
void MXC_LP_CryptoLightSleepEnable(void)
Enable Crypto in light sleep.
void MXC_LP_EnterSleepMode(void)
Places the device into SLEEP mode. This function returns once any interrupt occurs.
void MXC_LP_ROM0Shutdown(void)
Shutdown ROM.
void MXC_LP_VDD5PowerUp(void)
Power Up VDD5.
mxc_lp_cfg_ds_pd_t
Enumeration type for PM Mode.
Definition: lp.h:84
void MXC_LP_EnableRTCAlarmWakeup(void)
Enables the RTC alarm to wake up the device from any low power mode.
void MXC_LP_EnterBackgroundMode(void)
Places the device into BACKGROUND mode. This function returns once an RTC or external interrupt occur...
void MXC_LP_SIMOVregDPowerUp(void)
Power Up SIMOV regD.
void MXC_LP_ICache0Shutdown(void)
Shutdown Internal Cache.
void MXC_LP_SysRam1LightSleepDisable(void)
Disable System Ram 1 in light sleep.
#define MXC_S_PWRSEQ_LPCN_RAMRET_EN1
Definition: pwrseq_regs.h:135
void MXC_LP_ICache1LightSleepDisable(void)
Disable Icache 1 in light sleep.
void MXC_LP_USBFIFOShutdown(void)
Shutdown USB FIFO.
void MXC_LP_SysRam4LightSleepEnable(void)
Puts System Ram 4 in light sleep.
void MXC_LP_SysRam1PowerUp(void)
Wakeup System Ram 1.
void MXC_LP_SysRam2LightSleepDisable(void)
Disable System Ram 2 in light sleep.
void MXC_LP_ICache1PowerUp(void)
Wakeup Internal Cache 1.
void MXC_LP_SysRam5LightSleepDisable(void)
Disable System Ram 5 in light sleep.
void MXC_LP_SysRam2PowerUp(void)
Wakeup System Ram 2.
void MXC_LP_SRCCLightSleepEnable(void)
Enable System Cache in light sleep.
int MXC_LP_BandgapIsOn(void)
Is the bandgap on or off.
void MXC_LP_SetOVR(mxc_lp_ovr_t ovr)
Set ovr bits to set the voltage the micro will run at.
void MXC_LP_SysRam5PowerUp(void)
Wakeup System Ram 5.
void MXC_LP_SysRam3LightSleepDisable(void)
Disable System Ram 3 in light sleep.
void MXC_LP_ROM1LightSleepDisable(void)
Disable ROM 1 in light sleep.
void MXC_LP_SIMOVregDPowerDown(void)
Power Down SIMOV regD.
void MXC_LP_SysRam1LightSleepEnable(void)
Puts System Ram 1 in light sleep.
void MXC_LP_ROM1LightSleepEnable(void)
Enable ROM 0 in light sleep.
void MXC_LP_DisableRTCAlarmWakeup(void)
Disables the RTC alarm from waking up the device.
void MXC_LP_USBFIFOLightSleepEnable(void)
Enable USB in light sleep.
void MXC_LP_SysRam0PowerUp(void)
Wakeup System Ram 0.
void MXC_LP_VDD3PowerUp(void)
Power Up VDD3.
void MXC_LP_DisableWUTAlarmWakeup(void)
Disables the WUT alarm from waking up the device.
void MXC_LP_SRCCPowerUp(void)
PowerUp SRCC.
Structure type for configuring a GPIO port.
Definition: gpio.h:154
void MXC_LP_SIMOVregBPowerDown(void)
Power Down SIMOV regB.
void MXC_LP_BandgapOff(void)
Turn bandgap off.
void MXC_LP_SetRAMRetention(mxc_ram_retained_t ramRetained)
Enables the selected amount of RAM retention in backup mode Using any RAM retention removes the abili...
void MXC_LP_FastWakeupDisable(void)
Disable Fast Wakeup.
void MXC_LP_USBFIFOPowerUp(void)
Wakeup USB FIFO.
void MXC_LP_USBSWLPDisable(void)
Disable USB Software Low Power.
void MXC_LP_SysRam0LightSleepEnable(void)
Puts System Ram 0 in light sleep.
void MXC_LP_EnableUSBWakeup(void)
Enables the USB to wake up the device from any low power mode.
void MXC_LP_VDD4PowerDown(void)
Power Down VDD4.
void MXC_LP_VDD3PowerDown(void)
Power Down VDD3.
void MXC_LP_USBSWLPEnable(void)
Enable USB Software Low Power.
void MXC_LP_ICache0LightSleepDisable(void)
Disable Icache 0 in light sleep.
void MXC_LP_USBFIFOLightSleepDisable(void)
Disable USB in light sleep.
void MXC_LP_VDD2PowerUp(void)
Power up VDD2.
void MXC_LP_CryptoLightSleepDisable(void)
Disable Crypto in light sleep.
void MXC_LP_SysRam5Shutdown(void)
Shutdown System Ram 5.
void MXC_LP_EnterBackupMode(void *func(void))
Places the device into BACKUP mode. CPU state is not maintained in this mode, so this function never ...
void MXC_LP_ROM1PowerUp(void)
Wakeup ROM 1.
void MXC_LP_SysRam3PowerUp(void)
Wakeup System Ram 3.
void MXC_LP_SysRam5LightSleepEnable(void)
Puts System Ram 5 in light sleep.
#define MXC_S_PWRSEQ_LPCN_RAMRET_EN2
Definition: pwrseq_regs.h:137
int MXC_LP_ConfigDeepSleepClocks(uint32_t mask)
Configure which clocks are powered down at deep sleep and which are not affected.
void MXC_LP_SysRam3Shutdown(void)
Shutdown System Ram 3.
void MXC_LP_ICache1Shutdown(void)
Shutdown Internal Cache 1.
void MXC_LP_SysRam4LightSleepDisable(void)
Disable System Ram 4 in light sleep.
void MXC_LP_SysRam4Shutdown(void)
Shutdown System Ram 4.
void MXC_LP_ROM0LightSleepDisable(void)
Disable ROM 0 in light sleep.
void MXC_LP_EnableWUTAlarmWakeup(void)
Enables the WUT alarm to wake up the device from any low power mode.