Power Manager Integration#
The Power Manager Integration component integrates RAIL with the Power Manager to enable efficient power management. This integration ensures that the RAIL and Power Manager work together in a synchronized mode, allowing the application to manage power consumption effectively. The component provides functions to initialize the power management integration, ensuring that the application can enter and exit low-power states as needed.
Key functions include:
- sl_rail_sdk_sleep_init(): Prepares the RAIL and Power Manager to work together in a synchronized mode. 
Functions#
Initializes RAIL and Power Manager to work together in SYNC mode.
Function Documentation#
sl_rail_sdk_sleep_init#
sl_rail_status_t sl_rail_sdk_sleep_init (void )
Initializes RAIL and Power Manager to work together in SYNC mode.
| Type | Direction | Argument Name | Description | 
|---|---|---|---|
| void | N/A | 
This function sets up the necessary configurations and prepares the RAIL SDK sleep module for operation. It should be called before using any other functions in the sleep module.
Returns
- sl_rail_status_t - SL_RAIL_STATUS_NO_ERROR if initialization was successful. 
- An appropriate error code otherwise.