rtc24 2.2.0
Loading...
Searching...
No Matches
RTC 24 Registers Settings

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

Macros

#define RTC24_CONTROL_OUT_LOW   0x00
 RTC 24 CONTROL register setting.
#define RTC24_CONTROL_OUT_HIGH   0x80
#define RTC24_CONTROL_OUT_MASK   0x80
#define RTC24_CONTROL_SQWE_DIS   0x00
#define RTC24_CONTROL_SQWE_EN   0x10
#define RTC24_CONTROL_SQWE_MASK   0x10
#define RTC24_CONTROL_RS_1HZ   0x00
#define RTC24_CONTROL_RS_4_096KHZ   0x01
#define RTC24_CONTROL_RS_8_192KHZ   0x02
#define RTC24_CONTROL_RS_32_768KHZ   0x03
#define RTC24_CONTROL_RS_MASK   0x03
#define RTC24_MONDAY   0x00
 RTC 24 day of week values.
#define RTC24_TUESDAY   0x01
#define RTC24_WEDNESDAY   0x02
#define RTC24_THURSDAY   0x03
#define RTC24_FRIDAY   0x04
#define RTC24_SATURDAY   0x05
#define RTC24_SUNDAY   0x06
#define RTC24_DUMMY_RAM   0xA5
 RTC 24 dummy RAM data for communication check.
#define RTC24_DEVICE_ADDRESS   0x68
 RTC 24 device address setting.

Detailed Description

Settings for registers of RTC 24 Click driver.

Macro Definition Documentation

◆ RTC24_CONTROL_OUT_HIGH

#define RTC24_CONTROL_OUT_HIGH   0x80

◆ RTC24_CONTROL_OUT_LOW

#define RTC24_CONTROL_OUT_LOW   0x00

RTC 24 CONTROL register setting.

Specified setting for CONTROL register of RTC 24 Click driver.

◆ RTC24_CONTROL_OUT_MASK

#define RTC24_CONTROL_OUT_MASK   0x80

◆ RTC24_CONTROL_RS_1HZ

#define RTC24_CONTROL_RS_1HZ   0x00

◆ RTC24_CONTROL_RS_32_768KHZ

#define RTC24_CONTROL_RS_32_768KHZ   0x03

◆ RTC24_CONTROL_RS_4_096KHZ

#define RTC24_CONTROL_RS_4_096KHZ   0x01

◆ RTC24_CONTROL_RS_8_192KHZ

#define RTC24_CONTROL_RS_8_192KHZ   0x02

◆ RTC24_CONTROL_RS_MASK

#define RTC24_CONTROL_RS_MASK   0x03

◆ RTC24_CONTROL_SQWE_DIS

#define RTC24_CONTROL_SQWE_DIS   0x00

◆ RTC24_CONTROL_SQWE_EN

#define RTC24_CONTROL_SQWE_EN   0x10

◆ RTC24_CONTROL_SQWE_MASK

#define RTC24_CONTROL_SQWE_MASK   0x10

◆ RTC24_DEVICE_ADDRESS

#define RTC24_DEVICE_ADDRESS   0x68

RTC 24 device address setting.

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

◆ RTC24_DUMMY_RAM

#define RTC24_DUMMY_RAM   0xA5

RTC 24 dummy RAM data for communication check.

Specified dummy RAM data for communication check of RTC 24 Click driver.

◆ RTC24_FRIDAY

#define RTC24_FRIDAY   0x04

◆ RTC24_MONDAY

#define RTC24_MONDAY   0x00

RTC 24 day of week values.

Specified day of week values of RTC 24 Click driver.

◆ RTC24_SATURDAY

#define RTC24_SATURDAY   0x05

◆ RTC24_SUNDAY

#define RTC24_SUNDAY   0x06

◆ RTC24_THURSDAY

#define RTC24_THURSDAY   0x03

◆ RTC24_TUESDAY

#define RTC24_TUESDAY   0x01

◆ RTC24_WEDNESDAY

#define RTC24_WEDNESDAY   0x02