RTC_C Registers
758
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Real-Time Clock C (RTC_C)
29.4.36 BIN2BCD Register
Binary-to-BCD Conversion Register
Figure 29-39. BIN2BCD Register
15
14
13
12
11
10
9
8
BIN2BCDx
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
7
6
5
4
3
2
1
0
BIN2BCDx
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
Table 29-40. BIN2BCD Register Description
Bit
Field
Type
Reset
Description
15-0
BIN2BCDx
RW
0h
Read: 16-bit BCD conversion of previously written 12-bit binary number.
Write: 12-bit binary number to be converted.
29.4.37 BCD2BIN Register
BCD-to-Binary Conversion Register
Figure 29-40. BCD2BIN Register
15
14
13
12
11
10
9
8
BCD2BINx
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
7
6
5
4
3
2
1
0
BCD2BINx
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
Table 29-41. BCD2BIN Register Description
Bit
Field
Type
Reset
Description
15-0
BCD2BINx
RW
0h
Read: 12-bit binary conversion of previously written 16-bit BCD number.
Write: 16-bit BCD number to be converted.