0x40024000: analog comparator
6/11 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CTRL | ||||||||||||||||||||||||||||||||
0x4 | LAD |
Comparator control register
Offset: 0x0, reset: 0, access: read-write
5/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HYS
rw |
COMPEDGE
rw |
COMPSTAT
rw |
EDGECLR
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
COMP_VM_SEL
rw |
COMP_VP_SEL
rw |
COMPSA
rw |
EDGESEL
rw |
Bits 11-13: Selects negative voltage input.
Allowed values:
0: VOLTAGE_LADDER_OUTPUT: VOLTAGE_LADDER_OUTPUT
0x1: ACMP_I1: ACMP_I1
0x2: ACMP_I2: ACMP_I2
0x3: ACMP_I3: ACMP_I3
0x4: ACMP_I4: ACMP_I4
0x5: ACMP_I5: ACMP_I5
0x6: BAND_GAP: Band gap. Internal reference voltage.
0x7: DACOUT0: DAC0 output
Bits 25-26: Controls the hysteresis of the comparator. When the comparator is outputting a certain state, this is the difference between the selected signals, in the opposite direction from the state being output, that will switch the output..
Allowed values:
0: HYS_0: None (the output will switch as the voltages cross)
0x1: HYS_1: 5 mv
0x2: HYS_2: 10 mv
0x3: HYS_3: 20 mv
Voltage ladder register
Offset: 0x4, reset: 0, access: read-write
1/3 fields covered.
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 |
LADREF
rw |
LADSEL
rw |
LADEN
rw |
0x50000000: LPC5411x CRC engine
1/8 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODE | ||||||||||||||||||||||||||||||||
0x4 | SEED | ||||||||||||||||||||||||||||||||
0x8 | SUM | ||||||||||||||||||||||||||||||||
0x8 | WR_DATA |
CRC mode register
Offset: 0x0, reset: 0, access: read-write
0/5 fields covered.
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 |
CMPL_SUM
rw |
BIT_RVS_SUM
rw |
CMPL_WR
rw |
BIT_RVS_WR
rw |
CRC_POLY
rw |
CRC seed register
Offset: 0x4, reset: 0xFFFF, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRC_SEED
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CRC_SEED
rw |
CRC checksum register
Offset: 0x8, reset: 0xFFFF, access: read-only
1/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRC_SUM
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CRC_SUM
r |
CRC data register
Offset: 0x8, reset: 0, access: write-only
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRC_WR_DATA
w |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CRC_WR_DATA
w |
0x40040000: NVMC flash controller
2/5 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x10 | FLASHCFG | ||||||||||||||||||||||||||||||||
0x20 | FMSSTART | ||||||||||||||||||||||||||||||||
0x24 | FMSSTOP | ||||||||||||||||||||||||||||||||
0x2c | FMSW0 |
Flash configuration register
Offset: 0x10, reset: 0x2, access: read-write
1/1 fields covered.
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 |
FLASHTIM
rw |
Bits 0-1: Flash memory access time. FLASHTIM +1 is equal to the number of system clocks used for flash access..
Allowed values:
0: ONE_SYSTEM_CLOCK_FLASH_ACCESS: 1 system clock flash access time.
0x1: TWO_SYSTEM_CLOCK_FLASH_ACCESS: 2 system clock flash access time.
0x2: THREE_SYSTEM_CLOCK_FLASH_ACCESS: 3 system clock flash access time.
Flash signature start address register
Offset: 0x20, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
START
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
START
rw |
Flash signaure stop address register
Offset: 0x24, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STRTBIST
rw |
STOPA
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STOPA
rw |
Flash signature generation result register returns the flash signature produced by the embedded signature generator..
Offset: 0x2c, reset: 0, access: read-only
1/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SIG
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SIG
r |
0xa0000000: General Purpose I/O (GPIO)
0/43 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | B0_0 | ||||||||||||||||||||||||||||||||
0x1 | B0_1 | ||||||||||||||||||||||||||||||||
0x2 | B0_2 | ||||||||||||||||||||||||||||||||
0x3 | B0_3 | ||||||||||||||||||||||||||||||||
0x4 | B0_4 | ||||||||||||||||||||||||||||||||
0x5 | B0_5 | ||||||||||||||||||||||||||||||||
0x6 | B0_6 | ||||||||||||||||||||||||||||||||
0x7 | B0_7 | ||||||||||||||||||||||||||||||||
0x8 | B0_8 | ||||||||||||||||||||||||||||||||
0x9 | B0_9 | ||||||||||||||||||||||||||||||||
0xa | B0_10 | ||||||||||||||||||||||||||||||||
0xb | B0_11 | ||||||||||||||||||||||||||||||||
0xc | B0_12 | ||||||||||||||||||||||||||||||||
0xd | B0_13 | ||||||||||||||||||||||||||||||||
0xe | B0_14 | ||||||||||||||||||||||||||||||||
0xf | B0_15 | ||||||||||||||||||||||||||||||||
0x10 | B0_16 | ||||||||||||||||||||||||||||||||
0x11 | B0_17 | ||||||||||||||||||||||||||||||||
0x1000 | W0_0 | ||||||||||||||||||||||||||||||||
0x1004 | W0_1 | ||||||||||||||||||||||||||||||||
0x1008 | W0_2 | ||||||||||||||||||||||||||||||||
0x100c | W0_3 | ||||||||||||||||||||||||||||||||
0x1010 | W0_4 | ||||||||||||||||||||||||||||||||
0x1014 | W0_5 | ||||||||||||||||||||||||||||||||
0x1018 | W0_6 | ||||||||||||||||||||||||||||||||
0x101c | W0_7 | ||||||||||||||||||||||||||||||||
0x1020 | W0_8 | ||||||||||||||||||||||||||||||||
0x1024 | W0_9 | ||||||||||||||||||||||||||||||||
0x1028 | W0_10 | ||||||||||||||||||||||||||||||||
0x102c | W0_11 | ||||||||||||||||||||||||||||||||
0x1030 | W0_12 | ||||||||||||||||||||||||||||||||
0x1034 | W0_13 | ||||||||||||||||||||||||||||||||
0x1038 | W0_14 | ||||||||||||||||||||||||||||||||
0x103c | W0_15 | ||||||||||||||||||||||||||||||||
0x1040 | W0_16 | ||||||||||||||||||||||||||||||||
0x1044 | W0_17 | ||||||||||||||||||||||||||||||||
0x2000 | DIR0 | ||||||||||||||||||||||||||||||||
0x2080 | MASK0 | ||||||||||||||||||||||||||||||||
0x2100 | PIN0 | ||||||||||||||||||||||||||||||||
0x2180 | MPIN0 | ||||||||||||||||||||||||||||||||
0x2200 | SET0 | ||||||||||||||||||||||||||||||||
0x2280 | CLR0 | ||||||||||||||||||||||||||||||||
0x2300 | NOT0 |
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0x0, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0x1, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0x2, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0x3, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0x4, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0x5, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0x6, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0x7, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0x8, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0x9, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0xa, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0xb, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0xc, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0xd, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0xe, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0xf, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0x10, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Byte pin registers for all port 0 and 1 GPIO pins
Offset: 0x11, reset: 0, access: read-write
0/1 fields covered.
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 |
PBYTE
rw |
Bit 0: Read: state of the pin PIOm_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. One register for each port pin. Supported pins depends on the specific device and package. Write: loads the pin's output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1000, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1004, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1008, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x100c, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1010, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1014, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1018, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x101c, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1020, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1024, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1028, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x102c, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1030, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1034, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1038, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x103c, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1040, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Word pin registers for all port 0 and 1 GPIO pins
Offset: 0x1044, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWORD
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PWORD
rw |
Bits 0-31: Read 0: pin PIOm_n is LOW. Write 0: clear output bit. Read 0xFFFF FFFF: pin PIOm_n is HIGH. Write any value 0x0000 0001 to 0xFFFF FFFF: set output bit. Only 0 or 0xFFFF FFFF can be read. Writing any value other than 0 will set the output bit. One register for each port pin. Supported pins depends on the specific device and package..
Direction registers
Offset: 0x2000, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DIRP
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DIRP
rw |
Mask register
Offset: 0x2080, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MASKP
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MASKP
rw |
Bits 0-17: Controls which bits corresponding to PIOm_n are active in the MPORT register (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected..
Port pin register
Offset: 0x2100, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PORT
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PORT
rw |
Masked port register
Offset: 0x2180, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MPORTP
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MPORTP
rw |
Bits 0-17: Masked port register (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0..
Write: Set register for port Read: output bits for port
Offset: 0x2200, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SETP
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SETP
rw |
Clear port
Offset: 0x2280, reset: 0, access: write-only
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CLRP
w |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CLRP
w |
Toggle port
Offset: 0x2300, reset: 0, access: write-only
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NOTP
w |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NOTP
w |
0x40050000: I2C-bus interfaces
59/80 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CFG | ||||||||||||||||||||||||||||||||
0x4 | STAT | ||||||||||||||||||||||||||||||||
0x8 | INTENSET | ||||||||||||||||||||||||||||||||
0xc | INTENCLR | ||||||||||||||||||||||||||||||||
0x10 | TIMEOUT | ||||||||||||||||||||||||||||||||
0x14 | CLKDIV | ||||||||||||||||||||||||||||||||
0x18 | INTSTAT | ||||||||||||||||||||||||||||||||
0x20 | MSTCTL | ||||||||||||||||||||||||||||||||
0x24 | MSTTIME | ||||||||||||||||||||||||||||||||
0x28 | MSTDAT | ||||||||||||||||||||||||||||||||
0x40 | SLVCTL | ||||||||||||||||||||||||||||||||
0x44 | SLVDAT | ||||||||||||||||||||||||||||||||
0x48 | SLVADR[[0]] | ||||||||||||||||||||||||||||||||
0x4c | SLVADR[[1]] | ||||||||||||||||||||||||||||||||
0x50 | SLVADR[[2]] | ||||||||||||||||||||||||||||||||
0x54 | SLVADR[[3]] | ||||||||||||||||||||||||||||||||
0x58 | SLVQUAL0 | ||||||||||||||||||||||||||||||||
0x80 | MONRXDAT |
Configuration for shared functions.
Offset: 0x0, reset: 0, access: read-write
5/5 fields covered.
Bit 3: I2C bus Time-out Enable. When disabled, the time-out function is internally reset..
Allowed values:
0: DISABLED: Disabled. Time-out function is disabled.
0x1: ENABLED: Enabled. Time-out function is enabled. Both types of time-out flags will be generated and will cause interrupts if they are enabled. Typically, only one time-out will be used in a system.
Bit 4: Monitor function Clock Stretching..
Allowed values:
0: DISABLED: Disabled. The Monitor function will not perform clock stretching. Software or DMA may not always be able to read data provided by the Monitor function before it is overwritten. This mode may be used when non-invasive monitoring is critical.
0x1: ENABLED: Enabled. The Monitor function will perform clock stretching in order to ensure that software or DMA can read all incoming data supplied by the Monitor function.
Status register for Master, Slave, and Monitor functions.
Offset: 0x4, reset: 0x801, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SCLTIMEOUT
rw |
EVENTTIMEOUT
rw |
MONIDLE
rw |
MONACTIVE
r |
MONOV
rw |
MONRDY
r |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SLVDESEL
rw |
SLVSEL
r |
SLVIDX
r |
SLVNOTSTR
r |
SLVSTATE
r |
SLVPENDING
r |
MSTSTSTPERR
rw |
MSTARBLOSS
rw |
MSTSTATE
r |
MSTPENDING
r |
Bit 0: Master Pending. Indicates that the Master is waiting to continue communication on the I2C-bus (pending) or is idle. When the master is pending, the MSTSTATE bits indicate what type of software service if any the master expects. This flag will cause an interrupt when set if, enabled via the INTENSET register. The MSTPENDING flag is not set when the DMA is handling an event (if the MSTDMA bit in the MSTCTL register is set). If the master is in the idle state, and no communication is needed, mask this interrupt..
Allowed values:
0: IN_PROGRESS: In progress. Communication is in progress and the Master function is busy and cannot currently accept a command.
0x1: PENDING: Pending. The Master function needs software service or is in the idle state. If the master is not in the idle state, it is waiting to receive or transmit data or the NACK bit.
Bits 1-3: Master State code. The master state code reflects the master state when the MSTPENDING bit is set, that is the master is pending or in the idle state. Each value of this field indicates a specific required service for the Master function. All other values are reserved. See Table 400 for details of state values and appropriate responses..
Allowed values:
0: IDLE: Idle. The Master function is available to be used for a new transaction.
0x1: RECEIVE_READY: Receive ready. Received data available (Master Receiver mode). Address plus Read was previously sent and Acknowledged by slave.
0x2: TRANSMIT_READY: Transmit ready. Data can be transmitted (Master Transmitter mode). Address plus Write was previously sent and Acknowledged by slave.
0x3: NACK_ADDRESS: NACK Address. Slave NACKed address.
0x4: NACK_DATA: NACK Data. Slave NACKed transmitted data.
Bit 4: Master Arbitration Loss flag. This flag can be cleared by software writing a 1 to this bit. It is also cleared automatically a 1 is written to MSTCONTINUE..
Allowed values:
0: NO_LOSS: No Arbitration Loss has occurred.
0x1: ARBITRATION_LOSS: Arbitration loss. The Master function has experienced an Arbitration Loss. At this point, the Master function has already stopped driving the bus and gone to an idle state. Software can respond by doing nothing, or by sending a Start in order to attempt to gain control of the bus when it next becomes idle.
Bit 6: Master Start/Stop Error flag. This flag can be cleared by software writing a 1 to this bit. It is also cleared automatically a 1 is written to MSTCONTINUE..
Allowed values:
0: NO_ERROR: No Start/Stop Error has occurred.
0x1: ERROR: The Master function has experienced a Start/Stop Error. A Start or Stop was detected at a time when it is not allowed by the I2C specification. The Master interface has stopped driving the bus and gone to an idle state, no action is required. A request for a Start could be made, or software could attempt to insure that the bus has not stalled.
Bit 8: Slave Pending. Indicates that the Slave function is waiting to continue communication on the I2C-bus and needs software service. This flag will cause an interrupt when set if enabled via INTENSET. The SLVPENDING flag is not set when the DMA is handling an event (if the SLVDMA bit in the SLVCTL register is set). The SLVPENDING flag is read-only and is automatically cleared when a 1 is written to the SLVCONTINUE bit in the SLVCTL register. The point in time when SlvPending is set depends on whether the I2C interface is in HSCAPABLE mode. See Section 25.7.2.2.2. When the I2C interface is configured to be HSCAPABLE, HS master codes are detected automatically. Due to the requirements of the HS I2C specification, slave addresses must also be detected automatically, since the address must be acknowledged before the clock can be stretched..
Allowed values:
0: IN_PROGRESS: In progress. The Slave function does not currently need service.
0x1: PENDING: Pending. The Slave function needs service. Information on what is needed can be found in the adjacent SLVSTATE field.
Bits 9-10: Slave State code. Each value of this field indicates a specific required service for the Slave function. All other values are reserved. See Table 401 for state values and actions. note that the occurrence of some states and how they are handled are affected by DMA mode and Automatic Operation modes..
Allowed values:
0: SLAVE_ADDRESS: Slave address. Address plus R/W received. At least one of the four slave addresses has been matched by hardware.
0x1: SLAVE_RECEIVE: Slave receive. Received data is available (Slave Receiver mode).
0x2: SLAVE_TRANSMIT: Slave transmit. Data can be transmitted (Slave Transmitter mode).
Bit 11: Slave Not Stretching. Indicates when the slave function is stretching the I2C clock. This is needed in order to gracefully invoke Deep Sleep or Power-down modes during slave operation. This read-only flag reflects the slave function status in real time..
Allowed values:
0: STRETCHING: Stretching. The slave function is currently stretching the I2C bus clock. Deep-Sleep or Power-down mode cannot be entered at this time.
0x1: NOT_STRETCHING: Not stretching. The slave function is not currently stretching the I 2C bus clock. Deep-sleep or Power-down mode could be entered at this time.
Bits 12-13: Slave address match Index. This field is valid when the I2C slave function has been selected by receiving an address that matches one of the slave addresses defined by any enabled slave address registers, and provides an identification of the address that was matched. It is possible that more than one address could be matched, but only one match can be reported here..
Allowed values:
0: ADDRESS0: Address 0. Slave address 0 was matched.
0x1: ADDRESS1: Address 1. Slave address 1 was matched.
0x2: ADDRESS2: Address 2. Slave address 2 was matched.
0x3: ADDRESS3: Address 3. Slave address 3 was matched.
Bit 14: Slave selected flag. SLVSEL is set after an address match when software tells the Slave function to acknowledge the address, or when the address has been automatically acknowledged. It is cleared when another address cycle presents an address that does not match an enabled address on the Slave function, when slave software decides to NACK a matched address, when there is a Stop detected on the bus, when the master NACKs slave data, and in some combinations of Automatic Operation. SLVSEL is not cleared if software NACKs data..
Allowed values:
0: NOT_SELECTED: Not selected. The Slave function is not currently selected.
0x1: SELECTED: Selected. The Slave function is currently selected.
Bit 15: Slave Deselected flag. This flag will cause an interrupt when set if enabled via INTENSET. This flag can be cleared by writing a 1 to this bit..
Allowed values:
0: NOT_DESELECTED: Not deselected. The Slave function has not become deselected. This does not mean that it is currently selected. That information can be found in the SLVSEL flag.
0x1: DESELECTED: Deselected. The Slave function has become deselected. This is specifically caused by the SLVSEL flag changing from 1 to 0. See the description of SLVSEL for details on when that event occurs.
Bit 17: Monitor Overflow flag..
Allowed values:
0: NO_OVERRUN: No overrun. Monitor data has not overrun.
0x1: OVERRUN: Overrun. A Monitor data overrun has occurred. This can only happen when Monitor clock stretching not enabled via the MONCLKSTR bit in the CFG register. Writing 1 to this bit clears the flag.
Bit 18: Monitor Active flag. Indicates when the Monitor function considers the I 2C bus to be active. Active is defined here as when some Master is on the bus: a bus Start has occurred more recently than a bus Stop..
Allowed values:
0: INACTIVE: Inactive. The Monitor function considers the I2C bus to be inactive.
0x1: ACTIVE: Active. The Monitor function considers the I2C bus to be active.
Bit 19: Monitor Idle flag. This flag is set when the Monitor function sees the I2C bus change from active to inactive. This can be used by software to decide when to process data accumulated by the Monitor function. This flag will cause an interrupt when set if enabled via the INTENSET register. The flag can be cleared by writing a 1 to this bit..
Allowed values:
0: NOT_IDLE: Not idle. The I2C bus is not idle, or this flag has been cleared by software.
0x1: IDLE: Idle. The I2C bus has gone idle at least once since the last time this flag was cleared by software.
Bit 24: Event Time-out Interrupt flag. Indicates when the time between events has been longer than the time specified by the TIMEOUT register. Events include Start, Stop, and clock edges. The flag is cleared by writing a 1 to this bit. No time-out is created when the I2C-bus is idle..
Allowed values:
0: NO_TIMEOUT: No time-out. I2C bus events have not caused a time-out.
0x1: EVEN_TIMEOUT: Event time-out. The time between I2C bus events has been longer than the time specified by the TIMEOUT register.
Bit 25: SCL Time-out Interrupt flag. Indicates when SCL has remained low longer than the time specific by the TIMEOUT register. The flag is cleared by writing a 1 to this bit..
Allowed values:
0: NO_TIMEOUT: No time-out. SCL low time has not caused a time-out.
0x1: TIMEOUT: Time-out. SCL low time has caused a time-out.
Interrupt Enable Set and read register.
Offset: 0x8, reset: 0, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SCLTIMEOUTEN
rw |
EVENTTIMEOUTEN
rw |
MONIDLEEN
rw |
MONOVEN
rw |
MONRDYEN
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SLVDESELEN
rw |
SLVNOTSTREN
rw |
SLVPENDINGEN
rw |
MSTSTSTPERREN
rw |
MSTARBLOSSEN
rw |
MSTPENDINGEN
rw |
Interrupt Enable Clear register.
Offset: 0xc, reset: 0, access: write-only
0/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SCLTIMEOUTCLR
w |
EVENTTIMEOUTCLR
w |
MONIDLECLR
w |
MONOVCLR
w |
MONRDYCLR
w |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SLVDESELCLR
w |
SLVNOTSTRCLR
w |
SLVPENDINGCLR
w |
MSTSTSTPERRCLR
w |
MSTARBLOSSCLR
w |
MSTPENDINGCLR
w |
Time-out value register.
Offset: 0x10, reset: 0xFFFF, access: read-write
0/2 fields covered.
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 |
TO
rw |
TOMIN
rw |
Bits 4-15: Time-out time value. Specifies the time-out interval value in increments of 16 I 2C function clocks, as defined by the CLKDIV register. To change this value while I2C is in operation, disable all time-outs, write a new value to TIMEOUT, then re-enable time-outs. 0x000 = A time-out will occur after 16 counts of the I2C function clock. 0x001 = A time-out will occur after 32 counts of the I2C function clock. 0xFFF = A time-out will occur after 65,536 counts of the I2C function clock..
Clock pre-divider for the entire I2C interface. This determines what time increments are used for the MSTTIME register, and controls some timing of the Slave function.
Offset: 0x14, reset: 0, access: read-write
0/1 fields covered.
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 |
DIVVAL
rw |
Bits 0-15: This field controls how the Flexcomm clock (FCLK) is used by the I2C functions that need an internal clock in order to operate. 0x0000 = FCLK is used directly by the I2C. 0x0001 = FCLK is divided by 2 before use. 0x0002 = FCLK is divided by 3 before use. 0xFFFF = FCLK is divided by 65,536 before use..
Interrupt Status register for Master, Slave, and Monitor functions.
Offset: 0x18, reset: 0x801, access: read-only
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SCLTIMEOUT
r |
EVENTTIMEOUT
r |
MONIDLE
r |
MONOV
r |
MONRDY
r |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SLVDESEL
r |
SLVNOTSTR
r |
SLVPENDING
r |
MSTSTSTPERR
r |
MSTARBLOSS
r |
MSTPENDING
r |
Master control register.
Offset: 0x20, reset: 0, access: read-write
3/3 fields covered.
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 |
MSTSTOP
rw |
MSTSTART
rw |
MSTCONTINUE
rw |
Master timing configuration.
Offset: 0x24, reset: 0x77, access: read-write
2/2 fields covered.
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 |
MSTSCLHIGH
rw |
MSTSCLLOW
rw |
Bits 0-2: Master SCL Low time. Specifies the minimum low time that will be asserted by this master on SCL. Other devices on the bus (masters or slaves) could lengthen this time. This corresponds to the parameter t LOW in the I2C bus specification. I2C bus specification parameters tBUF and tSU;STA have the same values and are also controlled by MSTSCLLOW..
Allowed values:
0: CLOCKS_2: 2 clocks. Minimum SCL low time is 2 clocks of the I2C clock pre-divider.
0x1: CLOCKS_3: 3 clocks. Minimum SCL low time is 3 clocks of the I2C clock pre-divider.
0x2: CLOCKS_4: 4 clocks. Minimum SCL low time is 4 clocks of the I2C clock pre-divider.
0x3: CLOCKS_5: 5 clocks. Minimum SCL low time is 5 clocks of the I2C clock pre-divider.
0x4: CLOCKS_6: 6 clocks. Minimum SCL low time is 6 clocks of the I2C clock pre-divider.
0x5: CLOCKS_7: 7 clocks. Minimum SCL low time is 7 clocks of the I2C clock pre-divider.
0x6: CLOCKS_8: 8 clocks. Minimum SCL low time is 8 clocks of the I2C clock pre-divider.
0x7: CLOCKS_9: 9 clocks. Minimum SCL low time is 9 clocks of the I2C clock pre-divider.
Bits 4-6: Master SCL High time. Specifies the minimum high time that will be asserted by this master on SCL. Other masters in a multi-master system could shorten this time. This corresponds to the parameter tHIGH in the I2C bus specification. I2C bus specification parameters tSU;STO and tHD;STA have the same values and are also controlled by MSTSCLHIGH..
Allowed values:
0: CLOCKS_2: 2 clocks. Minimum SCL high time is 2 clock of the I2C clock pre-divider.
0x1: CLOCKS_3: 3 clocks. Minimum SCL high time is 3 clocks of the I2C clock pre-divider .
0x2: CLOCKS_4: 4 clocks. Minimum SCL high time is 4 clock of the I2C clock pre-divider.
0x3: CLOCKS_5: 5 clocks. Minimum SCL high time is 5 clock of the I2C clock pre-divider.
0x4: CLOCKS_6: 6 clocks. Minimum SCL high time is 6 clock of the I2C clock pre-divider.
0x5: CLOCKS_7: 7 clocks. Minimum SCL high time is 7 clock of the I2C clock pre-divider.
0x6: CLOCKS_8: 8 clocks. Minimum SCL high time is 8 clock of the I2C clock pre-divider.
0x7: CLOCKS_9: 9 clocks. Minimum SCL high time is 9 clocks of the I2C clock pre-divider.
Combined Master receiver and transmitter data register.
Offset: 0x28, reset: 0, access: read-write
0/1 fields covered.
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 |
DATA
rw |
Slave control register.
Offset: 0x40, reset: 0, access: read-write
2/2 fields covered.
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 |
SLVNACK
rw |
SLVCONTINUE
rw |
Combined Slave receiver and transmitter data register.
Offset: 0x44, reset: 0, access: read-write
0/1 fields covered.
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 |
DATA
rw |
Slave address register.
Offset: 0x48, reset: 0x1, access: read-write
1/2 fields covered.
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 |
SLVADR
rw |
SADISABLE
rw |
Slave address register.
Offset: 0x4c, reset: 0x1, access: read-write
1/2 fields covered.
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 |
SLVADR
rw |
SADISABLE
rw |
Slave address register.
Offset: 0x50, reset: 0x1, access: read-write
1/2 fields covered.
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 |
SLVADR
rw |
SADISABLE
rw |
Slave address register.
Offset: 0x54, reset: 0x1, access: read-write
1/2 fields covered.
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 |
SLVADR
rw |
SADISABLE
rw |
Slave Qualification for address 0.
Offset: 0x58, reset: 0, access: read-write
1/2 fields covered.
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 |
SLVQUAL0
rw |
QUALMODE0
rw |
Bits 1-7: Slave address Qualifier for address 0. A value of 0 causes the address in SLVADR0 to be used as-is, assuming that it is enabled. If QUALMODE0 = 0, any bit in this field which is set to 1 will cause an automatic match of the corresponding bit of the received address when it is compared to the SLVADR0 register. If QUALMODE0 = 1, an address range is matched for address 0. This range extends from the value defined by SLVADR0 to the address defined by SLVQUAL0 (address matches when SLVADR0[7:1] <= received address <= SLVQUAL0[7:1])..
Monitor receiver data register.
Offset: 0x80, reset: 0, access: read-only
4/4 fields covered.
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 |
MONNACK
r |
MONRESTART
r |
MONSTART
r |
MONRXDAT
r |
Bit 9: Monitor Received Repeated Start..
Allowed values:
0: NOT_DETECTED: No repeated start detected. The Monitor function has not detected a Repeated Start event on the I2C bus.
0x1: DETECTED: Repeated start detected. The Monitor function has detected a Repeated Start event on the I2C bus.
Bit 10: Monitor Received NACK..
Allowed values:
0: ACKNOWLEDGED: Acknowledged. The data currently being provided by the Monitor function was acknowledged by at least one master or slave receiver.
0x1: NOT_ACKNOWLEDGED: Not acknowledged. The data currently being provided by the Monitor function was not acknowledged by any receiver.
0x40044000: I/O pin configuration (IOCON)
104/104 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | PIO0_17 | ||||||||||||||||||||||||||||||||
0x4 | PIO0_13 | ||||||||||||||||||||||||||||||||
0x8 | PIO0_12 | ||||||||||||||||||||||||||||||||
0xc | PIO0_5 | ||||||||||||||||||||||||||||||||
0x10 | PIO0_4 | ||||||||||||||||||||||||||||||||
0x14 | PIO0_3 | ||||||||||||||||||||||||||||||||
0x18 | PIO0_2 | ||||||||||||||||||||||||||||||||
0x1c | PIO0_11 | ||||||||||||||||||||||||||||||||
0x20 | PIO0_10 | ||||||||||||||||||||||||||||||||
0x24 | PIO0_16 | ||||||||||||||||||||||||||||||||
0x28 | PIO0_15 | ||||||||||||||||||||||||||||||||
0x2c | PIO0_1 | ||||||||||||||||||||||||||||||||
0x34 | PIO0_9 | ||||||||||||||||||||||||||||||||
0x38 | PIO0_8 | ||||||||||||||||||||||||||||||||
0x3c | PIO0_7 | ||||||||||||||||||||||||||||||||
0x40 | PIO0_6 | ||||||||||||||||||||||||||||||||
0x44 | PIO0_0 | ||||||||||||||||||||||||||||||||
0x48 | PIO0_14 |
Digital I/O control for pins PIO0_17
Offset: 0x0, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_13
Offset: 0x4, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_12
Offset: 0x8, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_5
Offset: 0xc, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_4
Offset: 0x10, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_3
Offset: 0x14, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_2
Offset: 0x18, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_11
Offset: 0x1c, reset: 0x80, access: read-write
4/4 fields covered.
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 |
CLK_DIV
rw |
S_MODE
rw |
I2CMODE
rw |
INV
rw |
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_10
Offset: 0x20, reset: 0x80, access: read-write
4/4 fields covered.
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 |
CLK_DIV
rw |
S_MODE
rw |
I2CMODE
rw |
INV
rw |
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_16
Offset: 0x24, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_15
Offset: 0x28, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_1
Offset: 0x2c, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_9
Offset: 0x34, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_8
Offset: 0x38, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_7
Offset: 0x3c, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_6
Offset: 0x40, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_0
Offset: 0x44, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
Digital I/O control for pins PIO0_14
Offset: 0x48, reset: 0x90, access: read-write
6/6 fields covered.
Bits 3-4: Selects function mode (on-chip pull-up/pull-down resistor control)..
Allowed values:
0: INACTIVE: Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1: PULL_DOWN: Pull-down. Pull-down resistor enabled.
0x2: PULL_UP: Pull-up. Pull-up resistor enabled.
0x3: REPEATER: Repeater. Repeater mode.
Bits 11-12: Digital filter sample mode..
Allowed values:
0: S_MODE_0: Bypass input filter.
0x1: S_MODE_1: 1 clock cycle. Input pulses shorter than one filter clock are rejected.
0x2: S_MODE_2: 2 clock cycles. Input pulses shorter than two filter clocks are rejected.
0x3: S_MODE_3: 3 clock cycles. Input pulses shorter than three filter clocks are rejected.
Bits 13-15: Select peripheral clock divider for input filter sampling clock. Value 0x7 is reserved..
Allowed values:
0: CLK_DIV_0: IOCONCLKDIV0
0x1: CLK_DIV_1: IOCONCLKDIV1
0x2: CLK_DIV_2: IOCONCLKDIV2
0x3: CLK_DIV_3: IOCONCLKDIV3
0x4: CLK_DIV_4: IOCONCLKDIV4
0x5: CLK_DIV_5: IOCONCLKDIV5
0x6: CLK_DIV_6: IOCONCLKDIV6
0x40004000: Multi-Rate Timer (MRT)
28/35 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | INTVAL [0] | ||||||||||||||||||||||||||||||||
0x4 | TIMER [0] | ||||||||||||||||||||||||||||||||
0x8 | CTRL [0] | ||||||||||||||||||||||||||||||||
0xc | STAT [0] | ||||||||||||||||||||||||||||||||
0x10 | INTVAL [1] | ||||||||||||||||||||||||||||||||
0x14 | TIMER [1] | ||||||||||||||||||||||||||||||||
0x18 | CTRL [1] | ||||||||||||||||||||||||||||||||
0x1c | STAT [1] | ||||||||||||||||||||||||||||||||
0x20 | INTVAL [2] | ||||||||||||||||||||||||||||||||
0x24 | TIMER [2] | ||||||||||||||||||||||||||||||||
0x28 | CTRL [2] | ||||||||||||||||||||||||||||||||
0x2c | STAT [2] | ||||||||||||||||||||||||||||||||
0x30 | INTVAL [3] | ||||||||||||||||||||||||||||||||
0x34 | TIMER [3] | ||||||||||||||||||||||||||||||||
0x38 | CTRL [3] | ||||||||||||||||||||||||||||||||
0x3c | STAT [3] | ||||||||||||||||||||||||||||||||
0xf0 | MODCFG | ||||||||||||||||||||||||||||||||
0xf4 | IDLE_CH | ||||||||||||||||||||||||||||||||
0xf8 | IRQ_FLAG |
MRT Time interval value register. This value is loaded into the TIMER register.
Offset: 0x0, reset: 0, access: read-write
1/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOAD
rw |
IVALUE
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IVALUE
rw |
Bits 0-30: Time interval load value. This value is loaded into the TIMERn register and the MRT channel n starts counting down from IVALUE -1. If the timer is idle, writing a non-zero value to this bit field starts the timer immediately. If the timer is running, writing a zero to this bit field does the following: If LOAD = 1, the timer stops immediately. If LOAD = 0, the timer stops at the end of the time interval..
Bit 31: Determines how the timer interval value IVALUE -1 is loaded into the TIMERn register. This bit is write-only. Reading this bit always returns 0..
Allowed values:
0: NO_FORCE_LOAD: No force load. The load from the INTVALn register to the TIMERn register is processed at the end of the time interval if the repeat mode is selected.
0x1: FORCE_LOAD: Force load. The INTVALn interval value IVALUE -1 is immediately loaded into the TIMERn register while TIMERn is running.
MRT Timer register. This register reads the value of the down-counter.
Offset: 0x4, reset: 0xFFFFFF, access: read-only
1/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VALUE
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
VALUE
r |
Bits 0-30: Holds the current timer value of the down-counter. The initial value of the TIMERn register is loaded as IVALUE - 1 from the INTVALn register either at the end of the time interval or immediately in the following cases: INTVALn register is updated in the idle state. INTVALn register is updated with LOAD = 1. When the timer is in idle state, reading this bit fields returns -1 (0x00FF FFFF)..
MRT Control register. This register controls the MRT modes.
Offset: 0x8, reset: 0, access: read-write
2/2 fields covered.
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 |
MODE
rw |
INTEN
rw |
MRT Status register.
Offset: 0xc, reset: 0, access: read-write
2/2 fields covered.
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 |
RUN
rw |
INTFLAG
rw |
Bit 0: Monitors the interrupt flag..
Allowed values:
0: NO_PENDING_INTERRUPT: No pending interrupt. Writing a zero is equivalent to no operation.
0x1: PENDING_INTERRUPT: Pending interrupt. The interrupt is pending because TIMERn has reached the end of the time interval. If the INTEN bit in the CONTROLn is also set to 1, the interrupt for timer channel n and the global interrupt are raised. Writing a 1 to this bit clears the interrupt request.
MRT Time interval value register. This value is loaded into the TIMER register.
Offset: 0x10, reset: 0, access: read-write
1/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOAD
rw |
IVALUE
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IVALUE
rw |
Bits 0-30: Time interval load value. This value is loaded into the TIMERn register and the MRT channel n starts counting down from IVALUE -1. If the timer is idle, writing a non-zero value to this bit field starts the timer immediately. If the timer is running, writing a zero to this bit field does the following: If LOAD = 1, the timer stops immediately. If LOAD = 0, the timer stops at the end of the time interval..
Bit 31: Determines how the timer interval value IVALUE -1 is loaded into the TIMERn register. This bit is write-only. Reading this bit always returns 0..
Allowed values:
0: NO_FORCE_LOAD: No force load. The load from the INTVALn register to the TIMERn register is processed at the end of the time interval if the repeat mode is selected.
0x1: FORCE_LOAD: Force load. The INTVALn interval value IVALUE -1 is immediately loaded into the TIMERn register while TIMERn is running.
MRT Timer register. This register reads the value of the down-counter.
Offset: 0x14, reset: 0xFFFFFF, access: read-only
1/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VALUE
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
VALUE
r |
Bits 0-30: Holds the current timer value of the down-counter. The initial value of the TIMERn register is loaded as IVALUE - 1 from the INTVALn register either at the end of the time interval or immediately in the following cases: INTVALn register is updated in the idle state. INTVALn register is updated with LOAD = 1. When the timer is in idle state, reading this bit fields returns -1 (0x00FF FFFF)..
MRT Control register. This register controls the MRT modes.
Offset: 0x18, reset: 0, access: read-write
2/2 fields covered.
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 |
MODE
rw |
INTEN
rw |
MRT Status register.
Offset: 0x1c, reset: 0, access: read-write
2/2 fields covered.
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 |
RUN
rw |
INTFLAG
rw |
Bit 0: Monitors the interrupt flag..
Allowed values:
0: NO_PENDING_INTERRUPT: No pending interrupt. Writing a zero is equivalent to no operation.
0x1: PENDING_INTERRUPT: Pending interrupt. The interrupt is pending because TIMERn has reached the end of the time interval. If the INTEN bit in the CONTROLn is also set to 1, the interrupt for timer channel n and the global interrupt are raised. Writing a 1 to this bit clears the interrupt request.
MRT Time interval value register. This value is loaded into the TIMER register.
Offset: 0x20, reset: 0, access: read-write
1/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOAD
rw |
IVALUE
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IVALUE
rw |
Bits 0-30: Time interval load value. This value is loaded into the TIMERn register and the MRT channel n starts counting down from IVALUE -1. If the timer is idle, writing a non-zero value to this bit field starts the timer immediately. If the timer is running, writing a zero to this bit field does the following: If LOAD = 1, the timer stops immediately. If LOAD = 0, the timer stops at the end of the time interval..
Bit 31: Determines how the timer interval value IVALUE -1 is loaded into the TIMERn register. This bit is write-only. Reading this bit always returns 0..
Allowed values:
0: NO_FORCE_LOAD: No force load. The load from the INTVALn register to the TIMERn register is processed at the end of the time interval if the repeat mode is selected.
0x1: FORCE_LOAD: Force load. The INTVALn interval value IVALUE -1 is immediately loaded into the TIMERn register while TIMERn is running.
MRT Timer register. This register reads the value of the down-counter.
Offset: 0x24, reset: 0xFFFFFF, access: read-only
1/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VALUE
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
VALUE
r |
Bits 0-30: Holds the current timer value of the down-counter. The initial value of the TIMERn register is loaded as IVALUE - 1 from the INTVALn register either at the end of the time interval or immediately in the following cases: INTVALn register is updated in the idle state. INTVALn register is updated with LOAD = 1. When the timer is in idle state, reading this bit fields returns -1 (0x00FF FFFF)..
MRT Control register. This register controls the MRT modes.
Offset: 0x28, reset: 0, access: read-write
2/2 fields covered.
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 |
MODE
rw |
INTEN
rw |
MRT Status register.
Offset: 0x2c, reset: 0, access: read-write
2/2 fields covered.
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 |
RUN
rw |
INTFLAG
rw |
Bit 0: Monitors the interrupt flag..
Allowed values:
0: NO_PENDING_INTERRUPT: No pending interrupt. Writing a zero is equivalent to no operation.
0x1: PENDING_INTERRUPT: Pending interrupt. The interrupt is pending because TIMERn has reached the end of the time interval. If the INTEN bit in the CONTROLn is also set to 1, the interrupt for timer channel n and the global interrupt are raised. Writing a 1 to this bit clears the interrupt request.
MRT Time interval value register. This value is loaded into the TIMER register.
Offset: 0x30, reset: 0, access: read-write
1/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOAD
rw |
IVALUE
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IVALUE
rw |
Bits 0-30: Time interval load value. This value is loaded into the TIMERn register and the MRT channel n starts counting down from IVALUE -1. If the timer is idle, writing a non-zero value to this bit field starts the timer immediately. If the timer is running, writing a zero to this bit field does the following: If LOAD = 1, the timer stops immediately. If LOAD = 0, the timer stops at the end of the time interval..
Bit 31: Determines how the timer interval value IVALUE -1 is loaded into the TIMERn register. This bit is write-only. Reading this bit always returns 0..
Allowed values:
0: NO_FORCE_LOAD: No force load. The load from the INTVALn register to the TIMERn register is processed at the end of the time interval if the repeat mode is selected.
0x1: FORCE_LOAD: Force load. The INTVALn interval value IVALUE -1 is immediately loaded into the TIMERn register while TIMERn is running.
MRT Timer register. This register reads the value of the down-counter.
Offset: 0x34, reset: 0xFFFFFF, access: read-only
1/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VALUE
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
VALUE
r |
Bits 0-30: Holds the current timer value of the down-counter. The initial value of the TIMERn register is loaded as IVALUE - 1 from the INTVALn register either at the end of the time interval or immediately in the following cases: INTVALn register is updated in the idle state. INTVALn register is updated with LOAD = 1. When the timer is in idle state, reading this bit fields returns -1 (0x00FF FFFF)..
MRT Control register. This register controls the MRT modes.
Offset: 0x38, reset: 0, access: read-write
2/2 fields covered.
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 |
MODE
rw |
INTEN
rw |
MRT Status register.
Offset: 0x3c, reset: 0, access: read-write
2/2 fields covered.
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 |
RUN
rw |
INTFLAG
rw |
Bit 0: Monitors the interrupt flag..
Allowed values:
0: NO_PENDING_INTERRUPT: No pending interrupt. Writing a zero is equivalent to no operation.
0x1: PENDING_INTERRUPT: Pending interrupt. The interrupt is pending because TIMERn has reached the end of the time interval. If the INTEN bit in the CONTROLn is also set to 1, the interrupt for timer channel n and the global interrupt are raised. Writing a 1 to this bit clears the interrupt request.
Module Configuration register. This register provides information about this particular MRT instance.
Offset: 0xf0, reset: 0x1F4, access: read-write
2/2 fields covered.
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 |
NOB
r |
NOC
r |
Idle channel register. This register returns the number of the first idle channel.
Offset: 0xf4, reset: 0, access: read-only
1/1 fields covered.
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 |
CHAN
r |
Bits 4-7: Idle channel. Reading the CHAN bits, returns the lowest idle timer channel. The number is positioned such that it can be used as an offset from the MRT base address in order to access the registers for the allocated channel. If all timer channels are running, CHAN = 0xF. See text above for more details..
Global interrupt flag register
Offset: 0xf8, reset: 0, access: read-write
1/4 fields covered.
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 |
GFLAG3
rw |
GFLAG2
rw |
GFLAG1
rw |
GFLAG0
rw |
Bit 0: Monitors the interrupt flag of TIMER0..
Allowed values:
0: NO_PENDING_INTERRUPT: No pending interrupt. Writing a zero is equivalent to no operation.
0x1: PENDING_INTERRUPT: Pending interrupt. The interrupt is pending because TIMER0 has reached the end of the time interval. If the INTEN bit in the CONTROL0 register is also set to 1, the interrupt for timer channel 0 and the global interrupt are raised. Writing a 1 to this bit clears the interrupt request.
0x14000000: Micro Trace Buffer
1/13 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | POSITION | ||||||||||||||||||||||||||||||||
0x4 | MASTER | ||||||||||||||||||||||||||||||||
0x8 | FLOW | ||||||||||||||||||||||||||||||||
0xc | BASE |
POSITION Register
Offset: 0x0, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
POINTER
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
POINTER
rw |
WRAP
rw |
Bits 3-31: Trace packet location pointer. Because a packet consists of two words, the POINTER field is the location of the first word of a packet. This field contains bits [31:3] of the address, in the SRAM, where the next trace packet will be written. The field points to an unused location and is automatically incremented. A debug agent can calculate the system address, on the AHB-Lite bus, of the SRAM location pointed to by the POSITION register using the following equation: system address = BASE + ((P + (2AWIDTH - (BASE MOD 2AWIDTH))) MOD 2AWIDTH). Where P = POSITION AND 0xFFFF_FFF8. Where BASE is the BASE register value.
MASTER Register
Offset: 0x4, reset: 0x80, access: read-write
0/7 fields covered.
Bits 0-4: This value determines the maximum size of the trace buffer in SRAM. It specifies the most-significant bit of the POSITION.POINTER field that can be updated by automatic increment. If the trace tries to advance past this power of two, the POSITION.WRAP bit is set to 1, the POSITION.POINTER[MASK:0] bits are set to zero, and the POSITION.POINTER[AWIDTH-4:MASK+1] bits remain unchanged. This field causes the trace packet information to be stored in a circular buffer of size 2(MASK+4) bytes, that can be positioned in memory at multiples of this size. Valid values of this field are zero to AWIDTH-4. Values greater than the maximum have the same effect as the maximum..
Bit 7: Special Function Register Write Privilege bit. If this bit is 0, then User or Privileged AHB-Lite read and write accesses to the Special Function Registers are permitted. If this bit is 1, then only Privileged write accesses are permitted and User write accesses are ignored. The HPROT[1] signal determines if an access is User or Privileged..
Bit 8: SRAM Privilege bit. If this bit is 0, then User or Privileged AHB-Lite read and write accesses to the SRAM are permitted. If this bit is 1, then only Privileged AHB-Lite read and write accesses to the SRAM are permitted and User accesses are RAZ/WI. The HPROT[1] signal determines if an access is User or Privileged..
Bit 31: Main trace enable bit. When this bit is 1 trace data is written into the SRAM memory location addressed by POSITION.POINTER. The POSITION.POINTER value auto increments after the trace data packet is written. The EN bit can be automatically set to 0 using the FLOW.WATERMARK field and the FLOW.AUTOSTOP bit. The EN bit is automatically set to 1 if the TSTARTEN bit is 1 and the TSTART signal is HIGH. The EN bit is automatically set to 0 if TSTOPEN bit is 1 and the TSTOP signal is HIGH..
FLOW Register
Offset: 0x8, reset: 0, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WATERMARK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
WATERMARK
rw |
AUTOHALT
rw |
AUTOSTOP
rw |
Indicates where the SRAM is located in the processor memory map. This register is provided to enable auto discovery of the MTB SRAM location, by a debug agent.
Offset: 0xc, reset: 0, access: read-only
1/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BASE
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BASE
r |
0xa0004000: Pin interrupt and pattern match (PINT)
25/36 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISEL | ||||||||||||||||||||||||||||||||
0x4 | IENR | ||||||||||||||||||||||||||||||||
0x8 | SIENR | ||||||||||||||||||||||||||||||||
0xc | CIENR | ||||||||||||||||||||||||||||||||
0x10 | IENF | ||||||||||||||||||||||||||||||||
0x14 | SIENF | ||||||||||||||||||||||||||||||||
0x18 | CIENF | ||||||||||||||||||||||||||||||||
0x1c | RISE | ||||||||||||||||||||||||||||||||
0x20 | FALL | ||||||||||||||||||||||||||||||||
0x24 | IST | ||||||||||||||||||||||||||||||||
0x28 | PMCTRL | ||||||||||||||||||||||||||||||||
0x2c | PMSRC | ||||||||||||||||||||||||||||||||
0x30 | PMCFG |
Pin Interrupt Mode register
Offset: 0x0, reset: 0, access: read-write
0/1 fields covered.
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 |
PMODE
rw |
Pin interrupt level or rising edge interrupt enable register
Offset: 0x4, reset: 0, access: read-write
0/1 fields covered.
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 |
ENRL
rw |
Pin interrupt level or rising edge interrupt set register
Offset: 0x8, reset: 0, access: write-only
0/1 fields covered.
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 |
SETENRL
w |
Pin interrupt level (rising edge interrupt) clear register
Offset: 0xc, reset: 0, access: write-only
0/1 fields covered.
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 |
CENRL
w |
Pin interrupt active level or falling edge interrupt enable register
Offset: 0x10, reset: 0, access: read-write
0/1 fields covered.
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 |
ENAF
rw |
Bits 0-7: Enables the falling edge or configures the active level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable falling edge interrupt or set active interrupt level LOW. 1 = Enable falling edge interrupt enabled or set active interrupt level HIGH..
Pin interrupt active level or falling edge interrupt set register
Offset: 0x14, reset: 0, access: write-only
0/1 fields covered.
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 |
SETENAF
w |
Pin interrupt active level or falling edge interrupt clear register
Offset: 0x18, reset: 0, access: write-only
0/1 fields covered.
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 |
CENAF
w |
Pin interrupt rising edge register
Offset: 0x1c, reset: 0, access: read-write
0/1 fields covered.
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 |
RDET
rw |
Bits 0-7: Rising edge detect. Bit n detects the rising edge of the pin selected in PINTSELn. Read 0: No rising edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a rising edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear rising edge detection for this pin..
Pin interrupt falling edge register
Offset: 0x20, reset: 0, access: read-write
0/1 fields covered.
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 |
FDET
rw |
Bits 0-7: Falling edge detect. Bit n detects the falling edge of the pin selected in PINTSELn. Read 0: No falling edge has been detected on this pin since Reset or the last time a one was written to this bit. Write 0: no operation. Read 1: a falling edge has been detected since Reset or the last time a one was written to this bit. Write 1: clear falling edge detection for this pin..
Pin interrupt status register
Offset: 0x24, reset: 0, access: read-write
0/1 fields covered.
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 |
PSTAT
rw |
Bits 0-7: Pin interrupt status. Bit n returns the status, clears the edge interrupt, or inverts the active level of the pin selected in PINTSELn. Read 0: interrupt is not being requested for this interrupt pin. Write 0: no operation. Read 1: interrupt is being requested for this interrupt pin. Write 1 (edge-sensitive): clear rising- and falling-edge detection for this pin. Write 1 (level-sensitive): switch the active level for this pin (in the IENF register)..
Pattern match interrupt control register
Offset: 0x28, reset: 0, access: read-write
2/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PMAT
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ENA_RXEV
rw |
SEL_PMATCH
rw |
Bit 0: Specifies whether the 8 pin interrupts are controlled by the pin interrupt function or by the pattern match function..
Allowed values:
0: PIN_INTERRUPT: Pin interrupt. Interrupts are driven in response to the standard pin interrupt function.
0x1: PATTERN_MATCH: Pattern match. Interrupts are driven in response to pattern matches.
Pattern match interrupt bit-slice source register
Offset: 0x2c, reset: 0, access: read-write
8/8 fields covered.
Bits 8-10: Selects the input source for bit slice 0.
Allowed values:
0: INPUT0: Input 0. Selects the pin selected in the PINTSEL0 register as the source to bit slice 0.
0x1: INPUT1: Input 1. Selects the pin selected in the PINTSEL1 register as the source to bit slice 0.
0x2: INPUT2: Input 2. Selects the pin selected in the PINTSEL2 register as the source to bit slice 0.
0x3: INPUT3: Input 3. Selects the pin selected in the PINTSEL3 register as the source to bit slice 0.
0x4: INPUT4: Input 4. Selects the pin selected in the PINTSEL4 register as the source to bit slice 0.
0x5: INPUT5: Input 5. Selects the pin selected in the PINTSEL5 register as the source to bit slice 0.
0x6: INPUT6: Input 6. Selects the pin selected in the PINTSEL6 register as the source to bit slice 0.
0x7: INPUT7: Input 7. Selects the pin selected in the PINTSEL7 register as the source to bit slice 0.
Bits 11-13: Selects the input source for bit slice 1.
Allowed values:
0: INPUT0: Input 0. Selects the pin selected in the PINTSEL0 register as the source to bit slice 1.
0x1: INPUT1: Input 1. Selects the pin selected in the PINTSEL1 register as the source to bit slice 1.
0x2: INPUT2: Input 2. Selects the pin selected in the PINTSEL2 register as the source to bit slice 1.
0x3: INPUT3: Input 3. Selects the pin selected in the PINTSEL3 register as the source to bit slice 1.
0x4: INPUT4: Input 4. Selects the pin selected in the PINTSEL4 register as the source to bit slice 1.
0x5: INPUT5: Input 5. Selects the pin selected in the PINTSEL5 register as the source to bit slice 1.
0x6: INPUT6: Input 6. Selects the pin selected in the PINTSEL6 register as the source to bit slice 1.
0x7: INPUT7: Input 7. Selects the pin selected in the PINTSEL7 register as the source to bit slice 1.
Bits 14-16: Selects the input source for bit slice 2.
Allowed values:
0: INPUT0: Input 0. Selects the pin selected in the PINTSEL0 register as the source to bit slice 2.
0x1: INPUT1: Input 1. Selects the pin selected in the PINTSEL1 register as the source to bit slice 2.
0x2: INPUT2: Input 2. Selects the pin selected in the PINTSEL2 register as the source to bit slice 2.
0x3: INPUT3: Input 3. Selects the pin selected in the PINTSEL3 register as the source to bit slice 2.
0x4: INPUT4: Input 4. Selects the pin selected in the PINTSEL4 register as the source to bit slice 2.
0x5: INPUT5: Input 5. Selects the pin selected in the PINTSEL5 register as the source to bit slice 2.
0x6: INPUT6: Input 6. Selects the pin selected in the PINTSEL6 register as the source to bit slice 2.
0x7: INPUT7: Input 7. Selects the pin selected in the PINTSEL7 register as the source to bit slice 2.
Bits 17-19: Selects the input source for bit slice 3.
Allowed values:
0: INPUT0: Input 0. Selects the pin selected in the PINTSEL0 register as the source to bit slice 3.
0x1: INPUT1: Input 1. Selects the pin selected in the PINTSEL1 register as the source to bit slice 3.
0x2: INPUT2: Input 2. Selects the pin selected in the PINTSEL2 register as the source to bit slice 3.
0x3: INPUT3: Input 3. Selects the pin selected in the PINTSEL3 register as the source to bit slice 3.
0x4: INPUT4: Input 4. Selects the pin selected in the PINTSEL4 register as the source to bit slice 3.
0x5: INPUT5: Input 5. Selects the pin selected in the PINTSEL5 register as the source to bit slice 3.
0x6: INPUT6: Input 6. Selects the pin selected in the PINTSEL6 register as the source to bit slice 3.
0x7: INPUT7: Input 7. Selects the pin selected in the PINTSEL7 register as the source to bit slice 3.
Bits 20-22: Selects the input source for bit slice 4.
Allowed values:
0: INPUT0: Input 0. Selects the pin selected in the PINTSEL0 register as the source to bit slice 4.
0x1: INPUT1: Input 1. Selects the pin selected in the PINTSEL1 register as the source to bit slice 4.
0x2: INPUT2: Input 2. Selects the pin selected in the PINTSEL2 register as the source to bit slice 4.
0x3: INPUT3: Input 3. Selects the pin selected in the PINTSEL3 register as the source to bit slice 4.
0x4: INPUT4: Input 4. Selects the pin selected in the PINTSEL4 register as the source to bit slice 4.
0x5: INPUT5: Input 5. Selects the pin selected in the PINTSEL5 register as the source to bit slice 4.
0x6: INPUT6: Input 6. Selects the pin selected in the PINTSEL6 register as the source to bit slice 4.
0x7: INPUT7: Input 7. Selects the pin selected in the PINTSEL7 register as the source to bit slice 4.
Bits 23-25: Selects the input source for bit slice 5.
Allowed values:
0: INPUT0: Input 0. Selects the pin selected in the PINTSEL0 register as the source to bit slice 5.
0x1: INPUT1: Input 1. Selects the pin selected in the PINTSEL1 register as the source to bit slice 5.
0x2: INPUT2: Input 2. Selects the pin selected in the PINTSEL2 register as the source to bit slice 5.
0x3: INPUT3: Input 3. Selects the pin selected in the PINTSEL3 register as the source to bit slice 5.
0x4: INPUT4: Input 4. Selects the pin selected in the PINTSEL4 register as the source to bit slice 5.
0x5: INPUT5: Input 5. Selects the pin selected in the PINTSEL5 register as the source to bit slice 5.
0x6: INPUT6: Input 6. Selects the pin selected in the PINTSEL6 register as the source to bit slice 5.
0x7: INPUT7: Input 7. Selects the pin selected in the PINTSEL7 register as the source to bit slice 5.
Bits 26-28: Selects the input source for bit slice 6.
Allowed values:
0: INPUT0: Input 0. Selects the pin selected in the PINTSEL0 register as the source to bit slice 6.
0x1: INPUT1: Input 1. Selects the pin selected in the PINTSEL1 register as the source to bit slice 6.
0x2: INPUT2: Input 2. Selects the pin selected in the PINTSEL2 register as the source to bit slice 6.
0x3: INPUT3: Input 3. Selects the pin selected in the PINTSEL3 register as the source to bit slice 6.
0x4: INPUT4: Input 4. Selects the pin selected in the PINTSEL4 register as the source to bit slice 6.
0x5: INPUT5: Input 5. Selects the pin selected in the PINTSEL5 register as the source to bit slice 6.
0x6: INPUT6: Input 6. Selects the pin selected in the PINTSEL6 register as the source to bit slice 6.
0x7: INPUT7: Input 7. Selects the pin selected in the PINTSEL7 register as the source to bit slice 6.
Bits 29-31: Selects the input source for bit slice 7.
Allowed values:
0: INPUT0: Input 0. Selects the pin selected in the PINTSEL0 register as the source to bit slice 7.
0x1: INPUT1: Input 1. Selects the pin selected in the PINTSEL1 register as the source to bit slice 7.
0x2: INPUT2: Input 2. Selects the pin selected in the PINTSEL2 register as the source to bit slice 7.
0x3: INPUT3: Input 3. Selects the pin selected in the PINTSEL3 register as the source to bit slice 7.
0x4: INPUT4: Input 4. Selects the pin selected in the PINTSEL4 register as the source to bit slice 7.
0x5: INPUT5: Input 5. Selects the pin selected in the PINTSEL5 register as the source to bit slice 7.
0x6: INPUT6: Input 6. Selects the pin selected in the PINTSEL6 register as the source to bit slice 7.
0x7: INPUT7: Input 7. Selects the pin selected in the PINTSEL7 register as the source to bit slice 7.
Pattern match interrupt bit slice configuration register
Offset: 0x30, reset: 0, access: read-write
15/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CFG7
rw |
CFG6
rw |
CFG5
rw |
CFG4
rw |
CFG3
rw |
CFG2
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CFG2
rw |
CFG1
rw |
CFG0
rw |
PROD_ENDPTS6
rw |
PROD_ENDPTS5
rw |
PROD_ENDPTS4
rw |
PROD_ENDPTS3
rw |
PROD_ENDPTS2
rw |
PROD_ENDPTS1
rw |
PROD_ENDPTS0
rw |
Bits 8-10: Specifies the match contribution condition for bit slice 0..
Allowed values:
0: CONSTANT_HIGH: Constant HIGH. This bit slice always contributes to a product term match.
0x1: STICKY_RISING_EDGE: Sticky rising edge. Match occurs if a rising edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x2: STICKY_FALLING_EDGE: Sticky falling edge. Match occurs if a falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x3: STICKY_RISING_FALLING_EDGE: Sticky rising or falling edge. Match occurs if either a rising or falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x4: HIGH_LEVEL: High level. Match (for this bit slice) occurs when there is a high level on the input specified for this bit slice in the PMSRC register.
0x5: LOW_LEVEL: Low level. Match occurs when there is a low level on the specified input.
0x6: CONSTANT_ZERO: Constant 0. This bit slice never contributes to a match (should be used to disable any unused bit slices).
0x7: EVENT: Event. Non-sticky rising or falling edge. Match occurs on an event - i.e. when either a rising or falling edge is first detected on the specified input (this is a non-sticky version of value 0x3) . This bit is cleared after one clock cycle.
Bits 11-13: Specifies the match contribution condition for bit slice 1..
Allowed values:
0: CONSTANT_HIGH: Constant HIGH. This bit slice always contributes to a product term match.
0x1: STICKY_RISING_EDGE: Sticky rising edge. Match occurs if a rising edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x2: STICKY_FALLING_EDGE: Sticky falling edge. Match occurs if a falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x3: STICKY_RISING_FALLING_EDGE: Sticky rising or falling edge. Match occurs if either a rising or falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x4: HIGH_LEVEL: High level. Match (for this bit slice) occurs when there is a high level on the input specified for this bit slice in the PMSRC register.
0x5: LOW_LEVEL: Low level. Match occurs when there is a low level on the specified input.
0x6: CONSTANT_ZERO: Constant 0. This bit slice never contributes to a match (should be used to disable any unused bit slices).
0x7: EVENT: Event. Non-sticky rising or falling edge. Match occurs on an event - i.e. when either a rising or falling edge is first detected on the specified input (this is a non-sticky version of value 0x3) . This bit is cleared after one clock cycle.
Bits 14-16: Specifies the match contribution condition for bit slice 2..
Allowed values:
0: CONSTANT_HIGH: Constant HIGH. This bit slice always contributes to a product term match.
0x1: STICKY_RISING_EDGE: Sticky rising edge. Match occurs if a rising edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x2: STICKY_FALLING_EDGE: Sticky falling edge. Match occurs if a falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x3: STICKY_RISING_FALLING_EDGE: Sticky rising or falling edge. Match occurs if either a rising or falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x4: HIGH_LEVEL: High level. Match (for this bit slice) occurs when there is a high level on the input specified for this bit slice in the PMSRC register.
0x5: LOW_LEVEL: Low level. Match occurs when there is a low level on the specified input.
0x6: CONSTANT_ZERO: Constant 0. This bit slice never contributes to a match (should be used to disable any unused bit slices).
0x7: EVENT: Event. Non-sticky rising or falling edge. Match occurs on an event - i.e. when either a rising or falling edge is first detected on the specified input (this is a non-sticky version of value 0x3) . This bit is cleared after one clock cycle.
Bits 17-19: Specifies the match contribution condition for bit slice 3..
Allowed values:
0: CONSTANT_HIGH: Constant HIGH. This bit slice always contributes to a product term match.
0x1: STICKY_RISING_EDGE: Sticky rising edge. Match occurs if a rising edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x2: STICKY_FALLING_EDGE: Sticky falling edge. Match occurs if a falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x3: STICKY_RISING_FALLING_EDGE: Sticky rising or falling edge. Match occurs if either a rising or falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x4: HIGH_LEVEL: High level. Match (for this bit slice) occurs when there is a high level on the input specified for this bit slice in the PMSRC register.
0x5: LOW_LEVEL: Low level. Match occurs when there is a low level on the specified input.
0x6: CONSTANT_ZERO: Constant 0. This bit slice never contributes to a match (should be used to disable any unused bit slices).
0x7: EVENT: Event. Non-sticky rising or falling edge. Match occurs on an event - i.e. when either a rising or falling edge is first detected on the specified input (this is a non-sticky version of value 0x3) . This bit is cleared after one clock cycle.
Bits 20-22: Specifies the match contribution condition for bit slice 4..
Allowed values:
0: CONSTANT_HIGH: Constant HIGH. This bit slice always contributes to a product term match.
0x1: STICKY_RISING_EDGE: Sticky rising edge. Match occurs if a rising edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x2: STICKY_FALLING_EDGE: Sticky falling edge. Match occurs if a falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x3: STICKY_RISING_FALLING_EDGE: Sticky rising or falling edge. Match occurs if either a rising or falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x4: HIGH_LEVEL: High level. Match (for this bit slice) occurs when there is a high level on the input specified for this bit slice in the PMSRC register.
0x5: LOW_LEVEL: Low level. Match occurs when there is a low level on the specified input.
0x6: CONSTANT_ZERO: Constant 0. This bit slice never contributes to a match (should be used to disable any unused bit slices).
0x7: EVENT: Event. Non-sticky rising or falling edge. Match occurs on an event - i.e. when either a rising or falling edge is first detected on the specified input (this is a non-sticky version of value 0x3) . This bit is cleared after one clock cycle.
Bits 23-25: Specifies the match contribution condition for bit slice 5..
Allowed values:
0: CONSTANT_HIGH: Constant HIGH. This bit slice always contributes to a product term match.
0x1: STICKY_RISING_EDGE: Sticky rising edge. Match occurs if a rising edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x2: STICKY_FALLING_EDGE: Sticky falling edge. Match occurs if a falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x3: STICKY_RISING_FALLING_EDGE: Sticky rising or falling edge. Match occurs if either a rising or falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x4: HIGH_LEVEL: High level. Match (for this bit slice) occurs when there is a high level on the input specified for this bit slice in the PMSRC register.
0x5: LOW_LEVEL: Low level. Match occurs when there is a low level on the specified input.
0x6: CONSTANT_ZERO: Constant 0. This bit slice never contributes to a match (should be used to disable any unused bit slices).
0x7: EVENT: Event. Non-sticky rising or falling edge. Match occurs on an event - i.e. when either a rising or falling edge is first detected on the specified input (this is a non-sticky version of value 0x3) . This bit is cleared after one clock cycle.
Bits 26-28: Specifies the match contribution condition for bit slice 6..
Allowed values:
0: CONSTANT_HIGH: Constant HIGH. This bit slice always contributes to a product term match.
0x1: STICKY_RISING_EDGE: Sticky rising edge. Match occurs if a rising edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x2: STICKY_FALLING_EDGE: Sticky falling edge. Match occurs if a falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x3: STICKY_RISING_FALLING_EDGE: Sticky rising or falling edge. Match occurs if either a rising or falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x4: HIGH_LEVEL: High level. Match (for this bit slice) occurs when there is a high level on the input specified for this bit slice in the PMSRC register.
0x5: LOW_LEVEL: Low level. Match occurs when there is a low level on the specified input.
0x6: CONSTANT_ZERO: Constant 0. This bit slice never contributes to a match (should be used to disable any unused bit slices).
0x7: EVENT: Event. Non-sticky rising or falling edge. Match occurs on an event - i.e. when either a rising or falling edge is first detected on the specified input (this is a non-sticky version of value 0x3) . This bit is cleared after one clock cycle.
Bits 29-31: Specifies the match contribution condition for bit slice 7..
Allowed values:
0: CONSTANT_HIGH: Constant HIGH. This bit slice always contributes to a product term match.
0x1: STICKY_RISING_EDGE: Sticky rising edge. Match occurs if a rising edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x2: STICKY_FALLING_EDGE: Sticky falling edge. Match occurs if a falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x3: STICKY_RISING_FALLING_EDGE: Sticky rising or falling edge. Match occurs if either a rising or falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.
0x4: HIGH_LEVEL: High level. Match (for this bit slice) occurs when there is a high level on the input specified for this bit slice in the PMSRC register.
0x5: LOW_LEVEL: Low level. Match occurs when there is a low level on the specified input.
0x6: CONSTANT_ZERO: Constant 0. This bit slice never contributes to a match (should be used to disable any unused bit slices).
0x7: EVENT: Event. Non-sticky rising or falling edge. Match occurs on an event - i.e. when either a rising or falling edge is first detected on the specified input (this is a non-sticky version of value 0x3) . This bit is cleared after one clock cycle.
0x40020000: PMU
7/13 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | PCON | ||||||||||||||||||||||||||||||||
0x4 | GPREG[[0]] | ||||||||||||||||||||||||||||||||
0x8 | GPREG[[1]] | ||||||||||||||||||||||||||||||||
0xc | GPREG[[2]] | ||||||||||||||||||||||||||||||||
0x10 | GPREG[[3]] | ||||||||||||||||||||||||||||||||
0x14 | DPDCTRL |
Power control register
Offset: 0x0, reset: 0, access: read-write
3/4 fields covered.
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 |
DPDFLAG
rw |
SLEEPFLAG
rw |
NODPD
rw |
PM
rw |
Bits 0-2: Power mode.
Allowed values:
0: DEFAULT: Default. The part is in active or sleep mode.
0x1: DEEP_SLEEP_MODE: Deep-sleep mode. ARM WFI will enter Deep-sleep mode.
0x2: POWER_DOWN_MODE: Power-down mode. ARM WFI will enter Power-down mode.
0x3: DEEP_POWER_DOWN_MODE: Deep power-down mode. ARM WFI will enter Deep-power down mode (ARM Cortex-M0+ core powered-down).
Bit 3: A 1 in this bit prevents entry to Deep power-down mode when 0x3 is written to the PM field above, the SLEEPDEEP bit is set, and a WFI is executed. This bit is cleared only by power-on reset, so writing a one to this bit locks the part in a mode in which Deep power-down mode is blocked..
General purpose register N
Offset: 0x4, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GPDATA
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPDATA
rw |
General purpose register N
Offset: 0x8, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GPDATA
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPDATA
rw |
General purpose register N
Offset: 0xc, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GPDATA
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPDATA
rw |
General purpose register N
Offset: 0x10, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GPDATA
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPDATA
rw |
Deep power-down control register. Also includes bits for general purpose storage.
Offset: 0x14, reset: 0, access: read-write
4/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GPDATA
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPDATA
rw |
LPOSCDPDEN
rw |
LPOSCEN
rw |
WAKEPAD_DISABLE
rw |
WAKEUPHYS
rw |
Bit 1: WAKEUP pin disable. Setting this bit disables the wake-up pin, so it can be used for other purposes. Remark: Never set this bit if you intend to use a pin to wake up the part from Deep power-down mode. You can only disable the wake-up pin if the self wake-up timer is enabled and configured. Remark: Setting this bit is not necessary if Deep power-down mode is not used..
Allowed values:
0: ENABLED: Enabled. The wake-up function is enabled on pin PIO0_4.
0x1: DISABLED: Disabled. Setting this bit disables the wake-up function on pin PIO0_4.
Bit 2: Enable the low-power oscillator for use with the 10 kHz self wake-up timer clock. You must set this bit if the CLKSEL bit in the self wake-up timer CTRL bit is set. Do not enable the low-power oscillator if the self wake-up timer is clocked by the divided IRC or the external clock input..
Allowed values:
0: DISABLED: Disabled.
0x1: ENABLED: Enabled.
Bit 3: causes the low-power oscillator to remain running during Deep power-down mode provided that bit 2 in this register is set as well. You must set this bit for the self wake-up timer to be able to wake up the part from Deep power-down mode. Remark: Do not set this bit unless you use the self wake-up timer with the low-power oscillator clock source to wake up from Deep power-down mode..
Allowed values:
0: DISABLED: Disabled.
0x1: ENABLED: Enabled.
0x50004000: SCTimer/PWM (SCT)
57/177 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CONFIG | ||||||||||||||||||||||||||||||||
0x4 | CTRL | ||||||||||||||||||||||||||||||||
0x8 | LIMIT | ||||||||||||||||||||||||||||||||
0xc | HALT | ||||||||||||||||||||||||||||||||
0x10 | STOP | ||||||||||||||||||||||||||||||||
0x14 | START | ||||||||||||||||||||||||||||||||
0x40 | COUNT | ||||||||||||||||||||||||||||||||
0x44 | STATE | ||||||||||||||||||||||||||||||||
0x48 | INPUT | ||||||||||||||||||||||||||||||||
0x4c | REGMODE | ||||||||||||||||||||||||||||||||
0x50 | OUTPUT | ||||||||||||||||||||||||||||||||
0x54 | OUTPUTDIRCTRL | ||||||||||||||||||||||||||||||||
0x58 | RES | ||||||||||||||||||||||||||||||||
0xf0 | EVEN | ||||||||||||||||||||||||||||||||
0xf4 | EVFLAG | ||||||||||||||||||||||||||||||||
0xf8 | CONEN | ||||||||||||||||||||||||||||||||
0xfc | CONFLAG | ||||||||||||||||||||||||||||||||
0x100 | CAP0 | ||||||||||||||||||||||||||||||||
0x100 | MATCH0 | ||||||||||||||||||||||||||||||||
0x104 | CAP1 | ||||||||||||||||||||||||||||||||
0x104 | MATCH1 | ||||||||||||||||||||||||||||||||
0x108 | CAP2 | ||||||||||||||||||||||||||||||||
0x108 | MATCH2 | ||||||||||||||||||||||||||||||||
0x10c | CAP3 | ||||||||||||||||||||||||||||||||
0x10c | MATCH3 | ||||||||||||||||||||||||||||||||
0x110 | CAP4 | ||||||||||||||||||||||||||||||||
0x110 | MATCH4 | ||||||||||||||||||||||||||||||||
0x200 | CAPCTRL0 | ||||||||||||||||||||||||||||||||
0x200 | MATCHREL0 | ||||||||||||||||||||||||||||||||
0x204 | CAPCTRL1 | ||||||||||||||||||||||||||||||||
0x204 | MATCHREL1 | ||||||||||||||||||||||||||||||||
0x208 | CAPCTRL2 | ||||||||||||||||||||||||||||||||
0x208 | MATCHREL2 | ||||||||||||||||||||||||||||||||
0x20c | CAPCTRL3 | ||||||||||||||||||||||||||||||||
0x20c | MATCHREL3 | ||||||||||||||||||||||||||||||||
0x210 | CAPCTRL4 | ||||||||||||||||||||||||||||||||
0x210 | MATCHREL4 | ||||||||||||||||||||||||||||||||
0x300 | EV_STATE [0] | ||||||||||||||||||||||||||||||||
0x304 | EV_CTRL [0] | ||||||||||||||||||||||||||||||||
0x308 | EV_STATE [1] | ||||||||||||||||||||||||||||||||
0x30c | EV_CTRL [1] | ||||||||||||||||||||||||||||||||
0x310 | EV_STATE [2] | ||||||||||||||||||||||||||||||||
0x314 | EV_CTRL [2] | ||||||||||||||||||||||||||||||||
0x318 | EV_STATE [3] | ||||||||||||||||||||||||||||||||
0x31c | EV_CTRL [3] | ||||||||||||||||||||||||||||||||
0x320 | EV_STATE [4] | ||||||||||||||||||||||||||||||||
0x324 | EV_CTRL [4] | ||||||||||||||||||||||||||||||||
0x328 | EV_STATE [5] | ||||||||||||||||||||||||||||||||
0x32c | EV_CTRL [5] | ||||||||||||||||||||||||||||||||
0x500 | OUT_SET [0] | ||||||||||||||||||||||||||||||||
0x504 | OUT_CLR [0] | ||||||||||||||||||||||||||||||||
0x508 | OUT_SET [1] | ||||||||||||||||||||||||||||||||
0x50c | OUT_CLR [1] | ||||||||||||||||||||||||||||||||
0x510 | OUT_SET [2] | ||||||||||||||||||||||||||||||||
0x514 | OUT_CLR [2] | ||||||||||||||||||||||||||||||||
0x518 | OUT_SET [3] | ||||||||||||||||||||||||||||||||
0x51c | OUT_CLR [3] |
SCT configuration register
Offset: 0x0, reset: 0x1E00, access: read-write
3/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AUTOLIMIT_H
rw |
AUTOLIMIT_L
rw |
INSYNC
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
INSYNC
rw |
NORELOAD_H
rw |
NORELOAD_L
rw |
CKSEL
rw |
CLKMODE
rw |
UNIFY
rw |
Bits 1-2: SCT clock mode.
Allowed values:
0: SYSTEM_CLOCK_MODE: System Clock Mode. The system clock clocks the entire SCT module including the counter(s) and counter prescalers.
0x1: SAMPLED_SYSTEM_CLOCK_MODE: Sampled System Clock Mode. The system clock clocks the SCT module, but the counter and prescalers are only enabled to count when the designated edge is detected on the input selected by the CKSEL field. The minimum pulse width on the selected clock-gate input is 1 bus clock period. This mode is the high-performance, sampled-clock mode.
0x2: SCT_INPUT_CLOCK_MODE: SCT Input Clock Mode. The input/edge selected by the CKSEL field clocks the SCT module, including the counters and prescalers, after first being synchronized to the system clock. The minimum pulse width on the clock input is 1 bus clock period. This mode is the low-power, sampled-clock mode.
0x3: ASYNCHRONOUS_MODE: Asynchronous Mode. The entire SCT module is clocked directly by the input/edge selected by the CKSEL field. In this mode, the SCT outputs are switched synchronously to the SCT input clock - not the system clock. The input clock rate must be at least half the system clock rate and can be the same or faster than the system clock.
Bits 3-6: SCT clock select. The specific functionality of the designated input/edge is dependent on the CLKMODE bit selection in this register..
Allowed values:
0: INPUT_0_RISING_EDGES: Rising edges on input 0.
0x1: INPUT_0_FALLING_EDGE: Falling edges on input 0.
0x2: INPUT_1_RISING_EDGES: Rising edges on input 1.
0x3: INPUT_1_FALLING_EDGE: Falling edges on input 1.
0x4: INPUT_2_RISING_EDGES: Rising edges on input 2.
0x5: INPUT_2_FALLING_EDGE: Falling edges on input 2.
0x6: INPUT_3_RISING_EDGES: Rising edges on input 3.
0x7: INPUT_3_FALLING_EDGE: Falling edges on input 3.
Bit 7: A 1 in this bit prevents the lower match registers from being reloaded from their respective reload registers. Setting this bit eliminates the need to write to the reload registers MATCHREL if the match values are fixed. Software can write to set or clear this bit at any time. This bit applies to both the higher and lower registers when the UNIFY bit is set..
Bit 8: A 1 in this bit prevents the higher match registers from being reloaded from their respective reload registers. Setting this bit eliminates the need to write to the reload registers MATCHREL if the match values are fixed. Software can write to set or clear this bit at any time. This bit is not used when the UNIFY bit is set..
Bits 9-16: Synchronization for input N (bit 9 = input 0, bit 10 = input 1,, bit 12 = input 3); all other bits are reserved. A 1 in one of these bits subjects the corresponding input to synchronization to the SCT clock, before it is used to create an event. If an input is known to already be synchronous to the SCT clock, this bit may be set to 0 for faster input response. (Note: The SCT clock is the system clock for CKMODEs 0-2. It is the selected, asynchronous SCT input clock for CKMODE3). Note that the INSYNC field only affects inputs used for event generation. It does not apply to the clock input specified in the CKSEL field..
Bit 17: A one in this bit causes a match on match register 0 to be treated as a de-facto LIMIT condition without the need to define an associated event. As with any LIMIT event, this automatic limit causes the counter to be cleared to zero in unidirectional mode or to change the direction of count in bi-directional mode. Software can write to set or clear this bit at any time. This bit applies to both the higher and lower registers when the UNIFY bit is set..
Bit 18: A one in this bit will cause a match on match register 0 to be treated as a de-facto LIMIT condition without the need to define an associated event. As with any LIMIT event, this automatic limit causes the counter to be cleared to zero in unidirectional mode or to change the direction of count in bi-directional mode. Software can write to set or clear this bit at any time. This bit is not used when the UNIFY bit is set..
SCT control register
Offset: 0x4, reset: 0x40004, access: read-write
2/12 fields covered.
Bit 2: When this bit is 1, the L or unified counter does not run and no events can occur. A reset sets this bit. When the HALT_L bit is one, the STOP_L bit is cleared. It is possible to remove the halt condition while keeping the SCT in the stop condition (not running) with a single write to this register to simultaneously clear the HALT bit and set the STOP bit. Once set, only software can clear this bit to restore counter operation. This bit is set on reset..
Bit 18: When this bit is 1, the H counter does not run and no events can occur. A reset sets this bit. When the HALT_H bit is one, the STOP_H bit is cleared. It is possible to remove the halt condition while keeping the SCT in the stop condition (not running) with a single write to this register to simultaneously clear the HALT bit and set the STOP bit. Once set, this bit can only be cleared by software to restore counter operation. This bit is set on reset..
SCT limit event select register
Offset: 0x8, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LIMMSK_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LIMMSK_L
rw |
SCT halt event select register
Offset: 0xc, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HALTMSK_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
HALTMSK_L
rw |
SCT stop event select register
Offset: 0x10, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STOPMSK_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STOPMSK_L
rw |
SCT start event select register
Offset: 0x14, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STARTMSK_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STARTMSK_L
rw |
SCT counter register
Offset: 0x40, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CTR_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CTR_L
rw |
SCT state register
Offset: 0x44, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STATE_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STATE_L
rw |
SCT match/capture mode register
Offset: 0x4c, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REGMOD_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
REGMOD_L
rw |
SCT output register
Offset: 0x50, reset: 0, access: read-write
0/1 fields covered.
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 |
OUT
rw |
SCT output counter direction control register
Offset: 0x54, reset: 0, access: read-write
4/4 fields covered.
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 |
SETCLR3
rw |
SETCLR2
rw |
SETCLR1
rw |
SETCLR0
rw |
Bits 0-1: Set/clear operation on output 0. Value 0x3 is reserved. Do not program this value..
Allowed values:
0: INDEPENDENT: Set and clear do not depend on the direction of any counter.
0x1: L_REVERSED: Set and clear are reversed when counter L or the unified counter is counting down.
0x2: H_REVERSED: Set and clear are reversed when counter H is counting down. Do not use if UNIFY = 1.
Bits 2-3: Set/clear operation on output 1. Value 0x3 is reserved. Do not program this value..
Allowed values:
0: INDEPENDENT: Set and clear do not depend on the direction of any counter.
0x1: L_REVERSED: Set and clear are reversed when counter L or the unified counter is counting down.
0x2: H_REVERSED: Set and clear are reversed when counter H is counting down. Do not use if UNIFY = 1.
Bits 4-5: Set/clear operation on output 2. Value 0x3 is reserved. Do not program this value..
Allowed values:
0: INDEPENDENT: Set and clear do not depend on the direction of any counter.
0x1: L_REVERSED: Set and clear are reversed when counter L or the unified counter is counting down.
0x2: H_REVERSED: Set and clear are reversed when counter H is counting down. Do not use if UNIFY = 1.
Bits 6-7: Set/clear operation on output 3. Value 0x3 is reserved. Do not program this value..
Allowed values:
0: INDEPENDENT: Set and clear do not depend on the direction of any counter.
0x1: L_REVERSED: Set and clear are reversed when counter L or the unified counter is counting down.
0x2: H_REVERSED: Set and clear are reversed when counter H is counting down. Do not use if UNIFY = 1.
SCT conflict resolution register
Offset: 0x58, reset: 0, access: read-write
4/4 fields covered.
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 |
O3RES
rw |
O2RES
rw |
O1RES
rw |
O0RES
rw |
SCT event interrupt enable register
Offset: 0xf0, reset: 0, access: read-write
0/1 fields covered.
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 |
IEN
rw |
SCT event flag register
Offset: 0xf4, reset: 0, access: read-write
0/1 fields covered.
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 |
FLAG
rw |
SCT conflict interrupt enable register
Offset: 0xf8, reset: 0, access: read-write
0/1 fields covered.
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 |
NCEN
rw |
SCT conflict flag register
Offset: 0xfc, reset: 0, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BUSERRH
rw |
BUSERRL
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NCFLAG
rw |
SCT capture register of capture channel
Offset: 0x100, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CAPn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CAPn_L
rw |
SCT match value register of match channels
Offset: 0x100, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MATCHn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MATCHn_L
rw |
SCT capture register of capture channel
Offset: 0x104, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CAPn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CAPn_L
rw |
SCT match value register of match channels
Offset: 0x104, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MATCHn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MATCHn_L
rw |
SCT capture register of capture channel
Offset: 0x108, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CAPn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CAPn_L
rw |
SCT match value register of match channels
Offset: 0x108, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MATCHn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MATCHn_L
rw |
SCT capture register of capture channel
Offset: 0x10c, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CAPn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CAPn_L
rw |
SCT match value register of match channels
Offset: 0x10c, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MATCHn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MATCHn_L
rw |
SCT capture register of capture channel
Offset: 0x110, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CAPn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CAPn_L
rw |
SCT match value register of match channels
Offset: 0x110, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MATCHn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MATCHn_L
rw |
SCT capture control register
Offset: 0x200, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CAPCONn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CAPCONn_L
rw |
SCT match reload value register
Offset: 0x200, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RELOADn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RELOADn_L
rw |
SCT capture control register
Offset: 0x204, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CAPCONn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CAPCONn_L
rw |
SCT match reload value register
Offset: 0x204, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RELOADn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RELOADn_L
rw |
SCT capture control register
Offset: 0x208, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CAPCONn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CAPCONn_L
rw |
SCT match reload value register
Offset: 0x208, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RELOADn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RELOADn_L
rw |
SCT capture control register
Offset: 0x20c, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CAPCONn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CAPCONn_L
rw |
SCT match reload value register
Offset: 0x20c, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RELOADn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RELOADn_L
rw |
SCT capture control register
Offset: 0x210, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CAPCONn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CAPCONn_L
rw |
SCT match reload value register
Offset: 0x210, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RELOADn_H
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RELOADn_L
rw |
SCT event state register 0
Offset: 0x300, reset: 0, access: read-write
0/2 fields covered.
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 |
STATEMSK1
rw |
STATEMSK0
rw |
SCT event control register 0
Offset: 0x304, reset: 0, access: read-write
6/10 fields covered.
Bits 10-11: Selects the I/O condition for event n. (The detection of edges on outputs lag the conditions that switch the outputs by one SCT clock). In order to guarantee proper edge/state detection, an input must have a minimum pulse width of at least one SCT clock period ..
Allowed values:
0: LOW: LOW
0x1: RISE: Rise
0x2: FALL: Fall
0x3: HIGH: HIGH
Bits 12-13: Selects how the specified match and I/O condition are used and combined..
Allowed values:
0: OR: OR. The event occurs when either the specified match or I/O condition occurs.
0x1: MATCH: MATCH. Uses the specified match only.
0x2: IO: IO. Uses the specified I/O condition only.
0x3: AND: AND. The event occurs when the specified match and I/O condition occur simultaneously.
Bit 20: If this bit is one and the COMBMODE field specifies a match component to the triggering of this event, then a match is considered to be active whenever the counter value is GREATER THAN OR EQUAL TO the value specified in the match register when counting up, LESS THEN OR EQUAL TO the match value when counting down. If this bit is zero, a match is only be active during the cycle when the counter is equal to the match value..
Bits 21-22: Direction qualifier for event generation. This field only applies when the counters are operating in BIDIR mode. If BIDIR = 0, the SCT ignores this field. Value 0x3 is reserved..
Allowed values:
0: DIRECTION_INDEPENDENT: Direction independent. This event is triggered regardless of the count direction.
0x1: COUNTING_UP: Counting up. This event is triggered only during up-counting when BIDIR = 1.
0x2: COUNTING_DOWN: Counting down. This event is triggered only during down-counting when BIDIR = 1.
SCT event state register 0
Offset: 0x308, reset: 0, access: read-write
0/2 fields covered.
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 |
STATEMSK1
rw |
STATEMSK0
rw |
SCT event control register 0
Offset: 0x30c, reset: 0, access: read-write
6/10 fields covered.
Bits 10-11: Selects the I/O condition for event n. (The detection of edges on outputs lag the conditions that switch the outputs by one SCT clock). In order to guarantee proper edge/state detection, an input must have a minimum pulse width of at least one SCT clock period ..
Allowed values:
0: LOW: LOW
0x1: RISE: Rise
0x2: FALL: Fall
0x3: HIGH: HIGH
Bits 12-13: Selects how the specified match and I/O condition are used and combined..
Allowed values:
0: OR: OR. The event occurs when either the specified match or I/O condition occurs.
0x1: MATCH: MATCH. Uses the specified match only.
0x2: IO: IO. Uses the specified I/O condition only.
0x3: AND: AND. The event occurs when the specified match and I/O condition occur simultaneously.
Bit 20: If this bit is one and the COMBMODE field specifies a match component to the triggering of this event, then a match is considered to be active whenever the counter value is GREATER THAN OR EQUAL TO the value specified in the match register when counting up, LESS THEN OR EQUAL TO the match value when counting down. If this bit is zero, a match is only be active during the cycle when the counter is equal to the match value..
Bits 21-22: Direction qualifier for event generation. This field only applies when the counters are operating in BIDIR mode. If BIDIR = 0, the SCT ignores this field. Value 0x3 is reserved..
Allowed values:
0: DIRECTION_INDEPENDENT: Direction independent. This event is triggered regardless of the count direction.
0x1: COUNTING_UP: Counting up. This event is triggered only during up-counting when BIDIR = 1.
0x2: COUNTING_DOWN: Counting down. This event is triggered only during down-counting when BIDIR = 1.
SCT event state register 0
Offset: 0x310, reset: 0, access: read-write
0/2 fields covered.
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 |
STATEMSK1
rw |
STATEMSK0
rw |
SCT event control register 0
Offset: 0x314, reset: 0, access: read-write
6/10 fields covered.
Bits 10-11: Selects the I/O condition for event n. (The detection of edges on outputs lag the conditions that switch the outputs by one SCT clock). In order to guarantee proper edge/state detection, an input must have a minimum pulse width of at least one SCT clock period ..
Allowed values:
0: LOW: LOW
0x1: RISE: Rise
0x2: FALL: Fall
0x3: HIGH: HIGH
Bits 12-13: Selects how the specified match and I/O condition are used and combined..
Allowed values:
0: OR: OR. The event occurs when either the specified match or I/O condition occurs.
0x1: MATCH: MATCH. Uses the specified match only.
0x2: IO: IO. Uses the specified I/O condition only.
0x3: AND: AND. The event occurs when the specified match and I/O condition occur simultaneously.
Bit 20: If this bit is one and the COMBMODE field specifies a match component to the triggering of this event, then a match is considered to be active whenever the counter value is GREATER THAN OR EQUAL TO the value specified in the match register when counting up, LESS THEN OR EQUAL TO the match value when counting down. If this bit is zero, a match is only be active during the cycle when the counter is equal to the match value..
Bits 21-22: Direction qualifier for event generation. This field only applies when the counters are operating in BIDIR mode. If BIDIR = 0, the SCT ignores this field. Value 0x3 is reserved..
Allowed values:
0: DIRECTION_INDEPENDENT: Direction independent. This event is triggered regardless of the count direction.
0x1: COUNTING_UP: Counting up. This event is triggered only during up-counting when BIDIR = 1.
0x2: COUNTING_DOWN: Counting down. This event is triggered only during down-counting when BIDIR = 1.
SCT event state register 0
Offset: 0x318, reset: 0, access: read-write
0/2 fields covered.
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 |
STATEMSK1
rw |
STATEMSK0
rw |
SCT event control register 0
Offset: 0x31c, reset: 0, access: read-write
6/10 fields covered.
Bits 10-11: Selects the I/O condition for event n. (The detection of edges on outputs lag the conditions that switch the outputs by one SCT clock). In order to guarantee proper edge/state detection, an input must have a minimum pulse width of at least one SCT clock period ..
Allowed values:
0: LOW: LOW
0x1: RISE: Rise
0x2: FALL: Fall
0x3: HIGH: HIGH
Bits 12-13: Selects how the specified match and I/O condition are used and combined..
Allowed values:
0: OR: OR. The event occurs when either the specified match or I/O condition occurs.
0x1: MATCH: MATCH. Uses the specified match only.
0x2: IO: IO. Uses the specified I/O condition only.
0x3: AND: AND. The event occurs when the specified match and I/O condition occur simultaneously.
Bit 20: If this bit is one and the COMBMODE field specifies a match component to the triggering of this event, then a match is considered to be active whenever the counter value is GREATER THAN OR EQUAL TO the value specified in the match register when counting up, LESS THEN OR EQUAL TO the match value when counting down. If this bit is zero, a match is only be active during the cycle when the counter is equal to the match value..
Bits 21-22: Direction qualifier for event generation. This field only applies when the counters are operating in BIDIR mode. If BIDIR = 0, the SCT ignores this field. Value 0x3 is reserved..
Allowed values:
0: DIRECTION_INDEPENDENT: Direction independent. This event is triggered regardless of the count direction.
0x1: COUNTING_UP: Counting up. This event is triggered only during up-counting when BIDIR = 1.
0x2: COUNTING_DOWN: Counting down. This event is triggered only during down-counting when BIDIR = 1.
SCT event state register 0
Offset: 0x320, reset: 0, access: read-write
0/2 fields covered.
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 |
STATEMSK1
rw |
STATEMSK0
rw |
SCT event control register 0
Offset: 0x324, reset: 0, access: read-write
6/10 fields covered.
Bits 10-11: Selects the I/O condition for event n. (The detection of edges on outputs lag the conditions that switch the outputs by one SCT clock). In order to guarantee proper edge/state detection, an input must have a minimum pulse width of at least one SCT clock period ..
Allowed values:
0: LOW: LOW
0x1: RISE: Rise
0x2: FALL: Fall
0x3: HIGH: HIGH
Bits 12-13: Selects how the specified match and I/O condition are used and combined..
Allowed values:
0: OR: OR. The event occurs when either the specified match or I/O condition occurs.
0x1: MATCH: MATCH. Uses the specified match only.
0x2: IO: IO. Uses the specified I/O condition only.
0x3: AND: AND. The event occurs when the specified match and I/O condition occur simultaneously.
Bit 20: If this bit is one and the COMBMODE field specifies a match component to the triggering of this event, then a match is considered to be active whenever the counter value is GREATER THAN OR EQUAL TO the value specified in the match register when counting up, LESS THEN OR EQUAL TO the match value when counting down. If this bit is zero, a match is only be active during the cycle when the counter is equal to the match value..
Bits 21-22: Direction qualifier for event generation. This field only applies when the counters are operating in BIDIR mode. If BIDIR = 0, the SCT ignores this field. Value 0x3 is reserved..
Allowed values:
0: DIRECTION_INDEPENDENT: Direction independent. This event is triggered regardless of the count direction.
0x1: COUNTING_UP: Counting up. This event is triggered only during up-counting when BIDIR = 1.
0x2: COUNTING_DOWN: Counting down. This event is triggered only during down-counting when BIDIR = 1.
SCT event state register 0
Offset: 0x328, reset: 0, access: read-write
0/2 fields covered.
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 |
STATEMSK1
rw |
STATEMSK0
rw |
SCT event control register 0
Offset: 0x32c, reset: 0, access: read-write
6/10 fields covered.
Bits 10-11: Selects the I/O condition for event n. (The detection of edges on outputs lag the conditions that switch the outputs by one SCT clock). In order to guarantee proper edge/state detection, an input must have a minimum pulse width of at least one SCT clock period ..
Allowed values:
0: LOW: LOW
0x1: RISE: Rise
0x2: FALL: Fall
0x3: HIGH: HIGH
Bits 12-13: Selects how the specified match and I/O condition are used and combined..
Allowed values:
0: OR: OR. The event occurs when either the specified match or I/O condition occurs.
0x1: MATCH: MATCH. Uses the specified match only.
0x2: IO: IO. Uses the specified I/O condition only.
0x3: AND: AND. The event occurs when the specified match and I/O condition occur simultaneously.
Bit 20: If this bit is one and the COMBMODE field specifies a match component to the triggering of this event, then a match is considered to be active whenever the counter value is GREATER THAN OR EQUAL TO the value specified in the match register when counting up, LESS THEN OR EQUAL TO the match value when counting down. If this bit is zero, a match is only be active during the cycle when the counter is equal to the match value..
Bits 21-22: Direction qualifier for event generation. This field only applies when the counters are operating in BIDIR mode. If BIDIR = 0, the SCT ignores this field. Value 0x3 is reserved..
Allowed values:
0: DIRECTION_INDEPENDENT: Direction independent. This event is triggered regardless of the count direction.
0x1: COUNTING_UP: Counting up. This event is triggered only during up-counting when BIDIR = 1.
0x2: COUNTING_DOWN: Counting down. This event is triggered only during down-counting when BIDIR = 1.
SCT output 0 set register
Offset: 0x500, reset: 0, access: read-write
0/1 fields covered.
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 |
SET
rw |
Bits 0-5: A 1 in bit m selects event m to set output n (or clear it if SETCLRn = 0x1 or 0x2) output 0 = bit 0, output 1 = bit 1, etc. The number of bits = number of events in this SCT. When the counter is used in bi-directional mode, it is possible to reverse the action specified by the output set and clear registers when counting down, See the OUTPUTCTRL register..
SCT output 0 clear register
Offset: 0x504, reset: 0, access: read-write
0/1 fields covered.
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 |
CLR
rw |
Bits 0-5: A 1 in bit m selects event m to clear output n (or set it if SETCLRn = 0x1 or 0x2) event 0 = bit 0, event 1 = bit 1, etc. The number of bits = number of events in this SCT. When the counter is used in bi-directional mode, it is possible to reverse the action specified by the output set and clear registers when counting down, See the OUTPUTCTRL register..
SCT output 0 set register
Offset: 0x508, reset: 0, access: read-write
0/1 fields covered.
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 |
SET
rw |
Bits 0-5: A 1 in bit m selects event m to set output n (or clear it if SETCLRn = 0x1 or 0x2) output 0 = bit 0, output 1 = bit 1, etc. The number of bits = number of events in this SCT. When the counter is used in bi-directional mode, it is possible to reverse the action specified by the output set and clear registers when counting down, See the OUTPUTCTRL register..
SCT output 0 clear register
Offset: 0x50c, reset: 0, access: read-write
0/1 fields covered.
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 |
CLR
rw |
Bits 0-5: A 1 in bit m selects event m to clear output n (or set it if SETCLRn = 0x1 or 0x2) event 0 = bit 0, event 1 = bit 1, etc. The number of bits = number of events in this SCT. When the counter is used in bi-directional mode, it is possible to reverse the action specified by the output set and clear registers when counting down, See the OUTPUTCTRL register..
SCT output 0 set register
Offset: 0x510, reset: 0, access: read-write
0/1 fields covered.
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 |
SET
rw |
Bits 0-5: A 1 in bit m selects event m to set output n (or clear it if SETCLRn = 0x1 or 0x2) output 0 = bit 0, output 1 = bit 1, etc. The number of bits = number of events in this SCT. When the counter is used in bi-directional mode, it is possible to reverse the action specified by the output set and clear registers when counting down, See the OUTPUTCTRL register..
SCT output 0 clear register
Offset: 0x514, reset: 0, access: read-write
0/1 fields covered.
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 |
CLR
rw |
Bits 0-5: A 1 in bit m selects event m to clear output n (or set it if SETCLRn = 0x1 or 0x2) event 0 = bit 0, event 1 = bit 1, etc. The number of bits = number of events in this SCT. When the counter is used in bi-directional mode, it is possible to reverse the action specified by the output set and clear registers when counting down, See the OUTPUTCTRL register..
SCT output 0 set register
Offset: 0x518, reset: 0, access: read-write
0/1 fields covered.
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 |
SET
rw |
Bits 0-5: A 1 in bit m selects event m to set output n (or clear it if SETCLRn = 0x1 or 0x2) output 0 = bit 0, output 1 = bit 1, etc. The number of bits = number of events in this SCT. When the counter is used in bi-directional mode, it is possible to reverse the action specified by the output set and clear registers when counting down, See the OUTPUTCTRL register..
SCT output 0 clear register
Offset: 0x51c, reset: 0, access: read-write
0/1 fields covered.
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 |
CLR
rw |
Bits 0-5: A 1 in bit m selects event m to clear output n (or set it if SETCLRn = 0x1 or 0x2) event 0 = bit 0, event 1 = bit 1, etc. The number of bits = number of events in this SCT. When the counter is used in bi-directional mode, it is possible to reverse the action specified by the output set and clear registers when counting down, See the OUTPUTCTRL register..
0x40058000: Serial Peripheral Interfaces (SPI)
31/54 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CFG | ||||||||||||||||||||||||||||||||
0x4 | DLY | ||||||||||||||||||||||||||||||||
0x8 | STAT | ||||||||||||||||||||||||||||||||
0xc | INTENSET | ||||||||||||||||||||||||||||||||
0x10 | INTENCLR | ||||||||||||||||||||||||||||||||
0x14 | RXDAT | ||||||||||||||||||||||||||||||||
0x18 | TXDATCTL | ||||||||||||||||||||||||||||||||
0x1c | TXDAT | ||||||||||||||||||||||||||||||||
0x20 | TXCTL | ||||||||||||||||||||||||||||||||
0x24 | DIV | ||||||||||||||||||||||||||||||||
0x28 | INTSTAT |
SPI Configuration register
Offset: 0x0, reset: 0, access: read-write
7/7 fields covered.
Bit 2: Master mode select..
Allowed values:
0: SLAVE_MODE: Slave mode. The SPI will operate in slave mode. SCK, MOSI, and the SSEL signals are inputs, MISO is an output.
0x1: MASTER_MODE: Master mode. The SPI will operate in master mode. SCK, MOSI, and the SSEL signals are outputs, MISO is an input.
Bit 4: Clock Phase select..
Allowed values:
0: CHANGE: Change. The SPI captures serial data on the first clock transition of the transfer (when the clock changes away from the rest state). Data is changed on the following edge.
0x1: CAPTURE: Capture. The SPI changes serial data on the first clock transition of the transfer (when the clock changes away from the rest state). Data is captured on the following edge.
SPI Delay register
Offset: 0x4, reset: 0, access: read-write
0/4 fields covered.
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 |
TRANSFER_DELAY
rw |
FRAME_DELAY
rw |
POST_DELAY
rw |
PRE_DELAY
rw |
Bits 0-3: Controls the amount of time between SSEL assertion and the beginning of a data transfer. There is always one SPI clock time between SSEL assertion and the first clock edge. This is not considered part of the pre-delay. 0x0 = No additional time is inserted. 0x1 = 1 SPI clock time is inserted. 0x2 = 2 SPI clock times are inserted. 0xF = 15 SPI clock times are inserted..
Bits 8-11: If the EOF flag is set, controls the minimum amount of time between the current frame and the next frame (or SSEL deassertion if EOT). 0x0 = No additional time is inserted. 0x1 = 1 SPI clock time is inserted. 0x2 = 2 SPI clock times are inserted. 0xF = 15 SPI clock times are inserted..
Bits 12-15: Controls the minimum amount of time that the SSEL is deasserted between transfers. 0x0 = The minimum time that SSEL is deasserted is 1 SPI clock time. (Zero added time.) 0x1 = The minimum time that SSEL is deasserted is 2 SPI clock times. 0x2 = The minimum time that SSEL is deasserted is 3 SPI clock times. 0xF = The minimum time that SSEL is deasserted is 16 SPI clock times..
SPI Status. Some status flags can be cleared by writing a 1 to that bit position
Offset: 0x8, reset: 0x102, access: read-write
4/9 fields covered.
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 |
MSTIDLE
r |
ENDTRANSFER
rw |
STALLED
r |
SSD
w |
SSA
w |
TXUR
w |
RXOV
w |
TXRDY
r |
RXRDY
r |
Bit 2: Receiver Overrun interrupt flag. This flag applies only to slave mode (Master = 0). This flag is set when the beginning of a received character is detected while the receiver buffer is still in use. If this occurs, the receiver buffer contents are preserved, and the incoming data is lost. Data received by the SPI should be considered undefined if RxOv is set..
Bit 3: Transmitter Underrun interrupt flag. This flag applies only to slave mode (Master = 0). In this case, the transmitter must begin sending new data on the next input clock if the transmitter is idle. If that data is not available in the transmitter holding register at that point, there is no data to transmit and the TXUR flag is set. Data transmitted by the SPI should be considered undefined if TXUR is set..
Bit 4: Slave Select Assert. This flag is set whenever any slave select transitions from deasserted to asserted, in both master and slave modes. This allows determining when the SPI transmit/receive functions become busy, and allows waking up the device from reduced power modes when a slave mode access begins. This flag is cleared by software..
Bit 7: End Transfer control bit. Software can set this bit to force an end to the current transfer when the transmitter finishes any activity already in progress, as if the EOT flag had been set prior to the last transmission. This capability is included to support cases where it is not known when transmit data is written that it will be the end of a transfer. The bit is cleared when the transmitter becomes idle as the transfer comes to an end. Forcing an end of transfer in this manner causes any specified FRAME_DELAY and TRANSFER_DELAY to be inserted..
SPI Interrupt Enable read and Set. A complete value may be read from this register. Writing a 1 to any implemented bit position causes that bit to be set.
Offset: 0xc, reset: 0, access: read-write
6/6 fields covered.
Bit 2: Determines whether an interrupt occurs when a receiver overrun occurs. This happens in slave mode when there is a need for the receiver to move newly received data to the RXDAT register when it is already in use. The interface prevents receiver overrun in Master mode by not allowing a new transmission to begin when a receiver overrun would otherwise occur..
Allowed values:
0: RXOVEN_0: No interrupt will be generated when a receiver overrun occurs.
0x1: RXOVEN_1: An interrupt will be generated if a receiver overrun occurs.
Bit 3: Determines whether an interrupt occurs when a transmitter underrun occurs. This happens in slave mode when there is a need to transmit data when none is available..
Allowed values:
0: TXUREN_0: No interrupt will be generated when the transmitter underruns.
0x1: TXUREN_1: An interrupt will be generated if the transmitter underruns.
Bit 4: Determines whether an interrupt occurs when the Slave Select is asserted..
Allowed values:
0: SSAEN_0: No interrupt will be generated when any Slave Select transitions from deasserted to asserted.
0x1: SSAEN_1: An interrupt will be generated when any Slave Select transitions from deasserted to asserted.
Bit 5: Determines whether an interrupt occurs when the Slave Select is deasserted..
Allowed values:
0: SSDEN_0: No interrupt will be generated when all asserted Slave Selects transition to deasserted.
0x1: SSDEN_1: An interrupt will be generated when all asserted Slave Selects transition to deasserted.
SPI Receive Data
Offset: 0x14, reset: 0, access: read-only
3/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SOT
r |
RXSSEL0_N
r |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RXDAT
r |
Bit 16: Slave Select for receive. This field allows the state of the SSEL0 pin to be saved along with received data. The value will reflect the SSEL0 pin for both master and slave operation. A zero indicates that a slave select is active. The actual polarity of each slave select pin is configured by the related SPOL bit in CFG..
SPI Transmit Data with Control
Offset: 0x18, reset: 0, access: read-write
5/6 fields covered.
Bit 20: End of Transfer. The asserted SSEL will be deasserted at the end of a transfer, and remain so for at least the time specified by the Transfer_delay value in the DLY register..
Allowed values:
0: SSEL_deasserted: This piece of data is not treated as the end of a transfer. SSEL will not be deasserted at the end of this data.
0x1: SSEL_not_deasserted: This piece of data is treated as the end of a transfer. SSEL will be deasserted at the end of this piece of data.
Bit 21: End of Frame. Between frames, a delay may be inserted, as defined by the FRAME_DELAY value in the DLY register. The end of a frame may not be particularly meaningful if the FRAME_DELAY value = 0. This control can be used as part of the support for frame lengths greater than 16 bits..
Allowed values:
0: Data_not_EOF: This piece of data transmitted is not treated as the end of a frame.
0x1: Data_EOF: This piece of data is treated as the end of a frame, causing the FRAME_DELAY time to be inserted before subsequent data is transmitted.
Bit 22: Receive Ignore. This allows data to be transmitted using the SPI without the need to read unneeded data from the receiver.Setting this bit simplifies the transmit process and can be used with the DMA..
Allowed values:
0: Read_received_data: Received data must be read in order to allow transmission to progress. In slave mode, an overrun error will occur if received data is not read before new data is received.
0x1: Ignore_received_data: Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.
Bits 24-27: Data Length. Specifies the data length from 1 to 16 bits. Note that transfer lengths greater than 16 bits are supported by implementing multiple sequential transmits. 0x0 = Data transfer is 1 bit in length. 0x1 = Data transfer is 2 bits in length. 0x2 = Data transfer is 3 bits in length. ... 0xF = Data transfer is 16 bits in length..
Allowed values:
0: LEN_0: no description available
0x1: LEN_1: Data transfer is 1 bit in length.
0x2: LEN_2: Data transfer is 2 bit in length.
0x3: LEN_3: Data transfer is 3 bit in length.
0x4: LEN_4: Data transfer is 4 bit in length.
0x5: LEN_5: Data transfer is 5 bit in length.
0x6: LEN_6: Data transfer is 6 bit in length.
0x7: LEN_7: Data transfer is 7 bit in length.
0x8: LEN_8: Data transfer is 8 bit in length.
0x9: LEN_9: Data transfer is 9 bit in length.
0xA: LEN_10: Data transfer is 10 bit in length.
0xB: LEN_11: Data transfer is 11 bit in length.
0xC: LEN_12: Data transfer is 12 bit in length.
0xD: LEN_13: Data transfer is 13 bit in length.
0xE: LEN_14: Data transfer is 14 bit in length.
0xF: LEN_15: Data transfer is 15 bit in length.
SPI Transmit Data.
Offset: 0x1c, reset: 0, access: read-write
0/1 fields covered.
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 |
DATA
rw |
SPI clock Divider
Offset: 0x24, reset: 0, access: read-write
0/1 fields covered.
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 |
DIVVAL
rw |
Bits 0-15: Rate divider value. Specifies how the Flexcomm clock (FCLK) is divided to produce the SPI clock rate in master mode. DIVVAL is -1 encoded such that the value 0 results in FCLK/1, the value 1 results in FCLK/2, up to the maximum possible divide value of 0xFFFF, which results in FCLK/65536..
0x4005c000: Serial Peripheral Interfaces (SPI)
31/54 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CFG | ||||||||||||||||||||||||||||||||
0x4 | DLY | ||||||||||||||||||||||||||||||||
0x8 | STAT | ||||||||||||||||||||||||||||||||
0xc | INTENSET | ||||||||||||||||||||||||||||||||
0x10 | INTENCLR | ||||||||||||||||||||||||||||||||
0x14 | RXDAT | ||||||||||||||||||||||||||||||||
0x18 | TXDATCTL | ||||||||||||||||||||||||||||||||
0x1c | TXDAT | ||||||||||||||||||||||||||||||||
0x20 | TXCTL | ||||||||||||||||||||||||||||||||
0x24 | DIV | ||||||||||||||||||||||||||||||||
0x28 | INTSTAT |
SPI Configuration register
Offset: 0x0, reset: 0, access: read-write
7/7 fields covered.
Bit 2: Master mode select..
Allowed values:
0: SLAVE_MODE: Slave mode. The SPI will operate in slave mode. SCK, MOSI, and the SSEL signals are inputs, MISO is an output.
0x1: MASTER_MODE: Master mode. The SPI will operate in master mode. SCK, MOSI, and the SSEL signals are outputs, MISO is an input.
Bit 4: Clock Phase select..
Allowed values:
0: CHANGE: Change. The SPI captures serial data on the first clock transition of the transfer (when the clock changes away from the rest state). Data is changed on the following edge.
0x1: CAPTURE: Capture. The SPI changes serial data on the first clock transition of the transfer (when the clock changes away from the rest state). Data is captured on the following edge.
SPI Delay register
Offset: 0x4, reset: 0, access: read-write
0/4 fields covered.
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 |
TRANSFER_DELAY
rw |
FRAME_DELAY
rw |
POST_DELAY
rw |
PRE_DELAY
rw |
Bits 0-3: Controls the amount of time between SSEL assertion and the beginning of a data transfer. There is always one SPI clock time between SSEL assertion and the first clock edge. This is not considered part of the pre-delay. 0x0 = No additional time is inserted. 0x1 = 1 SPI clock time is inserted. 0x2 = 2 SPI clock times are inserted. 0xF = 15 SPI clock times are inserted..
Bits 8-11: If the EOF flag is set, controls the minimum amount of time between the current frame and the next frame (or SSEL deassertion if EOT). 0x0 = No additional time is inserted. 0x1 = 1 SPI clock time is inserted. 0x2 = 2 SPI clock times are inserted. 0xF = 15 SPI clock times are inserted..
Bits 12-15: Controls the minimum amount of time that the SSEL is deasserted between transfers. 0x0 = The minimum time that SSEL is deasserted is 1 SPI clock time. (Zero added time.) 0x1 = The minimum time that SSEL is deasserted is 2 SPI clock times. 0x2 = The minimum time that SSEL is deasserted is 3 SPI clock times. 0xF = The minimum time that SSEL is deasserted is 16 SPI clock times..
SPI Status. Some status flags can be cleared by writing a 1 to that bit position
Offset: 0x8, reset: 0x102, access: read-write
4/9 fields covered.
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 |
MSTIDLE
r |
ENDTRANSFER
rw |
STALLED
r |
SSD
w |
SSA
w |
TXUR
w |
RXOV
w |
TXRDY
r |
RXRDY
r |
Bit 2: Receiver Overrun interrupt flag. This flag applies only to slave mode (Master = 0). This flag is set when the beginning of a received character is detected while the receiver buffer is still in use. If this occurs, the receiver buffer contents are preserved, and the incoming data is lost. Data received by the SPI should be considered undefined if RxOv is set..
Bit 3: Transmitter Underrun interrupt flag. This flag applies only to slave mode (Master = 0). In this case, the transmitter must begin sending new data on the next input clock if the transmitter is idle. If that data is not available in the transmitter holding register at that point, there is no data to transmit and the TXUR flag is set. Data transmitted by the SPI should be considered undefined if TXUR is set..
Bit 4: Slave Select Assert. This flag is set whenever any slave select transitions from deasserted to asserted, in both master and slave modes. This allows determining when the SPI transmit/receive functions become busy, and allows waking up the device from reduced power modes when a slave mode access begins. This flag is cleared by software..
Bit 7: End Transfer control bit. Software can set this bit to force an end to the current transfer when the transmitter finishes any activity already in progress, as if the EOT flag had been set prior to the last transmission. This capability is included to support cases where it is not known when transmit data is written that it will be the end of a transfer. The bit is cleared when the transmitter becomes idle as the transfer comes to an end. Forcing an end of transfer in this manner causes any specified FRAME_DELAY and TRANSFER_DELAY to be inserted..
SPI Interrupt Enable read and Set. A complete value may be read from this register. Writing a 1 to any implemented bit position causes that bit to be set.
Offset: 0xc, reset: 0, access: read-write
6/6 fields covered.
Bit 2: Determines whether an interrupt occurs when a receiver overrun occurs. This happens in slave mode when there is a need for the receiver to move newly received data to the RXDAT register when it is already in use. The interface prevents receiver overrun in Master mode by not allowing a new transmission to begin when a receiver overrun would otherwise occur..
Allowed values:
0: RXOVEN_0: No interrupt will be generated when a receiver overrun occurs.
0x1: RXOVEN_1: An interrupt will be generated if a receiver overrun occurs.
Bit 3: Determines whether an interrupt occurs when a transmitter underrun occurs. This happens in slave mode when there is a need to transmit data when none is available..
Allowed values:
0: TXUREN_0: No interrupt will be generated when the transmitter underruns.
0x1: TXUREN_1: An interrupt will be generated if the transmitter underruns.
Bit 4: Determines whether an interrupt occurs when the Slave Select is asserted..
Allowed values:
0: SSAEN_0: No interrupt will be generated when any Slave Select transitions from deasserted to asserted.
0x1: SSAEN_1: An interrupt will be generated when any Slave Select transitions from deasserted to asserted.
Bit 5: Determines whether an interrupt occurs when the Slave Select is deasserted..
Allowed values:
0: SSDEN_0: No interrupt will be generated when all asserted Slave Selects transition to deasserted.
0x1: SSDEN_1: An interrupt will be generated when all asserted Slave Selects transition to deasserted.
SPI Receive Data
Offset: 0x14, reset: 0, access: read-only
3/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SOT
r |
RXSSEL0_N
r |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RXDAT
r |
Bit 16: Slave Select for receive. This field allows the state of the SSEL0 pin to be saved along with received data. The value will reflect the SSEL0 pin for both master and slave operation. A zero indicates that a slave select is active. The actual polarity of each slave select pin is configured by the related SPOL bit in CFG..
SPI Transmit Data with Control
Offset: 0x18, reset: 0, access: read-write
5/6 fields covered.
Bit 20: End of Transfer. The asserted SSEL will be deasserted at the end of a transfer, and remain so for at least the time specified by the Transfer_delay value in the DLY register..
Allowed values:
0: SSEL_deasserted: This piece of data is not treated as the end of a transfer. SSEL will not be deasserted at the end of this data.
0x1: SSEL_not_deasserted: This piece of data is treated as the end of a transfer. SSEL will be deasserted at the end of this piece of data.
Bit 21: End of Frame. Between frames, a delay may be inserted, as defined by the FRAME_DELAY value in the DLY register. The end of a frame may not be particularly meaningful if the FRAME_DELAY value = 0. This control can be used as part of the support for frame lengths greater than 16 bits..
Allowed values:
0: Data_not_EOF: This piece of data transmitted is not treated as the end of a frame.
0x1: Data_EOF: This piece of data is treated as the end of a frame, causing the FRAME_DELAY time to be inserted before subsequent data is transmitted.
Bit 22: Receive Ignore. This allows data to be transmitted using the SPI without the need to read unneeded data from the receiver.Setting this bit simplifies the transmit process and can be used with the DMA..
Allowed values:
0: Read_received_data: Received data must be read in order to allow transmission to progress. In slave mode, an overrun error will occur if received data is not read before new data is received.
0x1: Ignore_received_data: Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.
Bits 24-27: Data Length. Specifies the data length from 1 to 16 bits. Note that transfer lengths greater than 16 bits are supported by implementing multiple sequential transmits. 0x0 = Data transfer is 1 bit in length. 0x1 = Data transfer is 2 bits in length. 0x2 = Data transfer is 3 bits in length. ... 0xF = Data transfer is 16 bits in length..
Allowed values:
0: LEN_0: no description available
0x1: LEN_1: Data transfer is 1 bit in length.
0x2: LEN_2: Data transfer is 2 bit in length.
0x3: LEN_3: Data transfer is 3 bit in length.
0x4: LEN_4: Data transfer is 4 bit in length.
0x5: LEN_5: Data transfer is 5 bit in length.
0x6: LEN_6: Data transfer is 6 bit in length.
0x7: LEN_7: Data transfer is 7 bit in length.
0x8: LEN_8: Data transfer is 8 bit in length.
0x9: LEN_9: Data transfer is 9 bit in length.
0xA: LEN_10: Data transfer is 10 bit in length.
0xB: LEN_11: Data transfer is 11 bit in length.
0xC: LEN_12: Data transfer is 12 bit in length.
0xD: LEN_13: Data transfer is 13 bit in length.
0xE: LEN_14: Data transfer is 14 bit in length.
0xF: LEN_15: Data transfer is 15 bit in length.
SPI Transmit Data.
Offset: 0x1c, reset: 0, access: read-write
0/1 fields covered.
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 |
DATA
rw |
SPI clock Divider
Offset: 0x24, reset: 0, access: read-write
0/1 fields covered.
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 |
DIVVAL
rw |
Bits 0-15: Rate divider value. Specifies how the Flexcomm clock (FCLK) is divided to produce the SPI clock rate in master mode. DIVVAL is -1 encoded such that the value 0 results in FCLK/1, the value 1 results in FCLK/2, up to the maximum possible divide value of 0xFFFF, which results in FCLK/65536..
0x4000c000: LPC81x SWM
9/81 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | PINASSIGN0 | ||||||||||||||||||||||||||||||||
0x0 | PINASSIGN_DATA0 | ||||||||||||||||||||||||||||||||
0x4 | PINASSIGN1 | ||||||||||||||||||||||||||||||||
0x4 | PINASSIGN_DATA1 | ||||||||||||||||||||||||||||||||
0x8 | PINASSIGN2 | ||||||||||||||||||||||||||||||||
0x8 | PINASSIGN_DATA2 | ||||||||||||||||||||||||||||||||
0xc | PINASSIGN3 | ||||||||||||||||||||||||||||||||
0xc | PINASSIGN_DATA3 | ||||||||||||||||||||||||||||||||
0x10 | PINASSIGN4 | ||||||||||||||||||||||||||||||||
0x10 | PINASSIGN_DATA4 | ||||||||||||||||||||||||||||||||
0x14 | PINASSIGN5 | ||||||||||||||||||||||||||||||||
0x14 | PINASSIGN_DATA5 | ||||||||||||||||||||||||||||||||
0x18 | PINASSIGN6 | ||||||||||||||||||||||||||||||||
0x18 | PINASSIGN_DATA6 | ||||||||||||||||||||||||||||||||
0x1c | PINASSIGN7 | ||||||||||||||||||||||||||||||||
0x1c | PINASSIGN_DATA7 | ||||||||||||||||||||||||||||||||
0x20 | PINASSIGN8 | ||||||||||||||||||||||||||||||||
0x20 | PINASSIGN_DATA8 | ||||||||||||||||||||||||||||||||
0x1c0 | PINENABLE0 |
Pin assign register 0. Assign movable functions U0_TXD, U0_RXD, U0_RTS, U0_CTS.
Offset: 0x0, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
U0_CTS_I
rw |
U0_RTS_O
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
U0_RXD_I
rw |
U0_TXD_O
rw |
Pin assign register
Offset: 0x0, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DATA3
rw |
DATA2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA1
rw |
DATA0
rw |
Pin assign register 1. Assign movable functions U0_SCLK, U1_TXD, U1_RXD, U1_RTS.
Offset: 0x4, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
U1_RTS_O
rw |
U1_RXD_I
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
U1_TXD_O
rw |
U0_SCLK_IO
rw |
Pin assign register
Offset: 0x4, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DATA3
rw |
DATA2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA1
rw |
DATA0
rw |
Pin assign register 2. Assign movable functions U1_CTS, U1_SCLK, U2_TXD, U2_RXD.
Offset: 0x8, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
U2_RXD_I
rw |
U2_TXD_O
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
U1_SCLK_IO
rw |
U1_CTS_I
rw |
Pin assign register
Offset: 0x8, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DATA3
rw |
DATA2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA1
rw |
DATA0
rw |
Pin assign register 3. Assign movable function U2_RTS, U2_CTS, U2_SCLK, SPI0_SCK.
Offset: 0xc, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SPI0_SCK_IO
rw |
U2_SCLK_IO
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
U2_CTS_I
rw |
U2_RTS_O
rw |
Pin assign register
Offset: 0xc, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DATA3
rw |
DATA2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA1
rw |
DATA0
rw |
Pin assign register 4. Assign movable functions SPI0_MOSI, SPI0_MISO,SPI0_SSEL, SPI1_SCK.
Offset: 0x10, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SPI1_SCK_IO
rw |
SPI0_SSEL_IO
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPI0_MISO_IO
rw |
SPI0_MOSI_IO
rw |
Pin assign register
Offset: 0x10, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DATA3
rw |
DATA2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA1
rw |
DATA0
rw |
Pin assign register 5. Assign movable functions SPI1_MOSI, SPI1_MISO,SPI1_SSEL, CTIN_0
Offset: 0x14, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CTIN_0_I
rw |
SPI1_SSEL_IO
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPI1_MISO_IO
rw |
SPI1_MOSI_IO
rw |
Pin assign register
Offset: 0x14, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DATA3
rw |
DATA2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA1
rw |
DATA0
rw |
Pin assign register 6. Assign movable functions CTIN_1, CTIN_2, CTIN_3,CTOUT_0.
Offset: 0x18, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CTOUT_0_O
rw |
CTIN_3_I
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CTIN_2_I
rw |
CTIN_1_I
rw |
Pin assign register
Offset: 0x18, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DATA3
rw |
DATA2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA1
rw |
DATA0
rw |
Pin assign register 7. Assign movable functions CTOUT_1, CTOUT_2, CTOUT_3,I2C_SDA.
Offset: 0x1c, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
I2C_SDA_IO
rw |
CTOUT_3_O
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CTOUT_2_O
rw |
CTOUT_1_O
rw |
Pin assign register
Offset: 0x1c, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DATA3
rw |
DATA2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA1
rw |
DATA0
rw |
Pin assign register 8. Assign movable functions I2C_SCL, ACMP_O, CLKOUT,GPIO_INT_BMAT.
Offset: 0x20, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GPIO_INT_BMAT_O
rw |
CLKOUT_O
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ACMP_O_O
rw |
I2C_SCL_IO
rw |
Pin assign register
Offset: 0x20, reset: 0xFFFFFFFF, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DATA3
rw |
DATA2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA1
rw |
DATA0
rw |
Pin enable register 0. Enables fixed-pin functions ACMP_I0, ACMP_I1, SWCLK, SWDIO, XTALIN, XTALOUT, RESET, CLKIN, VDDCMP and so on.
Offset: 0x1c0, reset: 0x1B3, access: read-write
9/9 fields covered.
Bit 0: Enables fixed-pin function. Writing a 1 deselects the function and any movable function can be assigned to this pin. By default the fixed--pin function is deselected and GPIO is assigned to this pin..
Allowed values:
0: ENABLED: Enable ACMP_I1. This function is enabled on pin PIO0_0.
0x1: DISABLED: Disable ACMP_I1. GPIO function PIO0_0 (default) or any other movable function can be assigned to pin PIO0_0.
Bit 1: Enables fixed-pin function. Writing a 1 deselects the function and any movable function can be assigned to this pin. By default the fixed-pin function is deselected and GPIO is assigned to this pin. Functions CLKIN and ACMP_I2 are connected to the same pin PIO0_1. To use ACMP_I2, disable the CLKIN function in bit 7 of this register and enable ACMP_I2..
Allowed values:
0: ACMP_I2_0: Enable ACMP_I2. This function is enabled on pin PIO0_1.
0x1: ACMP_I2_1: Disable ACMP_I2. GPIO function PIO0_1 (default) or any other movable function can be assigned to pin PIO0_1.
Bit 2: Enables fixed-pin function. Writing a 1 deselects the function and any movable function can be assigned to this pin. This function is selected by default..
Allowed values:
0: ENABLED: Enable SWCLK. This function is enabled on pin PIO0_3.
0x1: DISABLED: Disable SWCLK. GPIO function PIO0_3 is selected on this pin. Any other movable function can be assigned to pin PIO0_3.
Bit 3: Enables fixed-pin function. Writing a 1 deselects the function and any movable function can be assigned to this pin. This function is selected by default..
Allowed values:
0: ENABLED: Enable SWDIO. This function is enabled on pin PIO0_2.
0x1: DISABLED: Disable SWDIO. GPIO function PIO0_2 is selected on this pin. Any other movable function can be assigned to pin PIO0_2.
Bit 4: Enables fixed-pin function. Writing a 1 deselects the function and any movable function can be assigned to this pin. By default the fixed--pin function is deselected and GPIO is assigned to this pin..
Allowed values:
0: ENABLED: Enable XTALIN. This function is enabled on pin PIO0_8.
0x1: DISABLED: Disable XTALIN. GPIO function PIO0_8 (default) or any other movable function can be assigned to pin PIO0_8.
Bit 5: Enables fixed-pin function. Writing a 1 deselects the function and any movable function can be assigned to this pin. By default the fixed--pin function is deselected and GPIO is assigned to this pin..
Allowed values:
0: ENABLED: Enable XTALOUT. This function is enabled on pin PIO0_9.
0x1: DISABLED: Disable XTALOUT. GPIO function PIO0_9 (default) or any other movable function can be assigned to pin PIO0_9.
Bit 6: Enables fixed-pin function. Writing a 1 deselects the function and any movable function can be assigned to this pin. This function is selected by default..
Allowed values:
0: ENABLED: Enable RESETN. This function is enabled on pin PIO0_5.
0x1: DISABLED: Disable RESETN. GPIO function PIO0_5 is selected on this pin. Any other movable function can be assigned to pin PIO0_5.
Bit 7: Enables fixed-pin function. Writing a 1 deselects the function and any movable function can be assigned to this pin. By default the fixed-pin function is deselected and GPIO is assigned to this pin. Functions CLKIN and ACMP_I2 are connected to the same pin PIO0_1. To use CLKIN, disable ACMP_I2 in bit 1 of this register and enable CLKIN..
Allowed values:
0: ENABLED: Enable CLKIN. This function is enabled on pin PIO0_1.
0x1: DISABLED: Disable CLKIN. GPIO function PIO0_1 (default) or any other movable function can be assigned to pin CLKIN.
Bit 8: Enables fixed-pin function. Writing a 1 deselects the function and any movable function can be assigned to this pin. By default the fixed--pin function is deselected and GPIO is assigned to this pin..
Allowed values:
0: ENABLED: Enable VDDCMP. This function is enabled on pin PIO0_6.
0x1: DISABLED: Disable VDDCMP. GPIO function PIO0_6 (default) or any other movable function can be assigned to pin PIO0_6.
0x40048000: System configuration (SYSCON)
86/118 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | SYSMEMREMAP | ||||||||||||||||||||||||||||||||
0x4 | PRESETCTRL | ||||||||||||||||||||||||||||||||
0x8 | SYSPLLCTRL | ||||||||||||||||||||||||||||||||
0xc | SYSPLLSTAT | ||||||||||||||||||||||||||||||||
0x20 | SYSOSCCTRL | ||||||||||||||||||||||||||||||||
0x24 | WDTOSCCTRL | ||||||||||||||||||||||||||||||||
0x30 | SYSRSTSTAT | ||||||||||||||||||||||||||||||||
0x40 | SYSPLLCLKSEL | ||||||||||||||||||||||||||||||||
0x44 | SYSPLLCLKUEN | ||||||||||||||||||||||||||||||||
0x70 | MAINCLKSEL | ||||||||||||||||||||||||||||||||
0x74 | MAINCLKUEN | ||||||||||||||||||||||||||||||||
0x78 | SYSAHBCLKDIV | ||||||||||||||||||||||||||||||||
0x80 | SYSAHBCLKCTRL | ||||||||||||||||||||||||||||||||
0x94 | UARTCLKDIV | ||||||||||||||||||||||||||||||||
0xe0 | CLKOUTSEL | ||||||||||||||||||||||||||||||||
0xe4 | CLKOUTUEN | ||||||||||||||||||||||||||||||||
0xe8 | CLKOUTDIV | ||||||||||||||||||||||||||||||||
0xf0 | UARTFRGDIV | ||||||||||||||||||||||||||||||||
0xf4 | UARTFRGMULT | ||||||||||||||||||||||||||||||||
0xfc | EXTTRACECMD | ||||||||||||||||||||||||||||||||
0x100 | PIOPORCAP0 | ||||||||||||||||||||||||||||||||
0x134 | IOCONCLKDIV6 | ||||||||||||||||||||||||||||||||
0x138 | IOCONCLKDIV5 | ||||||||||||||||||||||||||||||||
0x13c | IOCONCLKDIV4 | ||||||||||||||||||||||||||||||||
0x140 | IOCONCLKDIV3 | ||||||||||||||||||||||||||||||||
0x144 | IOCONCLKDIV2 | ||||||||||||||||||||||||||||||||
0x148 | IOCONCLKDIV1 | ||||||||||||||||||||||||||||||||
0x14c | IOCONCLKDIV0 | ||||||||||||||||||||||||||||||||
0x150 | BODCTRL | ||||||||||||||||||||||||||||||||
0x154 | SYSTCKCAL | ||||||||||||||||||||||||||||||||
0x170 | IRQLATENCY | ||||||||||||||||||||||||||||||||
0x174 | NMISRC | ||||||||||||||||||||||||||||||||
0x178 | PINTSEL[[0]] | ||||||||||||||||||||||||||||||||
0x17c | PINTSEL[[1]] | ||||||||||||||||||||||||||||||||
0x180 | PINTSEL[[2]] | ||||||||||||||||||||||||||||||||
0x184 | PINTSEL[[3]] | ||||||||||||||||||||||||||||||||
0x188 | PINTSEL[[4]] | ||||||||||||||||||||||||||||||||
0x18c | PINTSEL[[5]] | ||||||||||||||||||||||||||||||||
0x190 | PINTSEL[[6]] | ||||||||||||||||||||||||||||||||
0x194 | PINTSEL[[7]] | ||||||||||||||||||||||||||||||||
0x204 | STARTERP0 | ||||||||||||||||||||||||||||||||
0x214 | STARTERP1 | ||||||||||||||||||||||||||||||||
0x230 | PDSLEEPCFG | ||||||||||||||||||||||||||||||||
0x234 | PDAWAKECFG | ||||||||||||||||||||||||||||||||
0x238 | PDRUNCFG | ||||||||||||||||||||||||||||||||
0x3f8 | DEVICE_ID |
System Remap register
Offset: 0x0, reset: 0, access: read-write
1/1 fields covered.
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 |
MAP
rw |
Bits 0-1: System memory remap. Value 0x3 is reserved..
Allowed values:
0: BOOT_LOADER_MODE: Boot Loader Mode. Interrupt vectors are re-mapped to Boot ROM.
0x1: USER_RAM_MODE: User RAM Mode. Interrupt vectors are re-mapped to Static RAM.
0x2: USER_FLASH_MODE: User Flash Mode. Interrupt vectors are not re-mapped and reside in Flash.
Peripheral reset control register
Offset: 0x4, reset: 0x2101DFFF, access: read-write
13/13 fields covered.
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 |
ACMP_RST_N
rw |
FLASH_RST_N
rw |
GPIO_RST_N
rw |
WKT_RST_N
rw |
SCT_RST_N
rw |
MRT_RST_N
rw |
I2C0_RST_N
rw |
UART2_RST_N
rw |
UART1_RST_N
rw |
UART0_RST_N
rw |
UARTFRG_RST_N
rw |
SPI1_RST_N
rw |
SPI0_RST_N
rw |
PLL control
Offset: 0x8, reset: 0, access: read-write
1/2 fields covered.
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 |
PSEL
rw |
MSEL
rw |
PLL status
Offset: 0xc, reset: 0, access: read-only
1/1 fields covered.
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 |
LOCK
r |
system oscillator control
Offset: 0x20, reset: 0, access: read-write
0/2 fields covered.
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 |
FREQRANGE
rw |
BYPASS
rw |
Watchdog oscillator control
Offset: 0x24, reset: 0, access: read-write
0/2 fields covered.
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 |
FREQSEL
rw |
DIVSEL
rw |
Bits 5-8: Frequency select. Selects the frequency of the oscillator. 0x00 = invalid setting when watchdog oscillator is running 0x1 = 0.6 MHz 0x2 = 1.05 MHz 0x3 = 1.4 MHz 0x4 = 1.75 MHz 0x5 = 2.1 MHz 0x6 = 2.4 MHz 0x7 = 2.7 MHz 0x8 = 3.0 MHz 0x9 = 3.25 MHz 0xA = 3.5 MHz 0xB = 3.75 MHz 0xC = 4.0 MHz 0xD = 4.2 MHz 0xE = 4.4 MHz 0xF = 4.6 MHz.
System PLL clock source select register
Offset: 0x40, reset: 0, access: read-write
1/1 fields covered.
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 |
SEL
rw |
System PLL clock source update enable register
Offset: 0x44, reset: 0, access: read-write
1/1 fields covered.
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 |
ENA
rw |
Main clock source select
Offset: 0x70, reset: 0, access: read-write
1/1 fields covered.
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 |
SEL
rw |
Main clock source update enable
Offset: 0x74, reset: 0, access: read-write
1/1 fields covered.
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 |
ENA
rw |
System clock divider
Offset: 0x78, reset: 0x1, access: read-write
0/1 fields covered.
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 |
DIV
rw |
USART clock divider
Offset: 0x94, reset: 0, access: read-write
0/1 fields covered.
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 |
DIV
rw |
CLKOUT clock source select
Offset: 0xe0, reset: 0, access: read-write
1/1 fields covered.
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 |
SEL
rw |
CLKOUT clock source update enable
Offset: 0xe4, reset: 0, access: read-write
1/1 fields covered.
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 |
ENA
rw |
clock out divider
Offset: 0xe8, reset: 0, access: read-write
0/1 fields covered.
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 |
DIV
rw |
USART common fractional generator divider value
Offset: 0xf0, reset: 0, access: read-write
0/1 fields covered.
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 |
DIV
rw |
USART common fractional generator divider value
Offset: 0xf4, reset: 0, access: read-write
0/1 fields covered.
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 |
MULT
rw |
External trace buffer command register
Offset: 0xfc, reset: 0, access: read-write
0/2 fields covered.
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 |
STOP
rw |
START
rw |
POR captured PIO status 0
Offset: 0x100, reset: 0, access: read-write
1/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PIOSTAT
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PIOSTAT
r |
Peripheral clock 6 to the IOCON block for programmable glitch filter
Offset: 0x134, reset: 0, access: read-write
0/1 fields covered.
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 |
DIV
rw |
Peripheral clock 6 to the IOCON block for programmable glitch filter
Offset: 0x138, reset: 0, access: read-write
0/1 fields covered.
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 |
DIV
rw |
Peripheral clock 4 to the IOCON block for programmable glitch filter
Offset: 0x13c, reset: 0, access: read-write
0/1 fields covered.
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 |
DIV
rw |
Peripheral clock 3 to the IOCON block for programmable glitch filter
Offset: 0x140, reset: 0, access: read-write
0/1 fields covered.
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 |
DIV
rw |
Peripheral clock 2 to the IOCON block for programmable glitch filter
Offset: 0x144, reset: 0, access: read-write
0/1 fields covered.
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 |
DIV
rw |
Peripheral clock 1 to the IOCON block for programmable glitch filter
Offset: 0x148, reset: 0, access: read-write
0/1 fields covered.
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 |
DIV
rw |
Peripheral clock 0 to the IOCON block for programmable glitch filter
Offset: 0x14c, reset: 0, access: read-write
0/1 fields covered.
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 |
DIV
rw |
BOD control register
Offset: 0x150, reset: 0, access: read-write
3/3 fields covered.
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 |
BODRSTENA
rw |
BODINTVAL
rw |
BODRSTLEV
rw |
System tick timer calibration register
Offset: 0x154, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CAL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CAL
rw |
IRQ latency register
Offset: 0x170, reset: 0x10, access: read-write
0/1 fields covered.
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 |
LATENCY
rw |
NMI source selection register
Offset: 0x174, reset: 0, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NMIEN
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IRQN
rw |
Pin interrupt select registers N
Offset: 0x178, reset: 0, access: read-write
0/1 fields covered.
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 |
INTPIN
rw |
Pin interrupt select registers N
Offset: 0x17c, reset: 0, access: read-write
0/1 fields covered.
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 |
INTPIN
rw |
Pin interrupt select registers N
Offset: 0x180, reset: 0, access: read-write
0/1 fields covered.
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 |
INTPIN
rw |
Pin interrupt select registers N
Offset: 0x184, reset: 0, access: read-write
0/1 fields covered.
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 |
INTPIN
rw |
Pin interrupt select registers N
Offset: 0x188, reset: 0, access: read-write
0/1 fields covered.
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 |
INTPIN
rw |
Pin interrupt select registers N
Offset: 0x18c, reset: 0, access: read-write
0/1 fields covered.
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 |
INTPIN
rw |
Pin interrupt select registers N
Offset: 0x190, reset: 0, access: read-write
0/1 fields covered.
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 |
INTPIN
rw |
Pin interrupt select registers N
Offset: 0x194, reset: 0, access: read-write
0/1 fields covered.
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 |
INTPIN
rw |
Deep-sleep configuration register
Offset: 0x230, reset: 0xFFFF, access: read-write
2/2 fields covered.
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 |
WDTOSC_PD
rw |
BOD_PD
rw |
Bit 6: Watchdog oscillator power-down control for Deep-sleep and Power-down mode. Changing this bit to powered-down has no effect when the LOCK bit in the WWDT MOD register is set. In this case, the watchdog oscillator is always running..
Allowed values:
0: DISABLED: Disabled
0x1: ENABLED: Enabled
Part ID register
Offset: 0x3f8, reset: 0, access: read-only
1/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DEVICEID
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEVICEID
r |
0x40064000: USARTs
36/65 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CFG | ||||||||||||||||||||||||||||||||
0x4 | CTL | ||||||||||||||||||||||||||||||||
0x8 | STAT | ||||||||||||||||||||||||||||||||
0xc | INTENSET | ||||||||||||||||||||||||||||||||
0x10 | INTENCLR | ||||||||||||||||||||||||||||||||
0x14 | RXDAT | ||||||||||||||||||||||||||||||||
0x18 | RXDATSTAT | ||||||||||||||||||||||||||||||||
0x1c | TXDAT | ||||||||||||||||||||||||||||||||
0x20 | BRG | ||||||||||||||||||||||||||||||||
0x24 | INTSTAT |
USART Configuration register. Basic USART configuration settings that typically are not changed during operation.
Offset: 0x0, reset: 0, access: read-write
9/9 fields covered.
Bit 0: USART Enable..
Allowed values:
0: DISABLED: Disabled. The USART is disabled and the internal state machine and counters are reset. While Enable = 0, all USART interrupts and DMA transfers are disabled. When Enable is set again, CFG and most other control bits remain unchanged. When re-enabled, the USART will immediately be ready to transmit because the transmitter has been reset and is therefore available.
0x1: ENABLED: Enabled. The USART is enabled for operation.
Bits 4-5: Selects what type of parity is used by the USART..
Allowed values:
0: NO_PARITY: No parity.
0x2: EVEN_PARITY: Even parity. Adds a bit to each character such that the number of 1s in a transmitted character is even, and the number of 1s in a received character is expected to be even.
0x3: ODD_PARITY: Odd parity. Adds a bit to each character such that the number of 1s in a transmitted character is odd, and the number of 1s in a received character is expected to be odd.
Bit 9: CTS Enable. Determines whether CTS is used for flow control. CTS can be from the input pin, or from the USART's own RTS if loopback mode is enabled..
Allowed values:
0: DISABLED: No flow control. The transmitter does not receive any automatic flow control signal.
0x1: ENABLED: Flow control enabled. The transmitter uses the CTS input (or RTS output in loopback mode) for flow control purposes.
Bit 15: Selects data loopback mode..
Allowed values:
0: NORMAL: Normal operation.
0x1: LOOPBACK: Loopback mode. This provides a mechanism to perform diagnostic loopback testing for USART data. Serial data from the transmitter (Un_TXD) is connected internally to serial input of the receive (Un_RXD). Un_TXD and Un_RTS activity will also appear on external pins if these functions are configured to appear on device pins. The receiver RTS signal is also looped back to CTS and performs flow control if enabled by CTSEN.
USART Control register. USART control settings that are more likely to change during operation.
Offset: 0x4, reset: 0, access: read-write
5/5 fields covered.
Bit 1: Break Enable..
Allowed values:
0: NORMAL: Normal operation.
0x1: CONTINOUS: Continuous break. Continuous break is sent immediately when this bit is set, and remains until this bit is cleared. A break may be sent without danger of corrupting any currently transmitting character if the transmitter is first disabled (TXDIS in CTL is set) and then waiting for the transmitter to be disabled (TXDISINT in STAT = 1) before writing 1 to TXBRKEN.
Bit 2: Enable address detect mode..
Allowed values:
0: DISABLED: Disabled. The USART presents all incoming data.
0x1: ENABLED: Enabled. The USART receiver ignores incoming data that does not have the most significant bit of the data (typically the 9th bit) = 1. When the data MSB bit = 1, the receiver treats the incoming data normally, generating a received data interrupt. Software can then check the data to see if this is an address that should be handled. If it is, the ADDRDET bit is cleared by software and further incoming data is handled normally.
Bit 8: Continuous Clock generation. By default, SCLK is only output while data is being transmitted in synchronous mode..
Allowed values:
0: CLOCK_ON_CHARACTER: Clock on character. In synchronous mode, SCLK cycles only when characters are being sent on Un_TXD or to complete a character that is being received.
0x1: CONTINOUS_CLOCK: Continuous clock. SCLK runs continuously in synchronous mode, allowing characters to be received on Un_RxD independently from transmission on Un_TXD).
USART Status register. The complete status value can be read here. Writing ones clears some bits in the register. Some bits can be cleared by writing a 1 to them.
Offset: 0x8, reset: 0xE, access: read-write
7/14 fields covered.
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 |
RXNOISEINT
w |
PARITYERRINT
w |
FRAMERRINT
w |
START
w |
DELTARXBRK
w |
RXBRK
r |
OVERRUNINT
w |
TXDISSTAT
r |
DELTACTS
w |
CTS
r |
TXIDLE
r |
TXRDY
r |
RXIDLE
r |
RXRDY
r |
Bit 2: Transmitter Ready flag. When 1, this bit indicates that data may be written to the transmit buffer. Previous data may still be in the process of being transmitted. Cleared when data is written to TXDAT. Set when the data is moved from the transmit buffer to the transmit shift register..
Bit 10: Received Break. This bit reflects the current state of the receiver break detection logic. It is set when the Un_RXD pin remains low for 16 bit times. Note that FRAMERRINT will also be set when this condition occurs because the stop bit(s) for the character would be missing. RXBRK is cleared when the Un_RXD pin goes high..
Bit 15: Received Noise interrupt flag. Three samples of received data are taken in order to determine the value of each received data bit, except in synchronous mode. This acts as a noise filter if one sample disagrees. This flag is set when a received data bit contains one disagreeing sample. This could indicate line noise, a baud rate or character format mismatch, or loss of synchronization during data reception..
Interrupt Enable read and Set register. Contains an individual interrupt enable bit for each potential USART interrupt. A complete value may be read from this register. Writing a 1 to any implemented bit position causes that bit to be set.
Offset: 0xc, reset: 0, access: read-write
0/10 fields covered.
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 |
RXNOISEEN
rw |
PARITYERREN
rw |
FRAMERREN
rw |
STARTEN
rw |
DELTARXBRKEN
rw |
OVERRUNEN
rw |
TXDISEN
rw |
DELTACTSEN
rw |
TXRDYEN
rw |
RXRDYEN
rw |
Interrupt Enable Clear register. Allows clearing any combination of bits in the INTENSET register. Writing a 1 to any implemented bit position causes the corresponding bit to be cleared.
Offset: 0x10, reset: 0, access: write-only
0/10 fields covered.
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 |
RXNOISECLR
w |
PARITYERRCLR
w |
FRAMERRCLR
w |
STARTCLR
w |
DELTARXBRKCLR
w |
OVERRUNCLR
w |
TXDISINTCLR
w |
DELTACTSCLR
w |
TXRDYCLR
w |
RXRDYCLR
w |
Receiver Data register. Contains the last character received.
Offset: 0x14, reset: 0, access: read-only
1/1 fields covered.
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 |
RXDAT
r |
Receiver Data with Status register. Combines the last character received with the current USART receive status. Allows DMA or software to recover incoming data and status together.
Offset: 0x18, reset: 0, access: read-only
4/4 fields covered.
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 |
RXNOISE
r |
PARITYERR
r |
FRAMERR
r |
RXDAT
r |
Bit 13: Framing Error status flag. This bit is valid when there is a character to be read in the RXDAT register and reflects the status of that character. This bit will set when the character in RXDAT was received with a missing stop bit at the expected location. This could be an indication of a baud rate or configuration mismatch with the transmitting source..
Transmit Data register. Data to be transmitted is written here.
Offset: 0x1c, reset: 0, access: read-write
0/1 fields covered.
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 |
TXDAT
rw |
Baud Rate Generator register. 16-bit integer baud rate divisor value.
Offset: 0x20, reset: 0, access: read-write
0/1 fields covered.
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 |
BRGVAL
rw |
Bits 0-15: This value is used to divide the USART input clock to determine the baud rate, based on the input clock from the FRG. 0 = FCLK is used directly by the USART function. 1 = FCLK is divided by 2 before use by the USART function. 2 = FCLK is divided by 3 before use by the USART function. 0xFFFF = FCLK is divided by 65,536 before use by the USART function..
Interrupt status register. Reflects interrupts that are currently enabled.
Offset: 0x24, reset: 0x5, access: read-write
10/10 fields covered.
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 |
RXNOISEINT
r |
PARITYERRINT
r |
FRAMERRINT
r |
START
r |
DELTARXBRK
r |
OVERRUNINT
r |
TXDISINT
r |
DELTACTS
r |
TXRDY
r |
RXRDY
r |
0x40068000: USARTs
36/65 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CFG | ||||||||||||||||||||||||||||||||
0x4 | CTL | ||||||||||||||||||||||||||||||||
0x8 | STAT | ||||||||||||||||||||||||||||||||
0xc | INTENSET | ||||||||||||||||||||||||||||||||
0x10 | INTENCLR | ||||||||||||||||||||||||||||||||
0x14 | RXDAT | ||||||||||||||||||||||||||||||||
0x18 | RXDATSTAT | ||||||||||||||||||||||||||||||||
0x1c | TXDAT | ||||||||||||||||||||||||||||||||
0x20 | BRG | ||||||||||||||||||||||||||||||||
0x24 | INTSTAT |
USART Configuration register. Basic USART configuration settings that typically are not changed during operation.
Offset: 0x0, reset: 0, access: read-write
9/9 fields covered.
Bit 0: USART Enable..
Allowed values:
0: DISABLED: Disabled. The USART is disabled and the internal state machine and counters are reset. While Enable = 0, all USART interrupts and DMA transfers are disabled. When Enable is set again, CFG and most other control bits remain unchanged. When re-enabled, the USART will immediately be ready to transmit because the transmitter has been reset and is therefore available.
0x1: ENABLED: Enabled. The USART is enabled for operation.
Bits 4-5: Selects what type of parity is used by the USART..
Allowed values:
0: NO_PARITY: No parity.
0x2: EVEN_PARITY: Even parity. Adds a bit to each character such that the number of 1s in a transmitted character is even, and the number of 1s in a received character is expected to be even.
0x3: ODD_PARITY: Odd parity. Adds a bit to each character such that the number of 1s in a transmitted character is odd, and the number of 1s in a received character is expected to be odd.
Bit 9: CTS Enable. Determines whether CTS is used for flow control. CTS can be from the input pin, or from the USART's own RTS if loopback mode is enabled..
Allowed values:
0: DISABLED: No flow control. The transmitter does not receive any automatic flow control signal.
0x1: ENABLED: Flow control enabled. The transmitter uses the CTS input (or RTS output in loopback mode) for flow control purposes.
Bit 15: Selects data loopback mode..
Allowed values:
0: NORMAL: Normal operation.
0x1: LOOPBACK: Loopback mode. This provides a mechanism to perform diagnostic loopback testing for USART data. Serial data from the transmitter (Un_TXD) is connected internally to serial input of the receive (Un_RXD). Un_TXD and Un_RTS activity will also appear on external pins if these functions are configured to appear on device pins. The receiver RTS signal is also looped back to CTS and performs flow control if enabled by CTSEN.
USART Control register. USART control settings that are more likely to change during operation.
Offset: 0x4, reset: 0, access: read-write
5/5 fields covered.
Bit 1: Break Enable..
Allowed values:
0: NORMAL: Normal operation.
0x1: CONTINOUS: Continuous break. Continuous break is sent immediately when this bit is set, and remains until this bit is cleared. A break may be sent without danger of corrupting any currently transmitting character if the transmitter is first disabled (TXDIS in CTL is set) and then waiting for the transmitter to be disabled (TXDISINT in STAT = 1) before writing 1 to TXBRKEN.
Bit 2: Enable address detect mode..
Allowed values:
0: DISABLED: Disabled. The USART presents all incoming data.
0x1: ENABLED: Enabled. The USART receiver ignores incoming data that does not have the most significant bit of the data (typically the 9th bit) = 1. When the data MSB bit = 1, the receiver treats the incoming data normally, generating a received data interrupt. Software can then check the data to see if this is an address that should be handled. If it is, the ADDRDET bit is cleared by software and further incoming data is handled normally.
Bit 8: Continuous Clock generation. By default, SCLK is only output while data is being transmitted in synchronous mode..
Allowed values:
0: CLOCK_ON_CHARACTER: Clock on character. In synchronous mode, SCLK cycles only when characters are being sent on Un_TXD or to complete a character that is being received.
0x1: CONTINOUS_CLOCK: Continuous clock. SCLK runs continuously in synchronous mode, allowing characters to be received on Un_RxD independently from transmission on Un_TXD).
USART Status register. The complete status value can be read here. Writing ones clears some bits in the register. Some bits can be cleared by writing a 1 to them.
Offset: 0x8, reset: 0xE, access: read-write
7/14 fields covered.
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 |
RXNOISEINT
w |
PARITYERRINT
w |
FRAMERRINT
w |
START
w |
DELTARXBRK
w |
RXBRK
r |
OVERRUNINT
w |
TXDISSTAT
r |
DELTACTS
w |
CTS
r |
TXIDLE
r |
TXRDY
r |
RXIDLE
r |
RXRDY
r |
Bit 2: Transmitter Ready flag. When 1, this bit indicates that data may be written to the transmit buffer. Previous data may still be in the process of being transmitted. Cleared when data is written to TXDAT. Set when the data is moved from the transmit buffer to the transmit shift register..
Bit 10: Received Break. This bit reflects the current state of the receiver break detection logic. It is set when the Un_RXD pin remains low for 16 bit times. Note that FRAMERRINT will also be set when this condition occurs because the stop bit(s) for the character would be missing. RXBRK is cleared when the Un_RXD pin goes high..
Bit 15: Received Noise interrupt flag. Three samples of received data are taken in order to determine the value of each received data bit, except in synchronous mode. This acts as a noise filter if one sample disagrees. This flag is set when a received data bit contains one disagreeing sample. This could indicate line noise, a baud rate or character format mismatch, or loss of synchronization during data reception..
Interrupt Enable read and Set register. Contains an individual interrupt enable bit for each potential USART interrupt. A complete value may be read from this register. Writing a 1 to any implemented bit position causes that bit to be set.
Offset: 0xc, reset: 0, access: read-write
0/10 fields covered.
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 |
RXNOISEEN
rw |
PARITYERREN
rw |
FRAMERREN
rw |
STARTEN
rw |
DELTARXBRKEN
rw |
OVERRUNEN
rw |
TXDISEN
rw |
DELTACTSEN
rw |
TXRDYEN
rw |
RXRDYEN
rw |
Interrupt Enable Clear register. Allows clearing any combination of bits in the INTENSET register. Writing a 1 to any implemented bit position causes the corresponding bit to be cleared.
Offset: 0x10, reset: 0, access: write-only
0/10 fields covered.
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 |
RXNOISECLR
w |
PARITYERRCLR
w |
FRAMERRCLR
w |
STARTCLR
w |
DELTARXBRKCLR
w |
OVERRUNCLR
w |
TXDISINTCLR
w |
DELTACTSCLR
w |
TXRDYCLR
w |
RXRDYCLR
w |
Receiver Data register. Contains the last character received.
Offset: 0x14, reset: 0, access: read-only
1/1 fields covered.
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 |
RXDAT
r |
Receiver Data with Status register. Combines the last character received with the current USART receive status. Allows DMA or software to recover incoming data and status together.
Offset: 0x18, reset: 0, access: read-only
4/4 fields covered.
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 |
RXNOISE
r |
PARITYERR
r |
FRAMERR
r |
RXDAT
r |
Bit 13: Framing Error status flag. This bit is valid when there is a character to be read in the RXDAT register and reflects the status of that character. This bit will set when the character in RXDAT was received with a missing stop bit at the expected location. This could be an indication of a baud rate or configuration mismatch with the transmitting source..
Transmit Data register. Data to be transmitted is written here.
Offset: 0x1c, reset: 0, access: read-write
0/1 fields covered.
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 |
TXDAT
rw |
Baud Rate Generator register. 16-bit integer baud rate divisor value.
Offset: 0x20, reset: 0, access: read-write
0/1 fields covered.
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 |
BRGVAL
rw |
Bits 0-15: This value is used to divide the USART input clock to determine the baud rate, based on the input clock from the FRG. 0 = FCLK is used directly by the USART function. 1 = FCLK is divided by 2 before use by the USART function. 2 = FCLK is divided by 3 before use by the USART function. 0xFFFF = FCLK is divided by 65,536 before use by the USART function..
Interrupt status register. Reflects interrupts that are currently enabled.
Offset: 0x24, reset: 0x5, access: read-write
10/10 fields covered.
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 |
RXNOISEINT
r |
PARITYERRINT
r |
FRAMERRINT
r |
START
r |
DELTARXBRK
r |
OVERRUNINT
r |
TXDISINT
r |
DELTACTS
r |
TXRDY
r |
RXRDY
r |
0x4006c000: USARTs
36/65 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CFG | ||||||||||||||||||||||||||||||||
0x4 | CTL | ||||||||||||||||||||||||||||||||
0x8 | STAT | ||||||||||||||||||||||||||||||||
0xc | INTENSET | ||||||||||||||||||||||||||||||||
0x10 | INTENCLR | ||||||||||||||||||||||||||||||||
0x14 | RXDAT | ||||||||||||||||||||||||||||||||
0x18 | RXDATSTAT | ||||||||||||||||||||||||||||||||
0x1c | TXDAT | ||||||||||||||||||||||||||||||||
0x20 | BRG | ||||||||||||||||||||||||||||||||
0x24 | INTSTAT |
USART Configuration register. Basic USART configuration settings that typically are not changed during operation.
Offset: 0x0, reset: 0, access: read-write
9/9 fields covered.
Bit 0: USART Enable..
Allowed values:
0: DISABLED: Disabled. The USART is disabled and the internal state machine and counters are reset. While Enable = 0, all USART interrupts and DMA transfers are disabled. When Enable is set again, CFG and most other control bits remain unchanged. When re-enabled, the USART will immediately be ready to transmit because the transmitter has been reset and is therefore available.
0x1: ENABLED: Enabled. The USART is enabled for operation.
Bits 4-5: Selects what type of parity is used by the USART..
Allowed values:
0: NO_PARITY: No parity.
0x2: EVEN_PARITY: Even parity. Adds a bit to each character such that the number of 1s in a transmitted character is even, and the number of 1s in a received character is expected to be even.
0x3: ODD_PARITY: Odd parity. Adds a bit to each character such that the number of 1s in a transmitted character is odd, and the number of 1s in a received character is expected to be odd.
Bit 9: CTS Enable. Determines whether CTS is used for flow control. CTS can be from the input pin, or from the USART's own RTS if loopback mode is enabled..
Allowed values:
0: DISABLED: No flow control. The transmitter does not receive any automatic flow control signal.
0x1: ENABLED: Flow control enabled. The transmitter uses the CTS input (or RTS output in loopback mode) for flow control purposes.
Bit 15: Selects data loopback mode..
Allowed values:
0: NORMAL: Normal operation.
0x1: LOOPBACK: Loopback mode. This provides a mechanism to perform diagnostic loopback testing for USART data. Serial data from the transmitter (Un_TXD) is connected internally to serial input of the receive (Un_RXD). Un_TXD and Un_RTS activity will also appear on external pins if these functions are configured to appear on device pins. The receiver RTS signal is also looped back to CTS and performs flow control if enabled by CTSEN.
USART Control register. USART control settings that are more likely to change during operation.
Offset: 0x4, reset: 0, access: read-write
5/5 fields covered.
Bit 1: Break Enable..
Allowed values:
0: NORMAL: Normal operation.
0x1: CONTINOUS: Continuous break. Continuous break is sent immediately when this bit is set, and remains until this bit is cleared. A break may be sent without danger of corrupting any currently transmitting character if the transmitter is first disabled (TXDIS in CTL is set) and then waiting for the transmitter to be disabled (TXDISINT in STAT = 1) before writing 1 to TXBRKEN.
Bit 2: Enable address detect mode..
Allowed values:
0: DISABLED: Disabled. The USART presents all incoming data.
0x1: ENABLED: Enabled. The USART receiver ignores incoming data that does not have the most significant bit of the data (typically the 9th bit) = 1. When the data MSB bit = 1, the receiver treats the incoming data normally, generating a received data interrupt. Software can then check the data to see if this is an address that should be handled. If it is, the ADDRDET bit is cleared by software and further incoming data is handled normally.
Bit 8: Continuous Clock generation. By default, SCLK is only output while data is being transmitted in synchronous mode..
Allowed values:
0: CLOCK_ON_CHARACTER: Clock on character. In synchronous mode, SCLK cycles only when characters are being sent on Un_TXD or to complete a character that is being received.
0x1: CONTINOUS_CLOCK: Continuous clock. SCLK runs continuously in synchronous mode, allowing characters to be received on Un_RxD independently from transmission on Un_TXD).
USART Status register. The complete status value can be read here. Writing ones clears some bits in the register. Some bits can be cleared by writing a 1 to them.
Offset: 0x8, reset: 0xE, access: read-write
7/14 fields covered.
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 |
RXNOISEINT
w |
PARITYERRINT
w |
FRAMERRINT
w |
START
w |
DELTARXBRK
w |
RXBRK
r |
OVERRUNINT
w |
TXDISSTAT
r |
DELTACTS
w |
CTS
r |
TXIDLE
r |
TXRDY
r |
RXIDLE
r |
RXRDY
r |
Bit 2: Transmitter Ready flag. When 1, this bit indicates that data may be written to the transmit buffer. Previous data may still be in the process of being transmitted. Cleared when data is written to TXDAT. Set when the data is moved from the transmit buffer to the transmit shift register..
Bit 10: Received Break. This bit reflects the current state of the receiver break detection logic. It is set when the Un_RXD pin remains low for 16 bit times. Note that FRAMERRINT will also be set when this condition occurs because the stop bit(s) for the character would be missing. RXBRK is cleared when the Un_RXD pin goes high..
Bit 15: Received Noise interrupt flag. Three samples of received data are taken in order to determine the value of each received data bit, except in synchronous mode. This acts as a noise filter if one sample disagrees. This flag is set when a received data bit contains one disagreeing sample. This could indicate line noise, a baud rate or character format mismatch, or loss of synchronization during data reception..
Interrupt Enable read and Set register. Contains an individual interrupt enable bit for each potential USART interrupt. A complete value may be read from this register. Writing a 1 to any implemented bit position causes that bit to be set.
Offset: 0xc, reset: 0, access: read-write
0/10 fields covered.
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 |
RXNOISEEN
rw |
PARITYERREN
rw |
FRAMERREN
rw |
STARTEN
rw |
DELTARXBRKEN
rw |
OVERRUNEN
rw |
TXDISEN
rw |
DELTACTSEN
rw |
TXRDYEN
rw |
RXRDYEN
rw |
Interrupt Enable Clear register. Allows clearing any combination of bits in the INTENSET register. Writing a 1 to any implemented bit position causes the corresponding bit to be cleared.
Offset: 0x10, reset: 0, access: write-only
0/10 fields covered.
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 |
RXNOISECLR
w |
PARITYERRCLR
w |
FRAMERRCLR
w |
STARTCLR
w |
DELTARXBRKCLR
w |
OVERRUNCLR
w |
TXDISINTCLR
w |
DELTACTSCLR
w |
TXRDYCLR
w |
RXRDYCLR
w |
Receiver Data register. Contains the last character received.
Offset: 0x14, reset: 0, access: read-only
1/1 fields covered.
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 |
RXDAT
r |
Receiver Data with Status register. Combines the last character received with the current USART receive status. Allows DMA or software to recover incoming data and status together.
Offset: 0x18, reset: 0, access: read-only
4/4 fields covered.
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 |
RXNOISE
r |
PARITYERR
r |
FRAMERR
r |
RXDAT
r |
Bit 13: Framing Error status flag. This bit is valid when there is a character to be read in the RXDAT register and reflects the status of that character. This bit will set when the character in RXDAT was received with a missing stop bit at the expected location. This could be an indication of a baud rate or configuration mismatch with the transmitting source..
Transmit Data register. Data to be transmitted is written here.
Offset: 0x1c, reset: 0, access: read-write
0/1 fields covered.
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 |
TXDAT
rw |
Baud Rate Generator register. 16-bit integer baud rate divisor value.
Offset: 0x20, reset: 0, access: read-write
0/1 fields covered.
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 |
BRGVAL
rw |
Bits 0-15: This value is used to divide the USART input clock to determine the baud rate, based on the input clock from the FRG. 0 = FCLK is used directly by the USART function. 1 = FCLK is divided by 2 before use by the USART function. 2 = FCLK is divided by 3 before use by the USART function. 0xFFFF = FCLK is divided by 65,536 before use by the USART function..
Interrupt status register. Reflects interrupts that are currently enabled.
Offset: 0x24, reset: 0x5, access: read-write
10/10 fields covered.
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 |
RXNOISEINT
r |
PARITYERRINT
r |
FRAMERRINT
r |
START
r |
DELTARXBRK
r |
OVERRUNINT
r |
TXDISINT
r |
DELTACTS
r |
TXRDY
r |
RXRDY
r |
0x40008000: Wake Up Timer(WKT)
3/4 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CTRL | ||||||||||||||||||||||||||||||||
0xc | COUNT |
Self wake-up timer control register.
Offset: 0x0, reset: 0, access: read-write
3/3 fields covered.
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 |
CLEARCTR
rw |
ALARMFLAG
rw |
CLKSEL
rw |
Bit 0: Select the self wake-up timer clock source. Remark: This bit only has an effect if the SEL_EXTCLK bit is not set..
Allowed values:
0: DIVIDED_IRC_CLOCK: Divided IRC clock. This clock runs at 750 kHz and provides time-out periods of up to approximately 95 minutes in 1.33 us increments. Remark: This clock is not available in not available in Deep-sleep, power-down, deep power-down modes. Do not select this option if the timer is to be used to wake up from one of these modes.
0x1: LOW_POWER_CLOCK: This is the (nominally) 10 kHz clock and provides time-out periods of up to approximately 119 hours in 100 us increments. The accuracy of this clock is limited to +/- 40 % over temperature and processing. Remark: This clock is available in all power modes. Prior to use, the low-power oscillator must be enabled. The oscillator must also be set to remain active in Deep power-down if needed.
Bit 1: Wake-up or alarm timer flag..
Allowed values:
0: NO_TIME_OUT: No time-out. The self wake-up timer has not timed out. Writing a 0 to has no effect.
0x1: TIME_OUT: Time-out. The self wake-up timer has timed out. This flag generates an interrupt request which can wake up the part from any reduced power mode including Deep power-down if the clock source is the low power oscillator. Writing a 1 clears this status bit.
Counter register.
Offset: 0xc, reset: 0, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VALUE
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
VALUE
rw |
0x40000000: Windowed Watchdog Timer (WWDT)
4/11 fields covered. Toggle Registers
Offset | Name | 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MOD | ||||||||||||||||||||||||||||||||
0x4 | TC | ||||||||||||||||||||||||||||||||
0x8 | FEED | ||||||||||||||||||||||||||||||||
0xc | TV | ||||||||||||||||||||||||||||||||
0x14 | WARNINT | ||||||||||||||||||||||||||||||||
0x18 | WINDOW |
Watchdog mode register. This register contains the basic mode and status of the Watchdog Timer.
Offset: 0x0, reset: 0, access: read-write
3/6 fields covered.
Bit 3: Warning interrupt flag. Set when the timer is at or below the value in WDWARNINT. Cleared by software writing a 1 to this bit position. Note that this bit cannot be cleared while the WARNINT value is equal to the value of the TV register. This can occur if the value of WARNINT is 0 and the WDRESET bit is 0 when TV decrements to 0..
Bit 4: Watchdog update mode. This bit can be set once by software and is only cleared by a reset..
Allowed values:
0: FLEXIBLE: Flexible. The watchdog time-out value (TC) can be changed at any time.
0x1: THRESHOLD: Threshold. The watchdog time-out value (TC) can be changed only after the counter is below the value of WDWARNINT and WDWINDOW.
Watchdog timer constant register. This 24-bit register determines the time-out value.
Offset: 0x4, reset: 0xFF, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
COUNT
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
COUNT
rw |
Watchdog feed sequence register. Writing 0xAA followed by 0x55 to this register reloads the Watchdog timer with the value contained in TC.
Offset: 0x8, reset: 0, access: write-only
0/1 fields covered.
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 |
FEED
w |
Watchdog timer value register. This 24-bit register reads out the current value of the Watchdog timer.
Offset: 0xc, reset: 0xFF, access: read-only
1/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
COUNT
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
COUNT
r |
Watchdog Warning Interrupt compare value.
Offset: 0x14, reset: 0, access: read-write
0/1 fields covered.
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 |
WARNINT
rw |
Watchdog Window compare value.
Offset: 0x18, reset: 0xFFFFFF, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WINDOW
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
WINDOW
rw |