Wirepas SDK
ds.h
Go to the documentation of this file.
1/* Copyright 2017 Wirepas Ltd. All Rights Reserved.
2 *
3 * See file LICENSE.txt for full license details.
4 *
5 */
6
7#ifndef SOURCE_WAPS_APP_DRIVERS_DS_H_
8#define SOURCE_WAPS_APP_DRIVERS_DS_H_
9
13void DS_Init(void);
14
18void DS_Enable(uint32_t source);
19
23void DS_Disable(uint32_t source);
24
25// Bitmasks for deep sleep disable bits
26#define DS_SOURCE_USART 0x00000001
27#define DS_SOURCE_DEBUG 0x00000002
28#define DS_SOURCE_INIT 0x00000004
29
30#endif /* SOURCE_WAPS_APP_DRIVERS_DS_H_ */
void DS_Enable(uint32_t source)
Enable deep sleep.
void DS_Init(void)
Initialize deep sleep control module.
void DS_Disable(uint32_t source)
Disable deep sleep.