Hardware Abstraction Layer (HAL)
System Power Management

On CAT1 devices, the Pin based Hibernate wakeup sources (CYHAL_SYSPM_HIBERNATE_PINA_LOW, CYHAL_SYSPM_HIBERNATE_PINA_HIGH, CYHAL_SYSPM_HIBERNATE_PINB_LOW, and CYHAL_SYSPM_HIBERNATE_PINB_HIGH) are mapped to datsheet capabilities as follows:
PINA = hibernate_wakeup[0]
PINB = hibernate_wakeup[1].

The CAT1 (PSoCâ„¢ 6) Power Management has the following characteristics:
CYHAL_SYSPM_SYSTEM_NORMAL equates to the Low Power mode
CYHAL_SYSPM_SYSTEM_LOW equates to the Ultra Low Power mode

Switching the System into Ultra Low Power

Before switching into system Ultra Low Power mode, ensure that the device meets the requirements below:

Note
* - Numbers shown are approximate and real limit values may be different because they are device specific. You should refer to the device datasheet for exact values of maximum frequency and current in system ULP mode.

section_hal_impl_syspm_set_system

The callback mode CYHAL_SYSPM_AFTER_DS_WFI_TRANSITION is only applicable for CAT1B devices.

Setting the system state is unsupported on CAT1C devices. For CAT1C devices, CYHAL_SYSPM_RSLT_ERR_NOT_SUPPORTED will be returned in the function cyhal_syspm_set_system_state.