This section provides information on the GPTIMER Module Instance within this product. Each of the registers within the Module Instance is described separately below.
This component is a general purpose timer. The timer offers - generation of waveforms and events. - capture of signal period and duty cycle. - generation of **IR** signals. - decoding of quadrature encoded signals. - motor control features. It consists of a - 16-bit counter. - 8-bit prescaler - 3 capture compare channels. - 3 event outputs. - 3 capture inputs. Each channel subscribes to the synchronous event bus. They can control one or more event outputs in both capture and compare modes. [PRECFG.TICKSRC] selects tick source for the timer. INTERNAL_NOTE: [Functional Spec] https://confluence.itg.ti.com/display/LPRF/Implementation+Specification [Simple Block Diagram] https://confluence.itg.ti.com/display/LPRF/Implementation+Specification#ImplementationSpecification-_Toc2959138BlockDiagram
|
Register Name |
Type |
Register Width (Bits) |
Register Reset |
Address Offset |
|
RO |
32 |
0xDE49 1010 |
0x0000 0000 |
|
|
RO |
32 |
0x000E 38E4 |
0x0000 0004 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0008 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 000C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0010 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0014 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0018 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 001C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0020 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0024 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0028 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 002C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0030 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0034 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0038 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 003C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0040 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0044 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0048 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0068 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 006C |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0070 |
|
|
WO |
32 |
0x0000 0000 |
0x0000 0074 |
|
|
WO |
32 |
0x0000 0000 |
0x0000 0078 |
|
|
WO |
32 |
0x0000 0000 |
0x0000 007C |
|
|
WO |
32 |
0x0000 0000 |
0x0000 0080 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0084 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 00C0 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 00C4 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 00C8 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 00CC |
|
|
RW |
32 |
0x0000 0000 |
0x0000 00FC |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0100 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0104 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0108 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 010C |
|
|
RW |
32 |
0xFFFF FFFF |
0x0000 013C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0140 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0144 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0148 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 014C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 017C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0180 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0184 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0188 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 018C |
|
|
RW |
32 |
0xFFFF FFFF |
0x0000 01BC |
|
|
RW |
32 |
0x0000 0000 |
0x0000 01C0 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 01C4 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 01C8 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 01CC |
|
|
RW |
32 |
0x0000 0000 |
0x0000 1000 |
|
Address offset |
0x0000 0000 |
||
|
Description |
Description Register. This register provides IP module ID, revision information, instance index and standard MMR registers offset. |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
MODID |
Module identifier used to uniquely identify this IP. |
RO |
0xDE49 |
||
|
15:12 |
STDIPOFF |
Standard IP MMR block offset. Standard IP MMRs are the set of from aggregated IRQ registers till DTB. |
RO |
0x1 |
||
|
11:8 |
INSTIDX |
IP Instance ID number. If multiple instances of IP exist in the device, this field can identify the instance number. |
RO |
0x0 |
||
|
7:4 |
MAJREV |
Major revision of IP. |
RO |
0x1 |
||
|
3:0 |
MINREV |
Minor revision of IP. |
RO |
0x0 |
||
|
Address offset |
0x0000 0004 |
||
|
Description |
Description Extended |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:20 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 |
||
|
19 |
HIR |
Has IR logic. |
RO |
1 |
||
|
18 |
HDBF |
Has Dead-Band, Fault, and Park logic. |
RO |
1 |
||
|
17:14 |
PREW |
Prescaler width. The prescaler can maximum be configured to 2^[PREW]-1. |
RO |
0x8 |
||
|
13 |
HQDEC |
Has Quadrature Decoder. |
RO |
1 |
||
|
12 |
HCIF |
Has channel input filter. |
RO |
1 |
||
|
11:8 |
CIFS |
Channel input filter size. The prevailing state filter can maximum be configured to 2^[CIFS]-1. |
RO |
0x8 |
||
|
7 |
HDMA |
Has uDMA output and logic. |
RO |
1 |
||
|
6 |
HINT |
Has interrupt output and logic. |
RO |
1 |
||
|
5:4 |
CNTRW |
Counter bit-width. |
RO |
0x2 |
||
|
|
|
Read 0x0 |
CNTR16 |
|
||
|
|
|
Read 0x1 |
CNTR24 |
|
||
|
|
|
Read 0x2 |
CNTR32 |
|
||
|
|
|
Read 0x3 |
RESERVED |
|
||
|
3:0 |
NCH |
Number of channels. |
RO |
0x4 |
||
|
Address offset |
0x0000 0008 |
||
|
Description |
Start Configuration |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:2 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
1:0 |
LGPT0 |
LGPT start |
RW |
0x0 |
||
|
|
|
0x0 |
EV_SYNC |
|
||
|
Address offset |
0x0000 000C |
||
|
Description |
Timer Control |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:12 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 0000 |
||
|
11 |
C3RST |
Channel 3 reset. |
WO |
0 |
||
|
|
|
Write 0 |
NOEFF |
|
||
|
|
|
Write 1 |
RST |
|
||
|
10 |
C2RST |
Channel 2 reset. |
WO |
0 |
||
|
|
|
Write 0 |
NOEFF |
|
||
|
|
|
Write 1 |
RST |
|
||
|
9 |
C1RST |
Channel 1 reset. |
WO |
0 |
||
|
|
|
Write 0 |
NOEFF |
|
||
|
|
|
Write 1 |
RST |
|
||
|
8 |
C0RST |
Channel 0 reset. |
WO |
0 |
||
|
|
|
Write 0 |
NOEFF |
|
||
|
|
|
Write 1 |
RST |
|
||
|
7:6 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
5 |
INTP |
Interrupt Phase. |
RW |
0 |
||
|
|
|
0 |
EARLY |
|
||
|
|
|
1 |
LATE |
|
||
|
4:3 |
CMPDIR |
Compare direction. |
RW |
0x0 |
||
|
|
|
0x0 |
BOTH |
|
||
|
|
|
0x1 |
UP |
|
||
|
|
|
0x2 |
DOWN |
|
||
|
|
|
0x3 |
RESERVED |
|
||
|
2:0 |
MODE |
Timer mode control |
RW |
0x0 |
||
|
|
|
0x0 |
DIS |
|
||
|
|
|
0x1 |
UP_ONCE |
|
||
|
|
|
0x2 |
UP_PER |
|
||
|
|
|
0x3 |
UPDWN_PER |
|
||
|
|
|
0x4 |
QDEC |
|
||
|
|
|
0x5 |
SYNC_UP_ONCE |
|
||
|
|
|
0x6 |
SYNC_UP_PER |
|
||
|
|
|
0x7 |
SYNC_UPDWN_PER |
|
||
|
Address offset |
0x0000 0010 |
||
|
Description |
Output Control |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:8 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 0000 |
||
|
7 |
SETOUT3 |
Set output 3. |
WO |
0 |
||
|
6 |
CLROUT3 |
Clear output 3. |
WO |
0 |
||
|
5 |
SETOUT2 |
Set output 2. |
WO |
0 |
||
|
4 |
CLROUT2 |
Clear output 2. |
WO |
0 |
||
|
3 |
SETOUT1 |
Set output 1. |
WO |
0 |
||
|
2 |
CLROUT1 |
Clear output 1. |
WO |
0 |
||
|
1 |
SETOUT0 |
Set output 0. |
WO |
0 |
||
|
0 |
CLROUT0 |
Clear output 0. |
WO |
0 |
||
|
Address offset |
0x0000 0014 |
||
|
Description |
Counter |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Current counter value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 0018 |
||
|
Description |
Clock Prescaler Configuration |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:8 |
TICKDIV |
Tick division. |
RW |
0x00 |
||
|
7:2 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
1:0 |
TICKSRC |
Prescaler tick source. |
RW |
0x0 |
||
|
|
|
0x0 |
CLK |
|
||
|
|
|
0x1 |
RISE_TICK |
|
||
|
|
|
0x2 |
FALL_TICK |
|
||
|
|
|
0x3 |
BOTH_TICK |
|
||
|
Address offset |
0x0000 001C |
||
|
Description |
Prescaler Event |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:8 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 0000 |
||
|
7:0 |
VAL |
Sets the HIGH time of the prescaler event output. |
RW |
0x00 |
||
|
Address offset |
0x0000 0020 |
||
|
Description |
Channel Input Filter |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:8 |
LOAD |
The input of the channel filter is passed to the edge detection logic after [LOAD] + 1 consecutive equal samples. |
RW |
0x00 |
||
|
7:2 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
1:0 |
MODE |
Channel filter mode |
RW |
0x0 |
||
|
|
|
0x0 |
BYPASS |
|
||
|
|
|
0x1 |
CLK |
|
||
|
|
|
0x2 |
TICKSRC |
|
||
|
|
|
0x3 |
TIMERCLK |
|
||
|
Address offset |
0x0000 0024 |
||
|
Description |
Fault |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:2 |
RES |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
1:0 |
CTL |
Fault control |
RW |
0x0 |
||
|
|
|
0x0 |
DIS |
|
||
|
|
|
0x1 |
IMMEDIATE |
|
||
|
|
|
0x2 |
ZERCOND |
|
||
|
|
|
0x3 |
IRQ |
|
||
|
Address offset |
0x0000 0028 |
||
|
Description |
Park |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:10 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 0000 |
||
|
9 |
IOCPS3 |
IO Complementary Park State 3 |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
8 |
IOPS3 |
IO Park State 3 |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
7 |
IOCPS2 |
IO Complementary Park State 2 |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
6 |
IOPS2 |
IO Park State 2 |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
5 |
IOCPS1 |
IO Complementary Park State 1 |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
4 |
IOPS1 |
IO Park State 1 |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
3 |
IOCPS0 |
IO Complementary Park State 0 |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
2 |
IOPS0 |
IO Park State 0 |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
1:0 |
CTL |
Park Control. |
RW |
0x0 |
||
|
|
|
0x0 |
DIS |
|
||
|
|
|
0x1 |
FAULT |
|
||
|
|
|
0x2 |
DEBUG |
|
||
|
|
|
0x3 |
BOTH |
|
||
|
Address offset |
0x0000 002C |
||
|
Description |
Dead Band Delay |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:28 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
27:16 |
FALLDLY |
Fall delay. |
RW |
0x000 |
||
|
15:12 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
11:0 |
RISEDLY |
Rise delay. |
RW |
0x000 |
||
|
Address offset |
0x0000 0030 |
||
|
Description |
Dead Band Control |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:4 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 0000 |
||
|
3 |
IO3 |
Enable dead band on IO and IO complementary output 3. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
2 |
IO2 |
Enable dead band on IO and IO complementary output 2. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
1 |
IO1 |
Enable dead band on IO and IO complementary output 1. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
0 |
IO0 |
Enable dead band on IO and IO complementary output 0. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
Address offset |
0x0000 0034 |
||
|
Description |
Quadrature Decoder Status |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:2 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
1 |
DBLTRANS |
Double transition |
RO |
0 |
||
|
|
|
Read 0 |
NONE |
|
||
|
|
|
Read 1 |
DBL |
|
||
|
0 |
QDIR |
Direction of count during QDEC mode. |
RO |
0 |
||
|
|
|
Read 0 |
UP |
|
||
|
|
|
Read 1 |
DOWN |
|
||
|
Address offset |
0x0000 0038 |
||
|
Description |
IR Generation |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:1 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
0 |
CTL |
Control |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
Address offset |
0x0000 003C |
||
|
Description |
Direct Memory Access |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:20 |
RESERVED_3 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 |
||
|
19:16 |
RWC |
The read/write counter. RWC+1 is the number of times the DMA can access (read/write) the [DMARW] register. For each DMA access to [DMARW] an internal counter is incremented, writing to the next address field. [ADDRESS] + 4*[RWC] is the final register address which can be accessed by the DMA. |
RW |
0x0 |
||
|
15 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
14:8 |
ADDRESS |
The base address which the DMA access when reading/writing [DMARW]. The base address is set by taking the 9 LSB of the physical address and divide by 4. |
RW |
0x00 |
||
|
7:3 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
2:0 |
REQ |
DMA request trigger |
RW |
0x0 |
||
|
|
|
0x0 |
DIS |
|
||
|
|
|
0x1 |
TGT |
|
||
|
|
|
0x2 |
ZERO |
|
||
|
|
|
0x3 |
FAULT |
|
||
|
|
|
0x4 |
C0CC |
|
||
|
|
|
0x5 |
C1CC |
|
||
|
|
|
0x6 |
C2CC |
|
||
|
|
|
0x7 |
C3CC |
|
||
|
Address offset |
0x0000 0040 |
||
|
Description |
Direct Memory Access |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
DMA read write value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 0044 |
||
|
Description |
ADC Trigger |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:3 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
2:0 |
SRC |
ADC request trigger |
RW |
0x0 |
||
|
|
|
0x0 |
DIS |
|
||
|
|
|
0x1 |
TGT |
|
||
|
|
|
0x2 |
ZERO |
|
||
|
|
|
0x3 |
FAULT |
|
||
|
|
|
0x4 |
C0CC |
|
||
|
|
|
0x5 |
C1CC |
|
||
|
|
|
0x6 |
C2CC |
|
||
|
|
|
0x7 |
C3CC |
|
||
|
Address offset |
0x0000 0048 |
||
|
Description |
IO Controller |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:14 |
COUT3 |
IO complementary output 3 control |
RW |
0x0 |
||
|
|
|
0x0 |
NRM |
|
||
|
|
|
0x1 |
LOW |
|
||
|
|
|
0x2 |
HIGH |
|
||
|
|
|
0x3 |
INV |
|
||
|
13:12 |
OUT3 |
IO output 3 control |
RW |
0x0 |
||
|
|
|
0x0 |
NRM |
|
||
|
|
|
0x1 |
LOW |
|
||
|
|
|
0x2 |
HIGH |
|
||
|
|
|
0x3 |
INV |
|
||
|
11:10 |
COUT2 |
IO complementary output 2 control |
RW |
0x0 |
||
|
|
|
0x0 |
NRM |
|
||
|
|
|
0x1 |
LOW |
|
||
|
|
|
0x2 |
HIGH |
|
||
|
|
|
0x3 |
INV |
|
||
|
9:8 |
OUT2 |
IO output 2 control |
RW |
0x0 |
||
|
|
|
0x0 |
NRM |
|
||
|
|
|
0x1 |
LOW |
|
||
|
|
|
0x2 |
HIGH |
|
||
|
|
|
0x3 |
INV |
|
||
|
7:6 |
COUT1 |
IO complementary output 1 control |
RW |
0x0 |
||
|
|
|
0x0 |
NRM |
|
||
|
|
|
0x1 |
LOW |
|
||
|
|
|
0x2 |
HIGH |
|
||
|
|
|
0x3 |
INV |
|
||
|
5:4 |
OUT1 |
IO output 1 control |
RW |
0x0 |
||
|
|
|
0x0 |
NRM |
|
||
|
|
|
0x1 |
LOW |
|
||
|
|
|
0x2 |
HIGH |
|
||
|
|
|
0x3 |
INV |
|
||
|
3:2 |
COUT0 |
IO complementary output 0 control |
RW |
0x0 |
||
|
|
|
0x0 |
NRM |
|
||
|
|
|
0x1 |
LOW |
|
||
|
|
|
0x2 |
HIGH |
|
||
|
|
|
0x3 |
INV |
|
||
|
1:0 |
OUT0 |
IO output 0 control |
RW |
0x0 |
||
|
|
|
0x0 |
NRM |
|
||
|
|
|
0x1 |
LOW |
|
||
|
|
|
0x2 |
HIGH |
|
||
|
|
|
0x3 |
INV |
|
||
|
Address offset |
0x0000 0068 |
||
|
Description |
Interrupt mask. This register selects interrupt sources which are allowed to pass from [RIS.*] to [MIS.*] when the corresponding bit-fields are set to 1. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:12 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 0000 |
||
|
11 |
C3CC |
Enable [RIS.C3CC] interrupt. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
10 |
C2CC |
Enable [RIS.C2CC] interrupt. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
9 |
C1CC |
Enable [RIS.C1CC] interrupt. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
8 |
C0CC |
Enable [RIS.C0CC] interrupt. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
7 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
6 |
FAULT |
Enable [RIS.FAULT] interrupt. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
5 |
IDX |
Enable [RIS.IDX] interrupt. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
4 |
DIRCHNG |
Enable [RIS.DIRCHNG] interrupt. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
3 |
CNTRCHNG |
Enable [RIS.CNTRCHNG] interrupt. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
2 |
DBLTRANS |
Enable [RIS.DBLTRANS] interrupt. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
1 |
ZERO |
Enable [RIS.ZERO] interrupt. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
0 |
TGT |
Enable [RIS.TGT] interrupt. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
Address offset |
0x0000 006C |
||
|
Description |
Raw interrupt status. This register reflects the state of all pending interrupts, regardless of masking. This register allows the user to implement a poll scheme. A flag set in this register can be cleared by writing 1 to the corresponding [ICLR.*] register bit. |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:12 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 0000 |
||
|
11 |
C3CC |
Status of the [C3CC] interrupt. The interrupt is set when [C3CC] has capture or compare event. |
RO |
0 |
||
|
|
|
Read 0 |
DIS |
|
||
|
|
|
Read 1 |
EN |
|
||
|
10 |
C2CC |
Status of the [C2CC] interrupt. The interrupt is set when [C2CC] has capture or compare event. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
9 |
C1CC |
Status of the [C1CC] interrupt. The interrupt is set when [C1CC] has capture or compare event. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
8 |
C0CC |
Status of the [C0CC] interrupt. The interrupt is set when [C0CC] has capture or compare event. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
7 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
6 |
FAULT |
Status of the [FAULT] interrupt. The interrupt is set immediately on active fault input. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
5 |
IDX |
Status of the [IDX] interrupt. The interrupt is set when [IDX] is active. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
4 |
DIRCHNG |
Status of the [DIRCHNG] interrupt. The interrupt is set when the direction of the counter changes. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
3 |
CNTRCHNG |
Status of the [CNTRCHNG] interrupt. The interrupt is set when the counter increments or decrements. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
2 |
DBLTRANS |
Status of the [DBLTRANS] interrupt. The interrupt is set when a double transition has happened during QDEC mode. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
1 |
ZERO |
Status of the [ZERO] interrupt. The interrupt is set when [CNTR.*] = 0. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
0 |
TGT |
Status of the [TGT] interrupt. The interrupt is set when [CNTR.*] = [TGT.*]. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
Address offset |
0x0000 0070 |
||
|
Description |
Masked interrupt status. This register is simply a bit-wise AND of the contents of [IMASK.*] and RIS.*] registers. A flag set in this register can be cleared by writing 1 to the corresponding [ICLR.*] register bit. |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:12 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 0000 |
||
|
11 |
C3CC |
Masked status of the [RIS.C3CC] interrupt. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
10 |
C2CC |
Masked status of the [RIS.C2CC] interrupt. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
9 |
C1CC |
Masked status of the [RIS.C1CC] interrupt. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
8 |
C0CC |
Masked status of the [RIS.C0CC] interrupt. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
7 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
6 |
FAULT |
Masked status of the [RIS.FAULT] interrupt. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
5 |
IDX |
Masked status of the [RIS.IDX] interrupt. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
4 |
DIRCHNG |
Masked status of the [RIS.DIRCHNG] interrupt. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
3 |
CNTRCHNG |
Masked status of the [RIS.CNTRCHNG] interrupt. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
2 |
DBLTRANS |
Masked status of the [RIS.DBLTRANS] interrupt. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
1 |
ZERO |
Masked status of the [RIS.ZERO] interrupt. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
0 |
TGT |
Masked status of the [RIS.TGT] interrupt. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
Address offset |
0x0000 0074 |
||
|
Description |
Interrupt set register. This register can used by software for diagnostics and safety checking purposes. Writing a 1 to a bit in this register will set the event and the corresponding [RIS.*] bit also gets set. If the corresponding [IMASK.*] bit is set, then the corresponding [MIS.*] register bit also gets set. |
||
|
Type |
WO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:12 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
WO |
0x0 0000 |
||
|
11 |
C3CC |
Set the [RIS.C3CC] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
10 |
C2CC |
Set the [RIS.C2CC] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
9 |
C1CC |
Set the [RIS.C1CC] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
8 |
C0CC |
Set the [RIS.C0CC] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
7 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
WO |
0 |
||
|
6 |
FAULT |
Set the [RIS.FAULT] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
5 |
IDX |
Set the [RIS.IDX] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
4 |
DIRCHNG |
Set the [RIS.DIRCHNG] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
3 |
CNTRCHNG |
Set the [RIS.CNTRCHNG] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
2 |
DBLTRANS |
Set the [RIS.DBLTRANS] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
1 |
ZERO |
Set the [RIS.ZERO] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
0 |
TGT |
Set the [RIS.TGT] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
Address offset |
0x0000 0078 |
||
|
Description |
Interrupt clear register. This register allows software to clear interrupts. Writing a 1 to a bit in this register will clear the event and the corresponding [RIS.*] bit also gets cleared. If the corresponding [IMASK.*] bit is set, then the corresponding [MIS.*] register bit also gets cleared. |
||
|
Type |
WO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:12 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
WO |
0x0 0000 |
||
|
11 |
C3CC |
Clear the [RIS.C3CC] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
10 |
C2CC |
Clear the [RIS.C2CC] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
9 |
C1CC |
Clear the [RIS.C1CC] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
8 |
C0CC |
Clear the [RIS.C0CC] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
7 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
WO |
0 |
||
|
6 |
FAULT |
Clear the [RIS.FAULT] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
5 |
IDX |
Clear the [RIS.IDX] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
4 |
DIRCHNG |
Clear the [RIS.DIRCHNG] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
3 |
CNTRCHNG |
Clear the [RIS.CNTRCHNG] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
2 |
DBLTRANS |
Clear the [RIS.DBLTRANS] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
1 |
ZERO |
Clear the [RIS.ZERO] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
0 |
TGT |
Clear the [RIS.TGT] interrupt. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
Address offset |
0x0000 007C |
||
|
Description |
Interrupt mask set register. Writing a 1 to a bit in this register will set the corresponding [IMASK.*] bit. |
||
|
Type |
WO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:12 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
WO |
0x0 0000 |
||
|
11 |
C3CC |
Set the [MIS.C3CC] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
10 |
C2CC |
Set the [MIS.C2CC] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
9 |
C1CC |
Set the [MIS.C1CC] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
8 |
C0CC |
Set the [MIS.C0CC] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
7 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
WO |
0 |
||
|
6 |
FAULT |
Set the [MIS.FAULT] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
5 |
IDX |
Set the [MIS.IDX] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
4 |
DIRCHNG |
Set the [MIS.DIRCHNG] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
3 |
CNTRCHNG |
Set the [MIS.CNTRCHNG] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
2 |
DBLTRANS |
Set the [MIS.DBLTRANS] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
1 |
ZERO |
Set the [MIS.ZERO] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
0 |
TGT |
Set the [MIS.TGT] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
SET |
|
||
|
Address offset |
0x0000 0080 |
||
|
Description |
Interrupt mask clear register. Writing a 1 to a bit in this register will clear the corresponding [IMASK.*] bit. |
||
|
Type |
WO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:12 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
WO |
0x0 0000 |
||
|
11 |
C3CC |
Clear the [MIS.C3CC] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
10 |
C2CC |
Clear the [MIS.C2CC] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
9 |
C1CC |
Clear the [MIS.C1CC] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
8 |
C0CC |
Clear the [MIS.C0CC] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
7 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
WO |
0 |
||
|
6 |
FAULT |
Clear the [MIS.FAULT] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
5 |
IDX |
Clear the [MIS.IDX] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
4 |
DIRCHNG |
Clear the [MIS.DIRCHNG] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
3 |
CNTRCHNG |
Clear the [MIS.CNTRCHNG] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
2 |
DBLTRANS |
Clear the [MIS.DBLTRANS] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
1 |
ZERO |
Clear the [MIS.ZERO] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
0 |
TGT |
Clear the [MIS.TGT] mask. |
WO |
0 |
||
|
|
|
Write 0 |
NO_EFFECT |
|
||
|
|
|
Write 1 |
CLR |
|
||
|
Address offset |
0x0000 0084 |
||
|
Description |
Debug control |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:2 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
1 |
CTL |
Halt control. |
RW |
0 |
||
|
|
|
0 |
IMMEDIATE |
|
||
|
|
|
1 |
ZERCOND |
|
||
|
0 |
HALT |
Halt LGPT when CPU is halted in debug. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
Address offset |
0x0000 00C0 |
||
|
Description |
Channel 0 Configuration |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:12 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 0000 |
||
|
11 |
OUT3 |
Output 3 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
10 |
OUT2 |
Output 2 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
9 |
OUT1 |
Output 1 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
8 |
OUT0 |
Output 0 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
7 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
6 |
INPUT |
Select channel input. |
RW |
0 |
||
|
|
|
0 |
EV |
|
||
|
|
|
1 |
IO |
|
||
|
5:4 |
EDGE |
Determines the edge that triggers the channel input event. This happens post filter. |
RW |
0x0 |
||
|
|
|
0x0 |
NONE |
|
||
|
|
|
0x1 |
RISE |
|
||
|
|
|
0x2 |
FALL |
|
||
|
|
|
0x3 |
BOTH |
|
||
|
3:0 |
CCACT |
Capture-Compare action. |
RW |
0x0 |
||
|
|
|
0x0 |
DIS |
|
||
|
|
|
0x1 |
SET_ON_CAPT_DIS |
|
||
|
|
|
0x2 |
CLR_ON_0_TGL_ON_CMP_DIS |
|
||
|
|
|
0x3 |
SET_ON_0_TGL_ON_CMP_DIS |
|
||
|
|
|
0x4 |
CLR_ON_CMP_DIS |
|
||
|
|
|
0x5 |
SET_ON_CMP_DIS |
|
||
|
|
|
0x6 |
TGL_ON_CMP_DIS |
|
||
|
|
|
0x7 |
PULSE_ON_CMP_DIS |
|
||
|
|
|
0x8 |
PER_PULSE_WIDTH_MEAS |
|
||
|
|
|
0x9 |
SET_ON_CAPT |
|
||
|
|
|
0xA |
CLR_ON_0_TGL_ON_CMP |
|
||
|
|
|
0xB |
SET_ON_0_TGL_ON_CMP |
|
||
|
|
|
0xC |
CLR_ON_CMP |
|
||
|
|
|
0xD |
SET_ON_CMP |
|
||
|
|
|
0xE |
TGL_ON_CMP |
|
||
|
|
|
0xF |
PULSE_ON_CMP |
|
||
|
Address offset |
0x0000 00C4 |
||
|
Description |
Channel 1 Configuration |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:12 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 0000 |
||
|
11 |
OUT3 |
Output 3 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
10 |
OUT2 |
Output 2 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
9 |
OUT1 |
Output 1 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
8 |
OUT0 |
Output 0 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
7 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
6 |
INPUT |
Select channel input. |
RW |
0 |
||
|
|
|
0 |
EV |
|
||
|
|
|
1 |
IO |
|
||
|
5:4 |
EDGE |
Determines the edge that triggers the channel input event. This happens post filter. |
RW |
0x0 |
||
|
|
|
0x0 |
NONE |
|
||
|
|
|
0x1 |
RISE |
|
||
|
|
|
0x2 |
FALL |
|
||
|
|
|
0x3 |
BOTH |
|
||
|
3:0 |
CCACT |
Capture-Compare action. |
RW |
0x0 |
||
|
|
|
0x0 |
DIS |
|
||
|
|
|
0x1 |
SET_ON_CAPT_DIS |
|
||
|
|
|
0x2 |
CLR_ON_0_TGL_ON_CMP_DIS |
|
||
|
|
|
0x3 |
SET_ON_0_TGL_ON_CMP_DIS |
|
||
|
|
|
0x4 |
CLR_ON_CMP_DIS |
|
||
|
|
|
0x5 |
SET_ON_CMP_DIS |
|
||
|
|
|
0x6 |
TGL_ON_CMP_DIS |
|
||
|
|
|
0x7 |
PULSE_ON_CMP_DIS |
|
||
|
|
|
0x8 |
PER_PULSE_WIDTH_MEAS |
|
||
|
|
|
0x9 |
SET_ON_CAPT |
|
||
|
|
|
0xA |
CLR_ON_0_TGL_ON_CMP |
|
||
|
|
|
0xB |
SET_ON_0_TGL_ON_CMP |
|
||
|
|
|
0xC |
CLR_ON_CMP |
|
||
|
|
|
0xD |
SET_ON_CMP |
|
||
|
|
|
0xE |
TGL_ON_CMP |
|
||
|
|
|
0xF |
PULSE_ON_CMP |
|
||
|
Address offset |
0x0000 00C8 |
||
|
Description |
Channel 2 Configuration |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:12 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 0000 |
||
|
11 |
OUT3 |
Output 3 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
10 |
OUT2 |
Output 2 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
9 |
OUT1 |
Output 1 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
8 |
OUT0 |
Output 0 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
7 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
6 |
INPUT |
Select channel input. |
RW |
0 |
||
|
|
|
0 |
EV |
|
||
|
|
|
1 |
IO |
|
||
|
5:4 |
EDGE |
Determines the edge that triggers the channel input event. This happens post filter. |
RW |
0x0 |
||
|
|
|
0x0 |
NONE |
|
||
|
|
|
0x1 |
RISE |
|
||
|
|
|
0x2 |
FALL |
|
||
|
|
|
0x3 |
BOTH |
|
||
|
3:0 |
CCACT |
Capture-Compare action. |
RW |
0x0 |
||
|
|
|
0x0 |
DIS |
|
||
|
|
|
0x1 |
SET_ON_CAPT_DIS |
|
||
|
|
|
0x2 |
CLR_ON_0_TGL_ON_CMP_DIS |
|
||
|
|
|
0x3 |
SET_ON_0_TGL_ON_CMP_DIS |
|
||
|
|
|
0x4 |
CLR_ON_CMP_DIS |
|
||
|
|
|
0x5 |
SET_ON_CMP_DIS |
|
||
|
|
|
0x6 |
TGL_ON_CMP_DIS |
|
||
|
|
|
0x7 |
PULSE_ON_CMP_DIS |
|
||
|
|
|
0x8 |
PER_PULSE_WIDTH_MEAS |
|
||
|
|
|
0x9 |
SET_ON_CAPT |
|
||
|
|
|
0xA |
CLR_ON_0_TGL_ON_CMP |
|
||
|
|
|
0xB |
SET_ON_0_TGL_ON_CMP |
|
||
|
|
|
0xC |
CLR_ON_CMP |
|
||
|
|
|
0xD |
SET_ON_CMP |
|
||
|
|
|
0xE |
TGL_ON_CMP |
|
||
|
|
|
0xF |
PULSE_ON_CMP |
|
||
|
Address offset |
0x0000 00CC |
||
|
Description |
Channel 3 Configuration |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:12 |
RESERVED_2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 0000 |
||
|
11 |
OUT3 |
Output 3 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
10 |
OUT2 |
Output 2 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
9 |
OUT1 |
Output 1 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
8 |
OUT0 |
Output 0 enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
7 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
6 |
INPUT |
Select channel input. |
RW |
0 |
||
|
|
|
0 |
EV |
|
||
|
|
|
1 |
IO |
|
||
|
5:4 |
EDGE |
Determines the edge that triggers the channel input event. This happens post filter. |
RW |
0x0 |
||
|
|
|
0x0 |
NONE |
|
||
|
|
|
0x1 |
RISE |
|
||
|
|
|
0x2 |
FALL |
|
||
|
|
|
0x3 |
BOTH |
|
||
|
3:0 |
CCACT |
Capture-Compare action. |
RW |
0x0 |
||
|
|
|
0x0 |
DIS |
|
||
|
|
|
0x1 |
SET_ON_CAPT_DIS |
|
||
|
|
|
0x2 |
CLR_ON_0_TGL_ON_CMP_DIS |
|
||
|
|
|
0x3 |
SET_ON_0_TGL_ON_CMP_DIS |
|
||
|
|
|
0x4 |
CLR_ON_CMP_DIS |
|
||
|
|
|
0x5 |
SET_ON_CMP_DIS |
|
||
|
|
|
0x6 |
TGL_ON_CMP_DIS |
|
||
|
|
|
0x7 |
PULSE_ON_CMP_DIS |
|
||
|
|
|
0x8 |
PER_PULSE_WIDTH_MEAS |
|
||
|
|
|
0x9 |
SET_ON_CAPT |
|
||
|
|
|
0xA |
CLR_ON_0_TGL_ON_CMP |
|
||
|
|
|
0xB |
SET_ON_0_TGL_ON_CMP |
|
||
|
|
|
0xC |
CLR_ON_CMP |
|
||
|
|
|
0xD |
SET_ON_CMP |
|
||
|
|
|
0xE |
TGL_ON_CMP |
|
||
|
|
|
0xF |
PULSE_ON_CMP |
|
||
|
Address offset |
0x0000 00FC |
||
|
Description |
Pipeline Target |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
The pipleline target value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 0100 |
||
|
Description |
Pipeline Channel 0 Capture Compare |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Pipeline Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 0104 |
||
|
Description |
Pipeline Channel 1 Capture Compare |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Pipeline Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 0108 |
||
|
Description |
Pipeline Channel 2 Capture Compare |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Pipeline Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 010C |
||
|
Description |
Pipeline Channel 3 Capture Compare |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Pipeline Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 013C |
||
|
Description |
Target |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
User defined counter target value. |
RW |
0xFFFF FFFF |
||
|
Address offset |
0x0000 0140 |
||
|
Description |
Channel 0 Capture Compare |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 0144 |
||
|
Description |
Channel 1 Capture Compare |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 0148 |
||
|
Description |
Channel 2 Capture Compare |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 014C |
||
|
Description |
Channel 3 Capture Compare |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 017C |
||
|
Description |
Pipeline Target No Clear |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
A read or write to this register will not clear the [RIS.TGT] interrupt. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 0180 |
||
|
Description |
Pipeline Channel 0 Capture Compare No Clear |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Pipeline Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 0184 |
||
|
Description |
Pipeline Channel 1 Capture Compare No Clear |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Pipeline Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 0188 |
||
|
Description |
Pipeline Channel 2 Capture Compare No Clear |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Pipeline Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 018C |
||
|
Description |
Pipeline Channel 3 Capture Compare No Clear |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Pipeline Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 01BC |
||
|
Description |
Target No Clear |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
User defined counter target value. |
RW |
0xFFFF FFFF |
||
|
Address offset |
0x0000 01C0 |
||
|
Description |
Channel 0 Capture Compare No Clear |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 01C4 |
||
|
Description |
Channel 1 Capture Compare No Clear |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 01C8 |
||
|
Description |
Channel 2 Capture Compare No Clear |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 01CC |
||
|
Description |
Channel 3 Capture Compare No Clear |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Capture Compare value. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 1000 |
||
|
Description |
Clock Enable Register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:1 |
RESERVED |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
0 |
ENABLE |
GPTimer main clock Enable |
RW |
0 |
||