Microchip® Advanced Software Framework

system_low_power.h File Reference

System low power header file.

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

#include <stdint.h>
#include <stdbool.h>

Typedefs

typedef void(* exitFromSleepCb_t )(void)
 

Enumerations

enum  SysSleepState_t {
  SLEEP_OFF = 0,
  SLEEP_TRANSITION_TO_OFF,
  SLEEP_ON
}
 

Functions

void EUSART1WakeUp (void)
 
void SysExitFromSleep (void)
 
SysSleepState_t SysGetGoToSleepState (void)
 
void SysGoToSleep (void)
 
void SysSetGoToSleepState (SysSleepState_t sleepState)
 
void SysSleepInit (exitFromSleepCb_t exitFromSleepCb)
 
void SysSleepStart (uint32_t ms)
 

typedef void(* exitFromSleepCb_t)(void)

Enumerator
SLEEP_OFF 
SLEEP_TRANSITION_TO_OFF 
SLEEP_ON 

void EUSART1WakeUp ( void  )
void SysExitFromSleep ( void  )
SysSleepState_t SysGetGoToSleepState ( void  )

References goToSleep.

void SysGoToSleep ( void  )
void SysSetGoToSleepState ( SysSleepState_t  sleepState)

References exitFromSleep, goToSleep, and SLEEP_OFF.

Referenced by EUSART1WakeUp(), and OnSleepTimerEvent().

void SysSleepInit ( exitFromSleepCb_t  exitFromSleepCb)
void SysSleepStart ( uint32_t  ms)