RTC_B Registers
717
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Real-Time Clock B (RTC_B)
28.3.30 BIN2BCD Register
Binary-to-BCD Conversion Register
Figure 28-31. 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 28-31. 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
28.3.31 BCD2BIN Register
BCD-to-Binary Conversion Register
Figure 28-32. 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 28-32. 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