Functions | |
__STATIC_INLINE void | Cy_SysPm_BackupSetSupply (cy_en_syspm_vddbackup_control_t vddBackControl) |
Sets the backup supply (Vddback) operation mode. More... | |
__STATIC_INLINE cy_en_syspm_vddbackup_control_t | Cy_SysPm_BackupGetSupply (void) |
Returns the current backup supply (Vddback) operation mode. More... | |
__STATIC_INLINE void | Cy_SysPm_BackupEnableVoltageMeasurement (void) |
This function enables Vbackup supply measurement by the ADC. More... | |
__STATIC_INLINE void | Cy_SysPm_BackupDisableVoltageMeasurement (void) |
The function disables Vbackup supply measurement by the ADC by disconnecting the Vbackup supply from AMuxBusA. More... | |
__STATIC_INLINE void | Cy_SysPm_BackupSuperCapCharge (cy_en_syspm_sc_charge_key_t key) |
Configures the supercapacitor charger circuit. More... | |
__STATIC_INLINE void Cy_SysPm_BackupSetSupply | ( | cy_en_syspm_vddbackup_control_t | vddBackControl | ) |
Sets the backup supply (Vddback) operation mode.
vddBackControl | Selects backup supply (Vddback) operation mode. See cy_en_syspm_vddbackup_control_t. |
Refer to device TRM for more detail about backup supply modes.
__STATIC_INLINE cy_en_syspm_vddbackup_control_t Cy_SysPm_BackupGetSupply | ( | void | ) |
Returns the current backup supply (Vddback) operation mode.
Refer to device TRM for more detail about backup supply modes.
__STATIC_INLINE void Cy_SysPm_BackupEnableVoltageMeasurement | ( | void | ) |
This function enables Vbackup supply measurement by the ADC.
The function connects the Vbackup supply to AMuxBusA. The ADC input can then be connected to AMuxBusA. Note that the measured signal is scaled by 10% to allow full range measurement by the ADC.
Refer to device TRM for more detail about Vbackup supply measurement.
__STATIC_INLINE void Cy_SysPm_BackupDisableVoltageMeasurement | ( | void | ) |
The function disables Vbackup supply measurement by the ADC by disconnecting the Vbackup supply from AMuxBusA.
Refer to device TRM for more detail about Vbackup supply measurement.
__STATIC_INLINE void Cy_SysPm_BackupSuperCapCharge | ( | cy_en_syspm_sc_charge_key_t | key | ) |
Configures the supercapacitor charger circuit.
key | Passes the key to enable or disable the supercapacitor charger circuit. See cy_en_syspm_sc_charge_key_t. |