Wirepas SDK
ds.h File Reference

Go to the source code of this file.

Functions

void DS_Init (void)
 Initialize deep sleep control module. More...
 
void DS_Enable (uint32_t source)
 Enable deep sleep. More...
 
void DS_Disable (uint32_t source)
 Disable deep sleep. More...
 

Macros

#define DS_SOURCE_USART   0x00000001
 
#define DS_SOURCE_USART_POWER   0x00000002
 
#define DS_SOURCE_DEBUG   0x00000004
 
#define DS_SOURCE_INIT   0x00000008
 

Function Documentation

◆ DS_Disable()

void DS_Disable ( uint32_t  source)

Disable deep sleep.

◆ DS_Enable()

void DS_Enable ( uint32_t  source)

Enable deep sleep.

◆ DS_Init()

void DS_Init ( void  )

Initialize deep sleep control module.

Macro Definition Documentation

◆ DS_SOURCE_DEBUG

#define DS_SOURCE_DEBUG   0x00000004

Definition at line 28 of file ds.h.

◆ DS_SOURCE_INIT

#define DS_SOURCE_INIT   0x00000008

Definition at line 29 of file ds.h.

◆ DS_SOURCE_USART

#define DS_SOURCE_USART   0x00000001

Definition at line 26 of file ds.h.

◆ DS_SOURCE_USART_POWER

#define DS_SOURCE_USART_POWER   0x00000002

Definition at line 27 of file ds.h.