RTC_C Registers
766
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Real-Time Clock C (RTC_C)
29.4.52 RTCCAPxCTL Register
Tamper Detect Pin Control Register
(1)
The configuration of these bits is retained during LPMx.5 until LOCKLPM5 is cleared, but not the bits themselves; therefore,
reconfiguration is required after wakeup from LPMx.5 before clearing LOCKLPM5.
Figure 29-55. RTCCAPxCTL Register
7
6
5
4
3
2
1
0
Reserved
OUT
(1)
DIR
(1)
IN
(1)
REN
(1)
CAPES
(1)
Reserved
CAPEV
(1)
r-0
rw-(0)
rw-(0)
r
rw-(0)
rw-(0)
r-0
r/w0
Table 29-56. RTCCAPxCTL Register Description
Bit
Field
Type
Reset
Description
7
Reserved
R
0h
Reserved. Always reads as 0.
6
OUT
RW
0h
RTCCAPx output
0b = Output low
1b = Output high
5
DIR
RW
0h
RTCCAPx pin direction
0b = RTCCAPx pin configured as input
1b = RTCCAPx pin configured as output
4
IN
R
0h
RTCCAPx input. The external input on RTCCAPx pin can be read by this bit.
0b = Input is low
1b = Input is high
3
REN
RW
0h
RTCCAPx pin pullup or pulldown resistor enable. When respective pin is
configured as input, setting this bit enables the pullup or pulldown (see
).
0b = Pullup or pulldown disabled
1b = Pullup or pulldown enabled
2
CAPES
RW
0h
Event edge selection
0b = Event on a low-to-high transition
1b = Event on a high-to-low transition
1
Reserved
R
0h
Reserved. Always reads as 0.
0
CAPEV
RW
0h
Tamper event status flag. All subsequent events on RTCCAPx after CAPEV is
set are ignored until CAPEV is cleared by the user. Can only be written as 0.
0b = Tamper event did not occur
1b = Tamper event occurred