MAXQ7665/MAXQ7666 User’s Guide
7-7
7.2.1 Type 2 Status/Control Registers
The MAXQ7665/MAXQ7666 timer/counter module registers T2CFGx (configuration), T2CNAx (control A), and T2CNBx (control B),
where x = 0, 1, and 2, are described here.
7.2.1.1 Type 2 Timer/Counter 2 Configuration Register (T2CFGx)
Register Description: Type 2 Timer/Counter 2 Configuration Register
Register Name: T2CFGx (x = 0, 1, 2)
Register Address:
T2CFG0: Module 02h, Index 10h
T2CFG1: Module 02h, Index 11h
T2CFG2: Module 03h, Index 10h
Bits 15 to 7: Reserved. Read 0, write ignored.
Bits 6 to 4: Type 2 Timer Clock Divide Bits 2 to 0 (T2DIV2 to T2DIV0). These three bits select the divide ratio for the timer clock
input clock (as a function of the system clock).
Bit 3: Type 2 Timer Mode Select (T2MD). This bit enables the dual 8-bit mode of operation. The default reset state is 0, which selects
the 16-bit mode of operation. When the dual 8-bit mode is established, the primary timer/counter (T2Hx) carries all the counter/cap-
ture functionality, while the secondary 8-bit timer (T2Lx) must operate in timer compare mode, sourcing the defined internal clock.
0 = 16-bit mode (default)
1 = dual 8-bit mode
Kommentare zu diesen Handbüchern