| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
IO sources for wakeup
BLUENRG1 Peripheral Driver » System Control » Exported Constants

## Macros

#define | WAKEUP_ON_IO9 ((uint8_t)0x01) /* Wakeup source is IO9 */
#define | WAKEUP_ON_IO10 ((uint8_t)0x02) /* Wakeup source is IO10 */
#define | WAKEUP_ON_IO11 ((uint8_t)0x04) /* Wakeup source is IO11 */
#define | WAKEUP_ON_IO12 ((uint8_t)0x08) /* Wakeup source is IO12 */
#define | WAKEUP_ON_IO13 ((uint8_t)0x10) /* Wakeup source is IO13 */
#define | WAKEUP_ON_HIGH_STATE ((uint8_t)0) /* Wakeup on high state */
#define | WAKEUP_ON_LOW_STATE ((uint8_t)1) /* Wakeup on low state */
#define | IS_WAKEUP_ON_IO(IOS) ((IOS & 0x1F) != 0)
#define | IS_WAKEUP_ON_STATE(STATE) ( ((STATE) == WAKEUP_ON_HIGH_STATE) || ((STATE) == WAKEUP_ON_LOW_STATE) )

## Detailed Description

## Macro Definition Documentation

#define IS_WAKEUP_ON_IO | ( |  | IOS | ) | ((IOS & 0x1F) != 0)

Definition at line 114 of file BlueNRG1_sysCtrl.h.

#define IS_WAKEUP_ON_STATE | ( |  | STATE | ) | ( ((STATE) == WAKEUP_ON_HIGH_STATE) || ((STATE) == WAKEUP_ON_LOW_STATE) )

Definition at line 116 of file BlueNRG1_sysCtrl.h.

#define WAKEUP_ON_HIGH_STATE ((uint8_t)0) /* Wakeup on high state */

Definition at line 111 of file BlueNRG1_sysCtrl.h.

#define WAKEUP_ON_IO10 ((uint8_t)0x02) /* Wakeup source is IO10 */

Definition at line 106 of file BlueNRG1_sysCtrl.h.

#define WAKEUP_ON_IO11 ((uint8_t)0x04) /* Wakeup source is IO11 */

Definition at line 107 of file BlueNRG1_sysCtrl.h.

#define WAKEUP_ON_IO12 ((uint8_t)0x08) /* Wakeup source is IO12 */

Definition at line 108 of file BlueNRG1_sysCtrl.h.

#define WAKEUP_ON_IO13 ((uint8_t)0x10) /* Wakeup source is IO13 */

Definition at line 109 of file BlueNRG1_sysCtrl.h.

#define WAKEUP_ON_IO9 ((uint8_t)0x01) /* Wakeup source is IO9 */

Definition at line 105 of file BlueNRG1_sysCtrl.h.

#define WAKEUP_ON_LOW_STATE ((uint8_t)1) /* Wakeup on low state */

Definition at line 112 of file BlueNRG1_sysCtrl.h.