CY8C28xxx PSoC Programmable System-on-Chip TRM, Document No. 001-52594 Rev. *G
99
Sleep and Watchdog
12.3
Register Definitions
The following registers are associated with Sleep and Watchdog and are listed in address order. Each register description has
an associated register table showing the bit structure for that register. The bits that are grayed out in the tables below are
reserved bits and are not detailed in the register descriptions. Note that reserved bits should always be written with a value of
‘0’. For a complete table of the Sleep and Watchdog registers, refer to the
“Summary Table of the Core Registers” on page 36
12.3.1
INT_MSK0 Register
The Interrupt Mask Register 0 (INT_MSK0) is used to
enable the individual sources’ ability to create pending inter-
rupts.
Depending on your PSoC device’s characteristics, only cer-
tain bits are accessible to be read or written in the analog
column dependent INT_MSK0 register. (Refer to the table
titled
“CY8C28xxx Device Characteristics” on page 24
.) In
the table, the analog column numbers are listed to the right
in the Address column.
Bits 7 and 5 to 0.
The INT_MSK0 register holds bits that
are used by several different resources. For a full discussion
of the INT_MSK0 register, see the
Bit 6: Sleep.
This bit controls the sleep interrupt enable.
For additional information, refer to the
12.3.2
RES_WDT Register
The Reset Watchdog Timer Register (RES_WDT) is used to
clear the watchdog timer (a write of any value) and clear
both the watchdog timer and the sleep timer (a write of 38h).
Bits 7 to 0: WDSL_Clear[7:0].
The Watchdog Timer
(WDT) write-only register is designed to timeout at three roll-
over events of the sleep timer. Therefore, if only the WDT is
cleared, the next Watchdog Reset (WDR) will occur any-
where from two to three times the current sleep interval set-
ting. If the sleep timer is near the beginning of its count, the
watchdog timeout will be closer to three times. However, if
the sleep timer is very close to its
watchdog timeout will be closer to two times. To ensure a full
three times timeout, both the WDT and the sleep timer may
be cleared. In applications that need a real-time clock, and
thus cannot reset the sleep timer when clearing the WDT,
the duty cycle at which the WDT must be cleared should be
no greater than two times the sleep interval.
For additional information, refer to the
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
0,E0h
4 Cols.
2 Cols.
VC3
Sleep
GPIO
Analog 3
Analog 2
Analog 1
Analog 0
V Monitor
RW : 00
VC3
Sleep
GPIO
Analog 1
Analog 0
V Monitor
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
0,E3h
WDSL_Clear[7:0]
W : 00
Summary of Contents for CY8C28 series
Page 65: ...64 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G RAM Paging ...
Page 125: ...124 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Page 311: ...310 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G IDAC_CR0 1 FDh ...
Page 317: ...316 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Page 393: ...392 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Page 477: ...476 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Digital Clocks ...
Page 561: ...560 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...