| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Time and Data Definitions
BLUENRG1 Peripheral Driver » RTC Peripheral » Exported Constants

## Macros

#define | RTC_Month_January ((uint8_t)0x01)
#define | RTC_Month_February ((uint8_t)0x02)
#define | RTC_Month_March ((uint8_t)0x03)
#define | RTC_Month_April ((uint8_t)0x04)
#define | RTC_Month_May ((uint8_t)0x05)
#define | RTC_Month_June ((uint8_t)0x06)
#define | RTC_Month_July ((uint8_t)0x07)
#define | RTC_Month_August ((uint8_t)0x08)
#define | RTC_Month_September ((uint8_t)0x09)
#define | RTC_Month_October ((uint8_t)0x10)
#define | RTC_Month_November ((uint8_t)0x11)
#define | RTC_Month_December ((uint8_t)0x12)
#define | RTC_Weekday_Monday ((uint8_t)0x01)
#define | RTC_Weekday_Tuesday ((uint8_t)0x02)
#define | RTC_Weekday_Wednesday ((uint8_t)0x03)
#define | RTC_Weekday_Thursday ((uint8_t)0x04)
#define | RTC_Weekday_Friday ((uint8_t)0x05)
#define | RTC_Weekday_Saturday ((uint8_t)0x06)
#define | RTC_Weekday_Sunday ((uint8_t)0x07)
#define | IS_SECOND(N) ((N) < 60)
#define | IS_MINUTE(N) ((N) < 60)
#define | IS_HOUR(N) ((N) < 24)
#define | IS_WEEKDAY(N) (((N) > 0) && ((N) < 8))
#define | IS_MONTHDAY(N) (((N) > 0) && ((N) < 32))
#define | IS_MONTH(N) (((N) > 0) && ((N) < 13))
#define | IS_YEAR(N) (((N) > 0) && ((N) < 4000))
#define | IS_MATCH_WEEKDAY(N) ((N) < 8)
#define | IS_MATCH_MONTHDAY(N) ((N) < 32)
#define | IS_MATCH_MONTH(N) ((N) < 13)
#define | IS_MATCH_YEAR(N) ((N) < 4000)

## Detailed Description

## Macro Definition Documentation

#define IS_HOUR | ( |  | N | ) | ((N) < 24)

Definition at line 141 of file BlueNRG1_rtc.h.

#define IS_MATCH_MONTH | ( |  | N | ) | ((N) < 13)

Definition at line 149 of file BlueNRG1_rtc.h.

#define IS_MATCH_MONTHDAY | ( |  | N | ) | ((N) < 32)

Definition at line 148 of file BlueNRG1_rtc.h.

#define IS_MATCH_WEEKDAY | ( |  | N | ) | ((N) < 8)

Definition at line 147 of file BlueNRG1_rtc.h.

#define IS_MATCH_YEAR | ( |  | N | ) | ((N) < 4000)

Definition at line 150 of file BlueNRG1_rtc.h.

#define IS_MINUTE | ( |  | N | ) | ((N) < 60)

Definition at line 140 of file BlueNRG1_rtc.h.

#define IS_MONTH | ( |  | N | ) | (((N) > 0) && ((N) < 13))

Definition at line 144 of file BlueNRG1_rtc.h.

#define IS_MONTHDAY | ( |  | N | ) | (((N) > 0) && ((N) < 32))

Definition at line 143 of file BlueNRG1_rtc.h.

#define IS_SECOND | ( |  | N | ) | ((N) < 60)

Definition at line 139 of file BlueNRG1_rtc.h.

#define IS_WEEKDAY | ( |  | N | ) | (((N) > 0) && ((N) < 8))

Definition at line 142 of file BlueNRG1_rtc.h.

#define IS_YEAR | ( |  | N | ) | (((N) > 0) && ((N) < 4000))

Definition at line 145 of file BlueNRG1_rtc.h.

#define RTC_Month_April ((uint8_t)0x04)

Definition at line 121 of file BlueNRG1_rtc.h.

#define RTC_Month_August ((uint8_t)0x08)

Definition at line 125 of file BlueNRG1_rtc.h.

#define RTC_Month_December ((uint8_t)0x12)

Definition at line 129 of file BlueNRG1_rtc.h.

#define RTC_Month_February ((uint8_t)0x02)

Definition at line 119 of file BlueNRG1_rtc.h.

#define RTC_Month_January ((uint8_t)0x01)

Definition at line 118 of file BlueNRG1_rtc.h.

#define RTC_Month_July ((uint8_t)0x07)

Definition at line 124 of file BlueNRG1_rtc.h.

#define RTC_Month_June ((uint8_t)0x06)

Definition at line 123 of file BlueNRG1_rtc.h.

#define RTC_Month_March ((uint8_t)0x03)

Definition at line 120 of file BlueNRG1_rtc.h.

#define RTC_Month_May ((uint8_t)0x05)

Definition at line 122 of file BlueNRG1_rtc.h.

#define RTC_Month_November ((uint8_t)0x11)

Definition at line 128 of file BlueNRG1_rtc.h.

#define RTC_Month_October ((uint8_t)0x10)

Definition at line 127 of file BlueNRG1_rtc.h.

#define RTC_Month_September ((uint8_t)0x09)

Definition at line 126 of file BlueNRG1_rtc.h.

#define RTC_Weekday_Friday ((uint8_t)0x05)

Definition at line 135 of file BlueNRG1_rtc.h.

#define RTC_Weekday_Monday ((uint8_t)0x01)

Definition at line 131 of file BlueNRG1_rtc.h.

#define RTC_Weekday_Saturday ((uint8_t)0x06)

Definition at line 136 of file BlueNRG1_rtc.h.

#define RTC_Weekday_Sunday ((uint8_t)0x07)

Definition at line 137 of file BlueNRG1_rtc.h.

#define RTC_Weekday_Thursday ((uint8_t)0x04)

Definition at line 134 of file BlueNRG1_rtc.h.

#define RTC_Weekday_Tuesday ((uint8_t)0x02)

Definition at line 132 of file BlueNRG1_rtc.h.

#define RTC_Weekday_Wednesday ((uint8_t)0x03)

Definition at line 133 of file BlueNRG1_rtc.h.