ReactOS 0.4.16-dev-122-g325d74c
rtc.h File Reference

Go to the source code of this file.

Macros

#define RTC_IO_o_DATA   0x20
 
#define RTC_DATA_INPUT   0x20
 
#define RTC_CLOCK   0x10
 
#define RTC_STROBE   0x08
 
#define RTC_CMD_REGISTER_HOLD   0x00
 
#define RTC_CMD_REGISTER_SHIFT   0x01
 
#define RTC_CMD_TIME_SET_COUNTER_HOLD   0x02
 
#define RTC_CMD_TIME_READ   0x03
 
#define RTC_CMD_TIMING_PULSE_64_HZ   0x04
 
#define RTC_CMD_TIMING_PULSE_256_HZ   0x05
 
#define RTC_CMD_TIMING_PULSE_2048_HZ   0x06
 
#define RTC_CMD_SERIAL_TRANSFER_MODE   0x07
 
#define RTC_CMD_TIMING_PULSE_4096_HZ   0x07
 
#define RTC_CMD_TIMING_PULSE_1_S_INT   0x08
 
#define RTC_CMD_TIMING_PULSE_10_S_INT   0x09
 
#define RTC_CMD_TIMING_PULSE_30_S_INT   0x0A
 
#define RTC_CMD_TIMING_PULSE_60_S_INT   0x0B
 
#define RTC_CMD_INTERRUPT_RESET   0x0C
 
#define RTC_CMD_INTERRUPT_START   0x0D
 
#define RTC_CMD_INTERRUPT_STOP   0x0E
 
#define RTC_CMD_TEST_MODE   0x0F
 
#define RTC_IO_o_MODE   0x22
 
#define RTC_IO_o_INT_CLOCK_DIVISOR   0x128
 
#define RTC_INT_CLOCK_DIVISOR_64   0x00
 
#define RTC_INT_CLOCK_DIVISOR_32   0x01
 
#define RTC_INT_CLOCK_DIVISOR_0   0x02
 
#define RTC_INT_CLOCK_DIVISOR_16   0x03
 
#define RTC_IO_i_MODE   0x22
 
#define RTC_IO_i_INTERRUPT_RESET   0x128
 

Macro Definition Documentation

◆ RTC_CLOCK

#define RTC_CLOCK   0x10

Definition at line 13 of file rtc.h.

◆ RTC_CMD_INTERRUPT_RESET

#define RTC_CMD_INTERRUPT_RESET   0x0C

Definition at line 30 of file rtc.h.

◆ RTC_CMD_INTERRUPT_START

#define RTC_CMD_INTERRUPT_START   0x0D

Definition at line 31 of file rtc.h.

◆ RTC_CMD_INTERRUPT_STOP

#define RTC_CMD_INTERRUPT_STOP   0x0E

Definition at line 32 of file rtc.h.

◆ RTC_CMD_REGISTER_HOLD

#define RTC_CMD_REGISTER_HOLD   0x00

Definition at line 16 of file rtc.h.

◆ RTC_CMD_REGISTER_SHIFT

#define RTC_CMD_REGISTER_SHIFT   0x01

Definition at line 17 of file rtc.h.

◆ RTC_CMD_SERIAL_TRANSFER_MODE

#define RTC_CMD_SERIAL_TRANSFER_MODE   0x07

Definition at line 23 of file rtc.h.

◆ RTC_CMD_TEST_MODE

#define RTC_CMD_TEST_MODE   0x0F

Definition at line 33 of file rtc.h.

◆ RTC_CMD_TIME_READ

#define RTC_CMD_TIME_READ   0x03

Definition at line 19 of file rtc.h.

◆ RTC_CMD_TIME_SET_COUNTER_HOLD

#define RTC_CMD_TIME_SET_COUNTER_HOLD   0x02

Definition at line 18 of file rtc.h.

◆ RTC_CMD_TIMING_PULSE_10_S_INT

#define RTC_CMD_TIMING_PULSE_10_S_INT   0x09

Definition at line 27 of file rtc.h.

◆ RTC_CMD_TIMING_PULSE_1_S_INT

#define RTC_CMD_TIMING_PULSE_1_S_INT   0x08

Definition at line 26 of file rtc.h.

◆ RTC_CMD_TIMING_PULSE_2048_HZ

#define RTC_CMD_TIMING_PULSE_2048_HZ   0x06

Definition at line 22 of file rtc.h.

◆ RTC_CMD_TIMING_PULSE_256_HZ

#define RTC_CMD_TIMING_PULSE_256_HZ   0x05

Definition at line 21 of file rtc.h.

◆ RTC_CMD_TIMING_PULSE_30_S_INT

#define RTC_CMD_TIMING_PULSE_30_S_INT   0x0A

Definition at line 28 of file rtc.h.

◆ RTC_CMD_TIMING_PULSE_4096_HZ

#define RTC_CMD_TIMING_PULSE_4096_HZ   0x07

Definition at line 25 of file rtc.h.

◆ RTC_CMD_TIMING_PULSE_60_S_INT

#define RTC_CMD_TIMING_PULSE_60_S_INT   0x0B

Definition at line 29 of file rtc.h.

◆ RTC_CMD_TIMING_PULSE_64_HZ

#define RTC_CMD_TIMING_PULSE_64_HZ   0x04

Definition at line 20 of file rtc.h.

◆ RTC_DATA_INPUT

#define RTC_DATA_INPUT   0x20

Definition at line 12 of file rtc.h.

◆ RTC_INT_CLOCK_DIVISOR_0

#define RTC_INT_CLOCK_DIVISOR_0   0x02

Definition at line 40 of file rtc.h.

◆ RTC_INT_CLOCK_DIVISOR_16

#define RTC_INT_CLOCK_DIVISOR_16   0x03

Definition at line 41 of file rtc.h.

◆ RTC_INT_CLOCK_DIVISOR_32

#define RTC_INT_CLOCK_DIVISOR_32   0x01

Definition at line 39 of file rtc.h.

◆ RTC_INT_CLOCK_DIVISOR_64

#define RTC_INT_CLOCK_DIVISOR_64   0x00

Definition at line 38 of file rtc.h.

◆ RTC_IO_i_INTERRUPT_RESET

#define RTC_IO_i_INTERRUPT_RESET   0x128

Definition at line 44 of file rtc.h.

◆ RTC_IO_i_MODE

#define RTC_IO_i_MODE   0x22

Definition at line 43 of file rtc.h.

◆ RTC_IO_o_DATA

#define RTC_IO_o_DATA   0x20

Definition at line 10 of file rtc.h.

◆ RTC_IO_o_INT_CLOCK_DIVISOR

#define RTC_IO_o_INT_CLOCK_DIVISOR   0x128

Definition at line 37 of file rtc.h.

◆ RTC_IO_o_MODE

#define RTC_IO_o_MODE   0x22

Definition at line 35 of file rtc.h.

◆ RTC_STROBE

#define RTC_STROBE   0x08

Definition at line 14 of file rtc.h.