Real-Time Clock Registers
14-7
Real Time Clock
14.3 Real-Time Clock Registers
Table 14−2.Real-Time Clock Registers
Register
Short Form
Register Type
Address
Initial State
Real-Time Clock control register
RTCCTL
Read/write
041h
040h with POR
Real-Timer Clock second
RTCSEC/
Read/write
042h
Unchanged
Real-Timer Clock second
Real-Timer Counter register 1
RTCSEC/
RTCNT1
Read/write
042h
Unchanged
Real-Time Clock minute
RTCMIN/
Read/write
043h
Unchanged
Real-Time Clock minute
Real-Time Counter register 2
RTCMIN/
RTCNT2
Read/write
043h
Unchanged
Real-Time Clock hour
RTCHOUR/
Read/write
044h
Unchanged
Real-Time Clock hour
Real-Time Counter register 3
RTCHOUR/
RTCNT3
Read/write
044h
Unchanged
Real-Time Clock day-of-Week
RTCDOW/
Read/write
045h
Unchanged
Real-Time Clock day-of-Week
Real-Time Counter register 4
RTCDOW/
RTCNT4
Read/write
045h
Unchanged
Real-Time Clock day-of-month
RTCDAY
Read/write
04Ch
Unchanged
Real-Time Clock month
RTCMON
Read/write
04Dh
Unchanged
Real-Time Clock year (low byte)
RTCYEARL
Read/write
04Eh
Unchanged
Real-Time Clock year (high byte)
RTCYEARH
Read/write
04Fh
Unchanged
SFR interrupt enable register 2
IE2
Read/write
001h
Reset with PUC
SFR interrupt flag register 2
IFG2
Read/write
003h
Reset with PUC
Note:
Modifying SFR bits
To avoid modifying control bits of other modules, it is recommended to set
or clear the IEx and IFGx bits using
BIS.B
or
BIC.B
instructions, rather than
MOV.B
or
CLR.B
instructions.
Table 14−3.Real-Time Clock Registers, Word Access
Word Register
Short Form
High-Byte
Register
Low-Byte
Register
Address
Real-Time control register
RTCTL
RTCCTL
BTCTL
040h
Real-Time Clock time 0
RTCTIM0/
RTCMIN/
RTCSEC/
042h
Real-Time Clock time 0
Real-Time Counter registers 1,2
RTCTIM0/
RTCNT12
RTCMIN/
RTCNT2
RTCSEC/
RTCNT1
042h
Real-Time Clock time 1
RTCTIM1/
RTCDOW/
RTCHOUR/
044h
Real-Time Clock time 1
Real-Time Counter registers 3,4
RTCTIM1/
RTCNT34
RTCDOW/
RTCNT4
RTCHOUR/
RTCNT3
044h
Real-Time Clock date
RTCDATE
RTCMON
RTCDAY
04Ch
Real-Time Clock year
RTCYEAR
RTCYEARH
RTCYEARL
04Eh
Содержание MSP430x4xx Family
Страница 1: ...MSP430x4xx Family 2007 Mixed Signal Products User s Guide SLAU056G ...
Страница 2: ......
Страница 6: ...vi ...
Страница 114: ...3 76 RISC 16 Bit CPU ...
Страница 304: ...5 20 FLL Clock Module ...
Страница 340: ...7 8 Supply Voltage Supervisor ...
Страница 348: ...8 8 16 Bit Hardware Multiplier ...
Страница 372: ...9 24 32 Bit Hardware Multiplier ...
Страница 400: ...10 28 DMA Controller ...
Страница 428: ...13 10 Basic Timer1 ...
Страница 466: ...15 24 Timer_A ...
Страница 522: ...17 30 USART Peripheral Interface UART Mode ...
Страница 544: ...18 22 USART Peripheral Interface SPI Mode ...
Страница 672: ...23 12 Comparator_A ...
Страница 692: ...24 20 LCD Controller ...
Страница 746: ...26 28 ADC12 ...