rtc18 2.0.0.0
RTC 18 Registers Settings

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

Macros

#define RTC18_STATUS_THF   0x80
 RTC 18 status register settings.
 
#define RTC18_STATUS_TLF   0x40
 
#define RTC18_STATUS_UF   0x20
 
#define RTC18_STATUS_TF   0x10
 
#define RTC18_STATUS_AF   0x08
 
#define RTC18_STATUS_EVF   0x04
 
#define RTC18_STATUS_PORF   0x02
 
#define RTC18_STATUS_VLF   0x01
 
#define RTC18_CONTROL1_RESERVED   0x20
 RTC 18 control 1 register settings.
 
#define RTC18_CONTROL1_USEL   0x10
 
#define RTC18_CONTROL1_TE   0x08
 
#define RTC18_CONTROL1_EERD   0x04
 
#define RTC18_CONTROL1_TD_4096HZ   0x00
 
#define RTC18_CONTROL1_TD_64HZ   0x01
 
#define RTC18_CONTROL1_TD_1HZ   0x02
 
#define RTC18_CONTROL1_TD_1_60HZ   0x03
 
#define RTC18_CONTROL1_TD_BIT_MASK   0x03
 
#define RTC18_CONTROL2_CLKIE   0x40
 RTC 18 control 2 register settings.
 
#define RTC18_CONTROL2_UIE   0x20
 
#define RTC18_CONTROL2_TIE   0x10
 
#define RTC18_CONTROL2_AIE   0x08
 
#define RTC18_CONTROL2_EIE   0x04
 
#define RTC18_CONTROL2_STOP   0x01
 
#define RTC18_CONTROL3_BSIE   0x10
 RTC 18 control 3 register settings.
 
#define RTC18_CONTROL3_THE   0x08
 
#define RTC18_CONTROL3_TLE   0x04
 
#define RTC18_CONTROL3_THIE   0x02
 
#define RTC18_CONTROL3_TLIE   0x01
 
#define RTC18_MONDAY   0x00
 RTC 18 day of week values.
 
#define RTC18_TUESDAY   0x01
 
#define RTC18_WEDNESDAY   0x02
 
#define RTC18_THURSDAY   0x03
 
#define RTC18_FRIDAY   0x04
 
#define RTC18_SATURDAY   0x05
 
#define RTC18_SUNDAY   0x06
 
#define RTC18_TEMPERATURE_RESOLUTION   0.0625
 RTC 18 temperature settings.
 
#define RTC18_TEMPERATURE_LSB_TEMP_BIT_MASK   0xF0
 
#define RTC18_TEMPERATURE_LSB_EEF   0x08
 
#define RTC18_TEMPERATURE_LSB_EEBUSY   0x04
 
#define RTC18_TEMPERATURE_LSB_CLKF   0x02
 
#define RTC18_TEMPERATURE_LSB_BSF   0x01
 
#define RTC18_EECMD_UPDATE   0x11
 RTC 18 EEPROM commands list.
 
#define RTC18_EECMD_REFRESH   0x12
 
#define RTC18_EECMD_WRITE_ONE_BYTE   0x21
 
#define RTC18_EECMD_READ_ONE_BYTE   0x22
 
#define RTC18_DEVICE_ADDRESS   0x51
 RTC 18 device address setting.
 

Detailed Description

Settings for registers of RTC 18 Click driver.

Macro Definition Documentation

◆ RTC18_CONTROL1_EERD

#define RTC18_CONTROL1_EERD   0x04

◆ RTC18_CONTROL1_RESERVED

#define RTC18_CONTROL1_RESERVED   0x20

RTC 18 control 1 register settings.

Specified control 1 register settings of RTC 18 Click driver.

◆ RTC18_CONTROL1_TD_1_60HZ

#define RTC18_CONTROL1_TD_1_60HZ   0x03

◆ RTC18_CONTROL1_TD_1HZ

#define RTC18_CONTROL1_TD_1HZ   0x02

◆ RTC18_CONTROL1_TD_4096HZ

#define RTC18_CONTROL1_TD_4096HZ   0x00

◆ RTC18_CONTROL1_TD_64HZ

#define RTC18_CONTROL1_TD_64HZ   0x01

◆ RTC18_CONTROL1_TD_BIT_MASK

#define RTC18_CONTROL1_TD_BIT_MASK   0x03

◆ RTC18_CONTROL1_TE

#define RTC18_CONTROL1_TE   0x08

◆ RTC18_CONTROL1_USEL

#define RTC18_CONTROL1_USEL   0x10

