rtc17 2.0.0.0
RTC 17 Registers Settings

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

Macros

#define RTC17_CONTROL1_ALARM_W_DISABLE   0x00
 RTC 17 Control 1 register settings.
 
#define RTC17_CONTROL1_ALARM_W_ENABLE   0x80
 
#define RTC17_CONTROL1_ALARM_D_DISABLE   0x00
 
#define RTC17_CONTROL1_ALARM_D_ENABLE   0x40
 
#define RTC17_CONTROL1_12HOUR_TIME   0x00
 
#define RTC17_CONTROL1_24HOUR_TIME   0x20
 
#define RTC17_CONTROL1_CLOCK1_ENABLE   0x00
 
#define RTC17_CONTROL1_CLOCK1_DISABLE   0x10
 
#define RTC17_CONTROL1_TEST_NORMAL   0x00
 
#define RTC17_CONTROL1_TEST_TEST   0x08
 
#define RTC17_CONTROL1_CT_OFF   0x00
 
#define RTC17_CONTROL1_CT_FIXED_L   0x01
 
#define RTC17_CONTROL1_CT_PULSE_2HZ   0x02
 
#define RTC17_CONTROL1_CT_PULSE_1HZ   0x03
 
#define RTC17_CONTROL1_CT_EVERY_SECOND   0x04
 
#define RTC17_CONTROL1_CT_EVERY_MINUTE   0x05
 
#define RTC17_CONTROL1_CT_EVERY_HOUR   0x06
 
#define RTC17_CONTROL1_CT_EVERY_MONTH   0x07
 
#define RTC17_CONTROL2_VDSL_2p1V   0x00
 RTC 17 Control 2 register settings.
 
#define RTC17_CONTROL2_VDSL_1p6V   0x80
 
#define RTC17_CONTROL2_VDET_ABOVE   0x00
 
#define RTC17_CONTROL2_VDET_BELOW   0x40
 
#define RTC17_CONTROL2_SCRATCH_BIT   0x20
 
#define RTC17_CONTROL2_XSTP_NORMAL   0x00
 
#define RTC17_CONTROL2_XSTP_HALT   0x10
 
#define RTC17_CONTROL2_CLOCK2_ENABLE   0x00
 
#define RTC17_CONTROL2_CLOCK2_DISABLE   0x08
 
#define RTC17_CONTROL2_CLEAR_INTERRUPT   0x04
 
#define RTC17_CONTROL2_CLEAR_ALARM_W   0x02
 
#define RTC17_CONTROL2_CLEAR_ALARM_D   0x01
 
#define RTC17_MONDAY   0x00
 RTC 17 day of week values.
 
#define RTC17_TUESDAY   0x01
 
#define RTC17_WEDNESDAY   0x02
 
#define RTC17_THURSDAY   0x03
 
#define RTC17_FRIDAY   0x04
 
#define RTC17_SATURDAY   0x05
 
#define RTC17_SUNDAY   0x06
 
#define RTC17_SET_DEVICE_ADDRESS   0x32
 RTC 17 device address setting.
 

Detailed Description

Settings for registers of RTC 17 Click driver.

Macro Definition Documentation

◆ RTC17_CONTROL1_12HOUR_TIME

#define RTC17_CONTROL1_12HOUR_TIME   0x00

◆ RTC17_CONTROL1_24HOUR_TIME

#define RTC17_CONTROL1_24HOUR_TIME   0x20

◆ RTC17_CONTROL1_ALARM_D_DISABLE

#define RTC17_CONTROL1_ALARM_D_DISABLE   0x00

◆ RTC17_CONTROL1_ALARM_D_ENABLE

#define RTC17_CONTROL1_ALARM_D_ENABLE   0x40

◆ RTC17_CONTROL1_ALARM_W_DISABLE

#define RTC17_CONTROL1_ALARM_W_DISABLE   0x00

RTC 17 Control 1 register settings.

Specified Control 1 register settings of RTC 17 Click driver.

◆ RTC17_CONTROL1_ALARM_W_ENABLE

#define RTC17_CONTROL1_ALARM_W_ENABLE   0x80

◆ RTC17_CONTROL1_CLOCK1_DISABLE

