Microchip® Advanced Software Framework

sleep.c File Reference

This is the implementation for hardware sleep.

Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.

#include <system.h>
#include "sleep.h"

Functions

void HAL_Sleep (HAL_SleepMode_t mode)
 Puts the system in given sleep mode. More...
 

void HAL_Sleep ( HAL_SleepMode_t  mode)

Puts the system in given sleep mode.

Parameters
[in]mode- sleep mode

References system_set_sleepmode(), system_sleep(), SYSTEM_SLEEPMODE_BACKUP, and SYSTEM_SLEEPMODE_STANDBY.

Referenced by PMM_Sleep().