◆ RTC18_CONTROL2_AIE

#define RTC18_CONTROL2_AIE   0x08

◆ RTC18_CONTROL2_CLKIE

#define RTC18_CONTROL2_CLKIE   0x40

RTC 18 control 2 register settings.

Specified control 2 register settings of RTC 18 Click driver.

◆ RTC18_CONTROL2_EIE

#define RTC18_CONTROL2_EIE   0x04

◆ RTC18_CONTROL2_STOP

#define RTC18_CONTROL2_STOP   0x01

◆ RTC18_CONTROL2_TIE

#define RTC18_CONTROL2_TIE   0x10

◆ RTC18_CONTROL2_UIE

#define RTC18_CONTROL2_UIE   0x20

◆ RTC18_CONTROL3_BSIE

#define RTC18_CONTROL3_BSIE   0x10

RTC 18 control 3 register settings.

Specified control 3 register settings of RTC 18 Click driver.

◆ RTC18_CONTROL3_THE

#define RTC18_CONTROL3_THE   0x08

◆ RTC18_CONTROL3_THIE

#define RTC18_CONTROL3_THIE   0x02

◆ RTC18_CONTROL3_TLE

#define RTC18_CONTROL3_TLE   0x04

◆ RTC18_CONTROL3_TLIE

#define RTC18_CONTROL3_TLIE   0x01

◆ RTC18_DEVICE_ADDRESS

#define RTC18_DEVICE_ADDRESS   0x51

RTC 18 device address setting.

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

◆ RTC18_EECMD_READ_ONE_BYTE

#define RTC18_EECMD_READ_ONE_BYTE   0x22

◆ RTC18_EECMD_REFRESH

#define RTC18_EECMD_REFRESH   0x12

◆ RTC18_EECMD_UPDATE

#define RTC18_EECMD_UPDATE   0x11

RTC 18 EEPROM commands list.

Specified EEPROM commands list of RTC 18 Click driver.

◆ RTC18_EECMD_WRITE_ONE_BYTE

#define RTC18_EECMD_WRITE_ONE_BYTE   0x21

◆ RTC18_FRIDAY

#define RTC18_FRIDAY   0x04

◆ RTC18_MONDAY

#define RTC18_MONDAY   0x00

RTC 18 day of week values.

Specified day of week values of RTC 18 Click driver.

◆ RTC18_SATURDAY

#define RTC18_SATURDAY   0x05

◆ RTC18_STATUS_AF

#define RTC18_STATUS_AF   0x08

◆ RTC18_STATUS_EVF

#define RTC18_STATUS_EVF   0x04

◆ RTC18_STATUS_PORF

#define RTC18_STATUS_PORF   0x02

◆ RTC18_STATUS_TF

#define RTC18_STATUS_TF   0x10

◆ RTC18_STATUS_THF

#define RTC18_STATUS_THF   0x80

RTC 18 status register settings.

Specified status register settings of RTC 18 Click driver.

◆ RTC18_STATUS_TLF

#define RTC18_STATUS_TLF   0x40

◆ RTC18_STATUS_UF

#define RTC18_STATUS_UF   0x20

◆ RTC18_STATUS_VLF

#define RTC18_STATUS_VLF   0x01

◆ RTC18_SUNDAY

#define RTC18_SUNDAY   0x06

◆ RTC18_TEMPERATURE_LSB_BSF

#define RTC18_TEMPERATURE_LSB_BSF   0x01

◆ RTC18_TEMPERATURE_LSB_CLKF

#define RTC18_TEMPERATURE_LSB_CLKF   0x02

◆ RTC18_TEMPERATURE_LSB_EEBUSY

#define RTC18_TEMPERATURE_LSB_EEBUSY   0x04

◆ RTC18_TEMPERATURE_LSB_EEF

#define RTC18_TEMPERATURE_LSB_EEF   0x08

◆ RTC18_TEMPERATURE_LSB_TEMP_BIT_MASK

#define RTC18_TEMPERATURE_LSB_TEMP_BIT_MASK   0xF0

◆ RTC18_TEMPERATURE_RESOLUTION

#define RTC18_TEMPERATURE_RESOLUTION   0.0625

RTC 18 temperature settings.

Specified temperature settings of RTC 18 Click driver.

◆ RTC18_THURSDAY

#define RTC18_THURSDAY   0x03

◆ RTC18_TUESDAY

#define RTC18_TUESDAY   0x01

◆ RTC18_WEDNESDAY

#define RTC18_WEDNESDAY   0x02