#define RTC17_CONTROL1_CLOCK1_DISABLE   0x10

◆ RTC17_CONTROL1_CLOCK1_ENABLE

#define RTC17_CONTROL1_CLOCK1_ENABLE   0x00

◆ RTC17_CONTROL1_CT_EVERY_HOUR

#define RTC17_CONTROL1_CT_EVERY_HOUR   0x06

◆ RTC17_CONTROL1_CT_EVERY_MINUTE

#define RTC17_CONTROL1_CT_EVERY_MINUTE   0x05

◆ RTC17_CONTROL1_CT_EVERY_MONTH

#define RTC17_CONTROL1_CT_EVERY_MONTH   0x07

◆ RTC17_CONTROL1_CT_EVERY_SECOND

#define RTC17_CONTROL1_CT_EVERY_SECOND   0x04

◆ RTC17_CONTROL1_CT_FIXED_L

#define RTC17_CONTROL1_CT_FIXED_L   0x01

◆ RTC17_CONTROL1_CT_OFF

#define RTC17_CONTROL1_CT_OFF   0x00

◆ RTC17_CONTROL1_CT_PULSE_1HZ

#define RTC17_CONTROL1_CT_PULSE_1HZ   0x03

◆ RTC17_CONTROL1_CT_PULSE_2HZ

#define RTC17_CONTROL1_CT_PULSE_2HZ   0x02

◆ RTC17_CONTROL1_TEST_NORMAL

#define RTC17_CONTROL1_TEST_NORMAL   0x00

◆ RTC17_CONTROL1_TEST_TEST

#define RTC17_CONTROL1_TEST_TEST   0x08

◆ RTC17_CONTROL2_CLEAR_ALARM_D

#define RTC17_CONTROL2_CLEAR_ALARM_D   0x01

◆ RTC17_CONTROL2_CLEAR_ALARM_W

#define RTC17_CONTROL2_CLEAR_ALARM_W   0x02

◆ RTC17_CONTROL2_CLEAR_INTERRUPT

#define RTC17_CONTROL2_CLEAR_INTERRUPT   0x04

◆ RTC17_CONTROL2_CLOCK2_DISABLE

#define RTC17_CONTROL2_CLOCK2_DISABLE   0x08

◆ RTC17_CONTROL2_CLOCK2_ENABLE

#define RTC17_CONTROL2_CLOCK2_ENABLE   0x00

◆ RTC17_CONTROL2_SCRATCH_BIT

#define RTC17_CONTROL2_SCRATCH_BIT   0x20

◆ RTC17_CONTROL2_VDET_ABOVE

#define RTC17_CONTROL2_VDET_ABOVE   0x00

◆ RTC17_CONTROL2_VDET_BELOW

#define RTC17_CONTROL2_VDET_BELOW   0x40

◆ RTC17_CONTROL2_VDSL_1p6V

#define RTC17_CONTROL2_VDSL_1p6V   0x80

◆ RTC17_CONTROL2_VDSL_2p1V

#define RTC17_CONTROL2_VDSL_2p1V   0x00

RTC 17 Control 2 register settings.

Specified Control 2 register settings of RTC 17 Click driver.

◆ RTC17_CONTROL2_XSTP_HALT

#define RTC17_CONTROL2_XSTP_HALT   0x10

◆ RTC17_CONTROL2_XSTP_NORMAL

#define RTC17_CONTROL2_XSTP_NORMAL   0x00

◆ RTC17_FRIDAY

#define RTC17_FRIDAY   0x04

◆ RTC17_MONDAY

#define RTC17_MONDAY   0x00

RTC 17 day of week values.

Specified day of week values of RTC 17 Click driver.

◆ RTC17_SATURDAY

#define RTC17_SATURDAY   0x05

◆ RTC17_SET_DEVICE_ADDRESS

#define RTC17_SET_DEVICE_ADDRESS   0x32

RTC 17 device address setting.

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

◆ RTC17_SUNDAY

#define RTC17_SUNDAY   0x06

◆ RTC17_THURSDAY

#define RTC17_THURSDAY   0x03

◆ RTC17_TUESDAY

#define RTC17_TUESDAY   0x01

◆ RTC17_WEDNESDAY

#define RTC17_WEDNESDAY   0x02