Texas Instruments CC2650DK 사용자 설명서

다운로드
페이지 1570
Real-Time Clock Registers
14.4.1.9 CH2CMP Register (Offset = 20h) [reset = X]
CH2CMP is shown in
and described in
.
Channel 2 Compare Value
Figure 14-10. CH2CMP Register
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
VALUE
R/W-X
Table 14-10. CH2CMP Register Field Descriptions
Bit
Field
Type
Reset
Description
31-0
VALUE
R/W
X
RTC Channel 2 compare value. Bit 31 to 16 represents seconds and
bits 15 to 0 represents subseconds of the compare value. The
compare value is compared against SEC.VALUE (15:0) and
SUBSEC.VALUE (31:16) values of the Real Time Clock register. A
Cannel 0 event is generated when
{SEC.VALUE(15:0),SUBSEC.VALUE (31:16)} is reaching or exciting
the compare value. Writing to this register can trigger an immediate*)
event in case the new compare value matches a Real Time Clock
value from 1 second in the past up till current Real Time Clock value.
Example: To generate a compare 5.5 seconds RTC start,- set this
value = 0x0005_8000 *) It can take up to 2 SCLK_LF clock cycles
before event occurs due to synchronization.
1138
Real-Time Clock
SWCU117A – February 2015 – Revised March 2015
Copyright © 2015, Texas Instruments Incorporated