rtc16 2.0.0.0
RTC 16 Registers Settings

Settings for registers of RTC 16 Click driver. More...

Macros

#define RTC16_CONTROL1_ALARM_A_DISABLE   0x00
 RTC 16 Control 1 register settings.
 
#define RTC16_CONTROL1_ALARM_A_ENABLE   0x80
 
#define RTC16_CONTROL1_ALARM_B_DISABLE   0x00
 
#define RTC16_CONTROL1_ALARM_B_ENABLE   0x40
 
#define RTC16_CONTROL1_TEST_NORMAL   0x00
 
#define RTC16_CONTROL1_TEST_TEST   0x10
 
#define RTC16_CONTROL1_CT_OFF   0x00
 
#define RTC16_CONTROL1_CT_FIXED_L   0x01
 
#define RTC16_CONTROL1_CT_PULSE_2HZ   0x02
 
#define RTC16_CONTROL1_CT_PULSE_1HZ   0x03
 
#define RTC16_CONTROL1_CT_EVERY_SECOND   0x04
 
#define RTC16_CONTROL1_CT_EVERY_MINUTE   0x05
 
#define RTC16_CONTROL1_CT_EVERY_HOUR   0x06
 
#define RTC16_CONTROL1_CT_EVERY_MONTH   0x07
 
#define RTC16_CONTROL2_12HOUR_TIME   0x00
 RTC 16 Control 2 register settings.
 
#define RTC16_CONTROL2_24HOUR_TIME   0x20
 
#define RTC16_CONTROL2_ADJ_BIT   0x10
 
#define RTC16_CONTROL2_CLOCK_ENABLE   0x00
 
#define RTC16_CONTROL2_CLOCK_DISABLE   0x08
 
#define RTC16_CONTROL2_CLEAR_INTERRUPT   0x04
 
#define RTC16_CONTROL2_CLEAR_ALARM_A   0x02
 
#define RTC16_CONTROL2_CLEAR_ALARM_B   0x01
 
#define RTC16_MONDAY   0x00
 RTC 16 day of week values.
 
#define RTC16_TUESDAY   0x01
 
#define RTC16_WEDNESDAY   0x02
 
#define RTC16_THURSDAY   0x03
 
#define RTC16_FRIDAY   0x04
 
#define RTC16_SATURDAY   0x05
 
#define RTC16_SUNDAY   0x06
 
#define RTC16_FAST_READ_BIT   0x04
 RTC 16 fast read bit value.
 
#define RTC16_DEVICE_ADDRESS   0x32
 RTC 16 device address setting.
 

Detailed Description

Settings for registers of RTC 16 Click driver.

Macro Definition Documentation

◆ RTC16_CONTROL1_ALARM_A_DISABLE

#define RTC16_CONTROL1_ALARM_A_DISABLE   0x00

RTC 16 Control 1 register settings.

Specified Control 1 register settings of RTC 16 Click driver.

◆ RTC16_CONTROL1_ALARM_A_ENABLE

#define RTC16_CONTROL1_ALARM_A_ENABLE   0x80

◆ RTC16_CONTROL1_ALARM_B_DISABLE

#define RTC16_CONTROL1_ALARM_B_DISABLE   0x00

◆ RTC16_CONTROL1_ALARM_B_ENABLE

#define RTC16_CONTROL1_ALARM_B_ENABLE   0x40

◆ RTC16_CONTROL1_CT_EVERY_HOUR

#define RTC16_CONTROL1_CT_EVERY_HOUR   0x06

◆ RTC16_CONTROL1_CT_EVERY_MINUTE

#define RTC16_CONTROL1_CT_EVERY_MINUTE   0x05

◆ RTC16_CONTROL1_CT_EVERY_MONTH

#define RTC16_CONTROL1_CT_EVERY_MONTH   0x07

◆ RTC16_CONTROL1_CT_EVERY_SECOND

#define RTC16_CONTROL1_CT_EVERY_SECOND   0x04

◆ RTC16_CONTROL1_CT_FIXED_L

#define RTC16_CONTROL1_CT_FIXED_L   0x01

◆ RTC16_CONTROL1_CT_OFF

#define RTC16_CONTROL1_CT_OFF   0x00

◆ RTC16_CONTROL1_CT_PULSE_1HZ

#define RTC16_CONTROL1_CT_PULSE_1HZ   0x03

◆ RTC16_CONTROL1_CT_PULSE_2HZ

#define RTC16_CONTROL1_CT_PULSE_2HZ   0x02

◆ RTC16_CONTROL1_TEST_NORMAL

#define RTC16_CONTROL1_TEST_NORMAL   0x00

◆ RTC16_CONTROL1_TEST_TEST

#define RTC16_CONTROL1_TEST_TEST   0x10

◆ RTC16_CONTROL2_12HOUR_TIME

#define RTC16_CONTROL2_12HOUR_TIME   0x00

RTC 16 Control 2 register settings.

Specified Control 2 register settings of RTC 16 Click driver.

◆ RTC16_CONTROL2_24HOUR_TIME

#define RTC16_CONTROL2_24HOUR_TIME   0x20

◆ RTC16_CONTROL2_ADJ_BIT

#define RTC16_CONTROL2_ADJ_BIT   0x10

◆ RTC16_CONTROL2_CLEAR_ALARM_A

#define RTC16_CONTROL2_CLEAR_ALARM_A   0x02

◆ RTC16_CONTROL2_CLEAR_ALARM_B

#define RTC16_CONTROL2_CLEAR_ALARM_B   0x01

◆ RTC16_CONTROL2_CLEAR_INTERRUPT

#define RTC16_CONTROL2_CLEAR_INTERRUPT   0x04

◆ RTC16_CONTROL2_CLOCK_DISABLE

#define RTC16_CONTROL2_CLOCK_DISABLE   0x08

◆ RTC16_CONTROL2_CLOCK_ENABLE

#define RTC16_CONTROL2_CLOCK_ENABLE   0x00

◆ RTC16_DEVICE_ADDRESS

#define RTC16_DEVICE_ADDRESS   0x32

RTC 16 device address setting.

Specified setting for device slave address selection of RTC 16 Click driver.

◆ RTC16_FAST_READ_BIT

#define RTC16_FAST_READ_BIT   0x04

RTC 16 fast read bit value.

Specified fast read bit value of RTC 16 Click driver.

◆ RTC16_FRIDAY

#define RTC16_FRIDAY   0x04

◆ RTC16_MONDAY

#define RTC16_MONDAY   0x00

RTC 16 day of week values.

Specified day of week values of RTC 16 Click driver.

◆ RTC16_SATURDAY

#define RTC16_SATURDAY   0x05

◆ RTC16_SUNDAY

#define RTC16_SUNDAY   0x06

◆ RTC16_THURSDAY

#define RTC16_THURSDAY   0x03

◆ RTC16_TUESDAY

#define RTC16_TUESDAY   0x01

◆ RTC16_WEDNESDAY

#define RTC16_WEDNESDAY   0x02