4.8 SLPCTRL - Sleep Controller
4.8.1 Introduction
The MCC Melody Sleep Controller (SLPCTRL) System driver generates APIs to support SLPCTRL-specific peripheral functionality on AVRxxxDx and ATtiny target MCUs.
The SLPCTRL controls and handles the transitions between Active and Sleep modes. Sleep modes are used to shut down peripherals and clock domains in the device in order to save power.
There are four modes available: One Active mode in which software is executed, and three sleep modes. The available sleep modes are Idle, Standby and Power-Down.
4.8.2 Supported Device Families
AVR® Dx | AVR® Ex | ATtiny | ATmega |
4.8.3 Required Header Files:
#include "mcc_generated_files/system.h"
4.8.4 File Documentation
4.8.4.1 source/system.c File Reference
This file contains the API implementation for the SLPCTRL driver.
#include "../system.h"
4.8.4.1.1 Functions
int8_t SLPCTRL_Initialize ()
Initializes the SLPCTRL module.
4.8.4.1.2 Detailed Description
This file contains the API implementation for the SLPCTRL driver.
System Driver Source File
4.8.4.1.3 Function Documentation
SLPCTRL_Initialize()
int8_t SLPCTRL_Initialize ( )
Initializes the SLPCTRL module.
|
None. |