Overall: 5159/8934 fields covered

ADC0

0x400a0000: LPC5411x 12-bit ADC controller (ADC)

121/176 fields covered. Toggle Registers

Show register map

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 INSEL
0x8 SEQ_CTRL[A]
0xc SEQ_CTRL[B]
0x10 SEQ_GDAT[A]
0x14 SEQ_GDAT[B]
0x20 DAT[[0]]
0x24 DAT[[1]]
0x28 DAT[[2]]
0x2c DAT[[3]]
0x30 DAT[[4]]
0x34 DAT[[5]]
0x38 DAT[[6]]
0x3c DAT[[7]]
0x40 DAT[[8]]
0x44 DAT[[9]]
0x48 DAT[[10]]
0x4c DAT[[11]]
0x50 THR0_LOW
0x54 THR1_LOW
0x58 THR0_HIGH
0x5c THR1_HIGH
0x60 CHAN_THRSEL
0x64 INTEN
0x68 FLAGS
0x6c STARTUP
0x70 CALIB

CTRL

ADC Control register. Contains the clock divide value, resolution selection, sampling time selection, and mode controls.

Offset: 0x0, reset: 0x600, access: read-write

3/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
TSAMP
rw
BYPASSCAL
rw
RESOL
rw
ASYNMODE
rw
CLKDIV
rw
Toggle Fields

CLKDIV

Bits 0-7: In synchronous mode only, the system clock is divided by this value plus one to produce the clock for the ADC converter, which should be less than or equal to 72 MHz. Typically, software should program the smallest value in this field that yields this maximum clock rate or slightly less, but in certain cases (such as a high-impedance analog source) a slower clock may be desirable. This field is ignored in the asynchronous operating mode..

ASYNMODE

Bit 8: Select clock mode..

Allowed values:
0: SYNCHRONOUS_MODE: Synchronous mode. The ADC clock is derived from the system clock based on the divide value selected in the CLKDIV field. The ADC clock will be started in a controlled fashion in response to a trigger to eliminate any uncertainty in the launching of an ADC conversion in response to any synchronous (on-chip) trigger. In Synchronous mode with the SYNCBYPASS bit (in a sequence control register) set, sampling of the ADC input and start of conversion will initiate 2 system clocks after the leading edge of a (synchronous) trigger pulse.
0x1: ASYNCHRONOUS_MODE: Asynchronous mode. The ADC clock is based on the output of the ADC clock divider ADCCLKSEL in the SYSCON block.

RESOL

Bits 9-10: The number of bits of ADC resolution. Accuracy can be reduced to achieve higher conversion rates. A single conversion (including one conversion in a burst or sequence) requires the selected number of bits of resolution plus 3 ADC clocks. This field must only be altered when the ADC is fully idle. Changing it during any kind of ADC operation may have unpredictable results. ADC clock frequencies for various resolutions must not exceed: - 5x the system clock rate for 12-bit resolution - 4.3x the system clock rate for 10-bit resolution - 3.6x the system clock for 8-bit resolution - 3x the bus clock rate for 6-bit resolution.

Allowed values:
0: RESOLUTION_6_BIT: 6-bit resolution. An ADC conversion requires 9 ADC clocks, plus any clocks specified by the TSAMP field.
0x1: RESOLUTION_8_BIT: 8-bit resolution. An ADC conversion requires 11 ADC clocks, plus any clocks specified by the TSAMP field.
0x2: RESOLUTION_10_BIT: 10-bit resolution. An ADC conversion requires 13 ADC clocks, plus any clocks specified by the TSAMP field.
0x3: RESOLUTION_12_BIT: 12-bit resolution. An ADC conversion requires 15 ADC clocks, plus any clocks specified by the TSAMP field.

BYPASSCAL

Bit 11: Bypass Calibration. This bit may be set to avoid the need to calibrate if offset error is not a concern in the application..

Allowed values:
0: CALIBRATE: Calibrate. The stored calibration value will be applied to the ADC during conversions to compensated for offset error. A calibration cycle must be performed each time the chip is powered-up. Re-calibration may be warranted periodically - especially if operating conditions have changed.
0x1: BYPASS_CALIBRATION: Bypass calibration. Calibration is not utilized. Less time is required when enabling the ADC - particularly following chip power-up. Attempts to launch a calibration cycle are blocked when this bit is set.

TSAMP

Bits 12-14: Sample Time. The default sampling period (TSAMP = '000') at the start of each conversion is 2.5 ADC clock periods. Depending on a variety of factors, including operating conditions and the output impedance of the analog source, longer sampling times may be required. See Section 28.7.10. The TSAMP field specifies the number of additional ADC clock cycles, from zero to seven, by which the sample period will be extended. The total conversion time will increase by the same number of clocks. 000 - The sample period will be the default 2.5 ADC clocks. A complete conversion with 12-bits of accuracy will require 15 clocks. 001- The sample period will be extended by one ADC clock to a total of 3.5 clock periods. A complete 12-bit conversion will require 16 clocks. 010 - The sample period will be extended by two clocks to 4.5 ADC clock cycles. A complete 12-bit conversion will require 17 ADC clocks. 111 - The sample period will be extended by seven clocks to 9.5 ADC clock cycles. A complete 12-bit conversion will require 22 ADC clocks..

INSEL

Input Select. Allows selection of the temperature sensor as an alternate input to ADC channel 0.

Offset: 0x4, 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
Toggle Fields

SEL

Bits 0-1: Selects the input source for channel 0. All other values are reserved..

Allowed values:
0: ADC0_IN0: ADC0_IN0 function.
0x3: TEMPERATURE_SENSOR: Internal temperature sensor.

SEQ_CTRL[A]

ADC Conversion Sequence-n control register: Controls triggering and channel selection for conversion sequence-n. Also specifies interrupt mode for sequence-n.

Offset: 0x8, reset: 0, access: read-write

5/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SEQ_ENA
rw
MODE
rw
LOWPRIO
rw
SINGLESTEP
rw
BURST
rw
START
rw
SYNCBYPASS
rw
TRIGPOL
rw
TRIGGER
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGGER
rw
CHANNELS
rw
Toggle Fields

CHANNELS

Bits 0-11: Selects which one or more of the ADC channels will be sampled and converted when this sequence is launched. A 1 in any bit of this field will cause the corresponding channel to be included in the conversion sequence, where bit 0 corresponds to channel 0, bit 1 to channel 1 and so forth. When this conversion sequence is triggered, either by a hardware trigger or via software command, ADC conversions will be performed on each enabled channel, in sequence, beginning with the lowest-ordered channel. This field can ONLY be changed while SEQA_ENA (bit 31) is LOW. It is allowed to change this field and set bit 31 in the same write..

TRIGGER

Bits 12-17: Selects which of the available hardware trigger sources will cause this conversion sequence to be initiated. Program the trigger input number in this field. See Table 476. In order to avoid generating a spurious trigger, it is recommended writing to this field only when SEQA_ENA (bit 31) is low. It is safe to change this field and set bit 31 in the same write..

TRIGPOL

Bit 18: Select the polarity of the selected input trigger for this conversion sequence. In order to avoid generating a spurious trigger, it is recommended writing to this field only when SEQA_ENA (bit 31) is low. It is safe to change this field and set bit 31 in the same write..

Allowed values:
0: NEGATIVE_EDGE: Negative edge. A negative edge launches the conversion sequence on the selected trigger input.
0x1: POSITIVE_EDGE: Positive edge. A positive edge launches the conversion sequence on the selected trigger input.

SYNCBYPASS

Bit 19: Setting this bit allows the hardware trigger input to bypass synchronization flip-flop stages and therefore shorten the time between the trigger input signal and the start of a conversion. There are slightly different criteria for whether or not this bit can be set depending on the clock operating mode: Synchronous mode (the ASYNMODE in the CTRL register = 0): Synchronization may be bypassed (this bit may be set) if the selected trigger source is already synchronous with the main system clock (eg. coming from an on-chip, system-clock-based timer). Whether this bit is set or not, a trigger pulse must be maintained for at least one system clock period. Asynchronous mode (the ASYNMODE in the CTRL register = 1): Synchronization may be bypassed (this bit may be set) if it is certain that the duration of a trigger input pulse will be at least one cycle of the ADC clock (regardless of whether the trigger comes from and on-chip or off-chip source). If this bit is NOT set, the trigger pulse must at least be maintained for one system clock period..

Allowed values:
0: ENABLE_TRIGGER_SYNCH: Enable trigger synchronization. The hardware trigger bypass is not enabled.
0x1: BYPASS_TRIGGER_SYNCH: Bypass trigger synchronization. The hardware trigger bypass is enabled.

START

Bit 26: Writing a 1 to this field will launch one pass through this conversion sequence. The behavior will be identical to a sequence triggered by a hardware trigger. Do not write 1 to this bit if the BURST bit is set. This bit is only set to a 1 momentarily when written to launch a conversion sequence. It will consequently always read back as a zero..

BURST

Bit 27: Writing a 1 to this bit will cause this conversion sequence to be continuously cycled through. Other sequence A triggers will be ignored while this bit is set. Repeated conversions can be halted by clearing this bit. The sequence currently in progress will be completed before conversions are terminated. Note that a new sequence could begin just before BURST is cleared..

SINGLESTEP

Bit 28: When this bit is set, a hardware trigger or a write to the START bit will launch a single conversion on the next channel in the sequence instead of the default response of launching an entire sequence of conversions. Once all of the channels comprising a sequence have been converted, a subsequent trigger will repeat the sequence beginning with the first enabled channel. Interrupt generation will still occur either after each individual conversion or at the end of the entire sequence, depending on the state of the MODE bit..

LOWPRIO

Bit 29: Set priority for sequence A..

Allowed values:
0: LOW_PRIORITY: Low priority. Any B trigger which occurs while an A conversion sequence is active will be ignored and lost.
0x1: HIGH_PRIORITY: High priority. Setting this bit to a 1 will permit any enabled B sequence trigger (including a B sequence software start) to immediately interrupt sequence A and launch a B sequence in it's place. The conversion currently in progress will be terminated. The A sequence that was interrupted will automatically resume after the B sequence completes. The channel whose conversion was terminated will be re-sampled and the conversion sequence will resume from that point.

MODE

Bit 30: Indicates whether the primary method for retrieving conversion results for this sequence will be accomplished via reading the global data register (SEQA_GDAT) at the end of each conversion, or the individual channel result registers at the end of the entire sequence. Impacts when conversion-complete interrupt/DMA trigger for sequence-A will be generated and which overrun conditions contribute to an overrun interrupt as described below..

Allowed values:
0: END_OF_CONVERSION: End of conversion. The sequence A interrupt/DMA trigger will be set at the end of each individual ADC conversion performed under sequence A. This flag will mirror the DATAVALID bit in the SEQA_GDAT register. The OVERRUN bit in the SEQA_GDAT register will contribute to generation of an overrun interrupt/DMA trigger if enabled.
0x1: END_OF_SEQUENCE: End of sequence. The sequence A interrupt/DMA trigger will be set when the entire set of sequence-A conversions completes. This flag will need to be explicitly cleared by software or by the DMA-clear signal in this mode. The OVERRUN bit in the SEQA_GDAT register will NOT contribute to generation of an overrun interrupt/DMA trigger since it is assumed this register may not be utilized in this mode.

SEQ_ENA

Bit 31: Sequence Enable. In order to avoid spuriously triggering the sequence, care should be taken to only set the SEQn_ENA bit when the selected trigger input is in its INACTIVE state (as defined by the TRIGPOL bit). If this condition is not met, the sequence will be triggered immediately upon being enabled. In order to avoid spuriously triggering the sequence, care should be taken to only set the SEQn_ENA bit when the selected trigger input is in its INACTIVE state (as defined by the TRIGPOL bit). If this condition is not met, the sequence will be triggered immediately upon being enabled..

Allowed values:
0: DISABLED: Disabled. Sequence n is disabled. Sequence n triggers are ignored. If this bit is cleared while sequence n is in progress, the sequence will be halted at the end of the current conversion. After the sequence is re-enabled, a new trigger will be required to restart the sequence beginning with the next enabled channel.
0x1: ENABLED: Enabled. Sequence n is enabled.

SEQ_CTRL[B]

ADC Conversion Sequence-n control register: Controls triggering and channel selection for conversion sequence-n. Also specifies interrupt mode for sequence-n.

Offset: 0xc, reset: 0, access: read-write

5/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SEQ_ENA
rw
MODE
rw
LOWPRIO
rw
SINGLESTEP
rw
BURST
rw
START
rw
SYNCBYPASS
rw
TRIGPOL
rw
TRIGGER
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGGER
rw
CHANNELS
rw
Toggle Fields

CHANNELS

Bits 0-11: Selects which one or more of the ADC channels will be sampled and converted when this sequence is launched. A 1 in any bit of this field will cause the corresponding channel to be included in the conversion sequence, where bit 0 corresponds to channel 0, bit 1 to channel 1 and so forth. When this conversion sequence is triggered, either by a hardware trigger or via software command, ADC conversions will be performed on each enabled channel, in sequence, beginning with the lowest-ordered channel. This field can ONLY be changed while SEQA_ENA (bit 31) is LOW. It is allowed to change this field and set bit 31 in the same write..

TRIGGER

Bits 12-17: Selects which of the available hardware trigger sources will cause this conversion sequence to be initiated. Program the trigger input number in this field. See Table 476. In order to avoid generating a spurious trigger, it is recommended writing to this field only when SEQA_ENA (bit 31) is low. It is safe to change this field and set bit 31 in the same write..

TRIGPOL

Bit 18: Select the polarity of the selected input trigger for this conversion sequence. In order to avoid generating a spurious trigger, it is recommended writing to this field only when SEQA_ENA (bit 31) is low. It is safe to change this field and set bit 31 in the same write..

Allowed values:
0: NEGATIVE_EDGE: Negative edge. A negative edge launches the conversion sequence on the selected trigger input.
0x1: POSITIVE_EDGE: Positive edge. A positive edge launches the conversion sequence on the selected trigger input.

SYNCBYPASS

Bit 19: Setting this bit allows the hardware trigger input to bypass synchronization flip-flop stages and therefore shorten the time between the trigger input signal and the start of a conversion. There are slightly different criteria for whether or not this bit can be set depending on the clock operating mode: Synchronous mode (the ASYNMODE in the CTRL register = 0): Synchronization may be bypassed (this bit may be set) if the selected trigger source is already synchronous with the main system clock (eg. coming from an on-chip, system-clock-based timer). Whether this bit is set or not, a trigger pulse must be maintained for at least one system clock period. Asynchronous mode (the ASYNMODE in the CTRL register = 1): Synchronization may be bypassed (this bit may be set) if it is certain that the duration of a trigger input pulse will be at least one cycle of the ADC clock (regardless of whether the trigger comes from and on-chip or off-chip source). If this bit is NOT set, the trigger pulse must at least be maintained for one system clock period..

Allowed values:
0: ENABLE_TRIGGER_SYNCH: Enable trigger synchronization. The hardware trigger bypass is not enabled.
0x1: BYPASS_TRIGGER_SYNCH: Bypass trigger synchronization. The hardware trigger bypass is enabled.

START

Bit 26: Writing a 1 to this field will launch one pass through this conversion sequence. The behavior will be identical to a sequence triggered by a hardware trigger. Do not write 1 to this bit if the BURST bit is set. This bit is only set to a 1 momentarily when written to launch a conversion sequence. It will consequently always read back as a zero..

BURST

Bit 27: Writing a 1 to this bit will cause this conversion sequence to be continuously cycled through. Other sequence A triggers will be ignored while this bit is set. Repeated conversions can be halted by clearing this bit. The sequence currently in progress will be completed before conversions are terminated. Note that a new sequence could begin just before BURST is cleared..

SINGLESTEP

Bit 28: When this bit is set, a hardware trigger or a write to the START bit will launch a single conversion on the next channel in the sequence instead of the default response of launching an entire sequence of conversions. Once all of the channels comprising a sequence have been converted, a subsequent trigger will repeat the sequence beginning with the first enabled channel. Interrupt generation will still occur either after each individual conversion or at the end of the entire sequence, depending on the state of the MODE bit..

LOWPRIO

Bit 29: Set priority for sequence A..

Allowed values:
0: LOW_PRIORITY: Low priority. Any B trigger which occurs while an A conversion sequence is active will be ignored and lost.
0x1: HIGH_PRIORITY: High priority. Setting this bit to a 1 will permit any enabled B sequence trigger (including a B sequence software start) to immediately interrupt sequence A and launch a B sequence in it's place. The conversion currently in progress will be terminated. The A sequence that was interrupted will automatically resume after the B sequence completes. The channel whose conversion was terminated will be re-sampled and the conversion sequence will resume from that point.

MODE

Bit 30: Indicates whether the primary method for retrieving conversion results for this sequence will be accomplished via reading the global data register (SEQA_GDAT) at the end of each conversion, or the individual channel result registers at the end of the entire sequence. Impacts when conversion-complete interrupt/DMA trigger for sequence-A will be generated and which overrun conditions contribute to an overrun interrupt as described below..

Allowed values:
0: END_OF_CONVERSION: End of conversion. The sequence A interrupt/DMA trigger will be set at the end of each individual ADC conversion performed under sequence A. This flag will mirror the DATAVALID bit in the SEQA_GDAT register. The OVERRUN bit in the SEQA_GDAT register will contribute to generation of an overrun interrupt/DMA trigger if enabled.
0x1: END_OF_SEQUENCE: End of sequence. The sequence A interrupt/DMA trigger will be set when the entire set of sequence-A conversions completes. This flag will need to be explicitly cleared by software or by the DMA-clear signal in this mode. The OVERRUN bit in the SEQA_GDAT register will NOT contribute to generation of an overrun interrupt/DMA trigger since it is assumed this register may not be utilized in this mode.

SEQ_ENA

Bit 31: Sequence Enable. In order to avoid spuriously triggering the sequence, care should be taken to only set the SEQn_ENA bit when the selected trigger input is in its INACTIVE state (as defined by the TRIGPOL bit). If this condition is not met, the sequence will be triggered immediately upon being enabled. In order to avoid spuriously triggering the sequence, care should be taken to only set the SEQn_ENA bit when the selected trigger input is in its INACTIVE state (as defined by the TRIGPOL bit). If this condition is not met, the sequence will be triggered immediately upon being enabled..

Allowed values:
0: DISABLED: Disabled. Sequence n is disabled. Sequence n triggers are ignored. If this bit is cleared while sequence n is in progress, the sequence will be halted at the end of the current conversion. After the sequence is re-enabled, a new trigger will be required to restart the sequence beginning with the next enabled channel.
0x1: ENABLED: Enabled. Sequence n is enabled.

SEQ_GDAT[A]

ADC Sequence-n Global Data register. This register contains the result of the most recent ADC conversion performed under sequence-n.

Offset: 0x10, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHN
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the most recent conversion performed under conversion sequence associated with this register. The result is a binary fraction representing the voltage on the currently-selected input channel as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP. DATAVALID = 1 indicates that this result has not yet been read..

THCMPRANGE

Bits 16-17: Indicates whether the result of the last conversion performed was above, below or within the range established by the designated threshold comparison registers (THRn_LOW and THRn_HIGH)..

THCMPCROSS

Bits 18-19: Indicates whether the result of the last conversion performed represented a crossing of the threshold level established by the designated LOW threshold comparison register (THRn_LOW) and, if so, in what direction the crossing occurred..

CHN

Bits 26-29: These bits contain the channel from which the RESULT bits were converted (e.g. 0000 identifies channel 0, 0001 channel 1, etc.)..

OVERRUN

Bit 30: This bit is set if a new conversion result is loaded into the RESULT field before a previous result has been read - i.e. while the DATAVALID bit is set. This bit is cleared, along with the DATAVALID bit, whenever this register is read. This bit will contribute to an overrun interrupt/DMA trigger if the MODE bit (in SEQAA_CTRL) for the corresponding sequence is set to '0' (and if the overrun interrupt is enabled)..

DATAVALID

Bit 31: This bit is set to '1' at the end of each conversion when a new result is loaded into the RESULT field. It is cleared whenever this register is read. This bit will cause a conversion-complete interrupt for the corresponding sequence if the MODE bit (in SEQA_CTRL) for that sequence is set to 0 (and if the interrupt is enabled)..

SEQ_GDAT[B]

ADC Sequence-n Global Data register. This register contains the result of the most recent ADC conversion performed under sequence-n.

Offset: 0x14, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHN
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the most recent conversion performed under conversion sequence associated with this register. The result is a binary fraction representing the voltage on the currently-selected input channel as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP. DATAVALID = 1 indicates that this result has not yet been read..

THCMPRANGE

Bits 16-17: Indicates whether the result of the last conversion performed was above, below or within the range established by the designated threshold comparison registers (THRn_LOW and THRn_HIGH)..

THCMPCROSS

Bits 18-19: Indicates whether the result of the last conversion performed represented a crossing of the threshold level established by the designated LOW threshold comparison register (THRn_LOW) and, if so, in what direction the crossing occurred..

CHN

Bits 26-29: These bits contain the channel from which the RESULT bits were converted (e.g. 0000 identifies channel 0, 0001 channel 1, etc.)..

OVERRUN

Bit 30: This bit is set if a new conversion result is loaded into the RESULT field before a previous result has been read - i.e. while the DATAVALID bit is set. This bit is cleared, along with the DATAVALID bit, whenever this register is read. This bit will contribute to an overrun interrupt/DMA trigger if the MODE bit (in SEQAA_CTRL) for the corresponding sequence is set to '0' (and if the overrun interrupt is enabled)..

DATAVALID

Bit 31: This bit is set to '1' at the end of each conversion when a new result is loaded into the RESULT field. It is cleared whenever this register is read. This bit will cause a conversion-complete interrupt for the corresponding sequence if the MODE bit (in SEQA_CTRL) for that sequence is set to 0 (and if the interrupt is enabled)..

DAT[[0]]

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

Offset: 0x20, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHANNEL
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the last conversion performed on this channel. This will be a binary fraction representing the voltage on the AD0[n] pin, as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP..

THCMPRANGE

Bits 16-17: Threshold Range Comparison result. 0x0 = In Range: The last completed conversion was greater than or equal to the value programmed into the designated LOW threshold register (THRn_LOW) but less than or equal to the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x1 = Below Range: The last completed conversion on was less than the value programmed into the designated LOW threshold register (THRn_LOW). 0x2 = Above Range: The last completed conversion was greater than the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x3 = Reserved..

THCMPCROSS

Bits 18-19: Threshold Crossing Comparison result. 0x0 = No threshold Crossing detected: The most recent completed conversion on this channel had the same relationship (above or below) to the threshold value established by the designated LOW threshold register (THRn_LOW) as did the previous conversion on this channel. 0x1 = Reserved. 0x2 = Downward Threshold Crossing Detected. Indicates that a threshold crossing in the downward direction has occurred - i.e. the previous sample on this channel was above the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is below that threshold. 0x3 = Upward Threshold Crossing Detected. Indicates that a threshold crossing in the upward direction has occurred - i.e. the previous sample on this channel was below the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is above that threshold..

CHANNEL

Bits 26-29: This field is hard-coded to contain the channel number that this particular register relates to (i.e. this field will contain 0b0000 for the DAT0 register, 0b0001 for the DAT1 register, etc).

OVERRUN

Bit 30: This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. This bit (in any of the 12 registers) will cause an overrun interrupt/DMA trigger to be asserted if the overrun interrupt is enabled. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DATAVALID

Bit 31: This bit is set to 1 when an ADC conversion on this channel completes. This bit is cleared whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DAT[[1]]

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

Offset: 0x24, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHANNEL
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the last conversion performed on this channel. This will be a binary fraction representing the voltage on the AD0[n] pin, as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP..

THCMPRANGE

Bits 16-17: Threshold Range Comparison result. 0x0 = In Range: The last completed conversion was greater than or equal to the value programmed into the designated LOW threshold register (THRn_LOW) but less than or equal to the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x1 = Below Range: The last completed conversion on was less than the value programmed into the designated LOW threshold register (THRn_LOW). 0x2 = Above Range: The last completed conversion was greater than the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x3 = Reserved..

THCMPCROSS

Bits 18-19: Threshold Crossing Comparison result. 0x0 = No threshold Crossing detected: The most recent completed conversion on this channel had the same relationship (above or below) to the threshold value established by the designated LOW threshold register (THRn_LOW) as did the previous conversion on this channel. 0x1 = Reserved. 0x2 = Downward Threshold Crossing Detected. Indicates that a threshold crossing in the downward direction has occurred - i.e. the previous sample on this channel was above the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is below that threshold. 0x3 = Upward Threshold Crossing Detected. Indicates that a threshold crossing in the upward direction has occurred - i.e. the previous sample on this channel was below the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is above that threshold..

CHANNEL

Bits 26-29: This field is hard-coded to contain the channel number that this particular register relates to (i.e. this field will contain 0b0000 for the DAT0 register, 0b0001 for the DAT1 register, etc).

OVERRUN

Bit 30: This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. This bit (in any of the 12 registers) will cause an overrun interrupt/DMA trigger to be asserted if the overrun interrupt is enabled. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DATAVALID

Bit 31: This bit is set to 1 when an ADC conversion on this channel completes. This bit is cleared whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DAT[[2]]

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

Offset: 0x28, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHANNEL
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the last conversion performed on this channel. This will be a binary fraction representing the voltage on the AD0[n] pin, as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP..

THCMPRANGE

Bits 16-17: Threshold Range Comparison result. 0x0 = In Range: The last completed conversion was greater than or equal to the value programmed into the designated LOW threshold register (THRn_LOW) but less than or equal to the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x1 = Below Range: The last completed conversion on was less than the value programmed into the designated LOW threshold register (THRn_LOW). 0x2 = Above Range: The last completed conversion was greater than the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x3 = Reserved..

THCMPCROSS

Bits 18-19: Threshold Crossing Comparison result. 0x0 = No threshold Crossing detected: The most recent completed conversion on this channel had the same relationship (above or below) to the threshold value established by the designated LOW threshold register (THRn_LOW) as did the previous conversion on this channel. 0x1 = Reserved. 0x2 = Downward Threshold Crossing Detected. Indicates that a threshold crossing in the downward direction has occurred - i.e. the previous sample on this channel was above the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is below that threshold. 0x3 = Upward Threshold Crossing Detected. Indicates that a threshold crossing in the upward direction has occurred - i.e. the previous sample on this channel was below the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is above that threshold..

CHANNEL

Bits 26-29: This field is hard-coded to contain the channel number that this particular register relates to (i.e. this field will contain 0b0000 for the DAT0 register, 0b0001 for the DAT1 register, etc).

OVERRUN

Bit 30: This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. This bit (in any of the 12 registers) will cause an overrun interrupt/DMA trigger to be asserted if the overrun interrupt is enabled. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DATAVALID

Bit 31: This bit is set to 1 when an ADC conversion on this channel completes. This bit is cleared whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DAT[[3]]

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

Offset: 0x2c, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHANNEL
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the last conversion performed on this channel. This will be a binary fraction representing the voltage on the AD0[n] pin, as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP..

THCMPRANGE

Bits 16-17: Threshold Range Comparison result. 0x0 = In Range: The last completed conversion was greater than or equal to the value programmed into the designated LOW threshold register (THRn_LOW) but less than or equal to the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x1 = Below Range: The last completed conversion on was less than the value programmed into the designated LOW threshold register (THRn_LOW). 0x2 = Above Range: The last completed conversion was greater than the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x3 = Reserved..

THCMPCROSS

Bits 18-19: Threshold Crossing Comparison result. 0x0 = No threshold Crossing detected: The most recent completed conversion on this channel had the same relationship (above or below) to the threshold value established by the designated LOW threshold register (THRn_LOW) as did the previous conversion on this channel. 0x1 = Reserved. 0x2 = Downward Threshold Crossing Detected. Indicates that a threshold crossing in the downward direction has occurred - i.e. the previous sample on this channel was above the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is below that threshold. 0x3 = Upward Threshold Crossing Detected. Indicates that a threshold crossing in the upward direction has occurred - i.e. the previous sample on this channel was below the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is above that threshold..

CHANNEL

Bits 26-29: This field is hard-coded to contain the channel number that this particular register relates to (i.e. this field will contain 0b0000 for the DAT0 register, 0b0001 for the DAT1 register, etc).

OVERRUN

Bit 30: This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. This bit (in any of the 12 registers) will cause an overrun interrupt/DMA trigger to be asserted if the overrun interrupt is enabled. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DATAVALID

Bit 31: This bit is set to 1 when an ADC conversion on this channel completes. This bit is cleared whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DAT[[4]]

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

Offset: 0x30, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHANNEL
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the last conversion performed on this channel. This will be a binary fraction representing the voltage on the AD0[n] pin, as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP..

THCMPRANGE

Bits 16-17: Threshold Range Comparison result. 0x0 = In Range: The last completed conversion was greater than or equal to the value programmed into the designated LOW threshold register (THRn_LOW) but less than or equal to the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x1 = Below Range: The last completed conversion on was less than the value programmed into the designated LOW threshold register (THRn_LOW). 0x2 = Above Range: The last completed conversion was greater than the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x3 = Reserved..

THCMPCROSS

Bits 18-19: Threshold Crossing Comparison result. 0x0 = No threshold Crossing detected: The most recent completed conversion on this channel had the same relationship (above or below) to the threshold value established by the designated LOW threshold register (THRn_LOW) as did the previous conversion on this channel. 0x1 = Reserved. 0x2 = Downward Threshold Crossing Detected. Indicates that a threshold crossing in the downward direction has occurred - i.e. the previous sample on this channel was above the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is below that threshold. 0x3 = Upward Threshold Crossing Detected. Indicates that a threshold crossing in the upward direction has occurred - i.e. the previous sample on this channel was below the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is above that threshold..

CHANNEL

Bits 26-29: This field is hard-coded to contain the channel number that this particular register relates to (i.e. this field will contain 0b0000 for the DAT0 register, 0b0001 for the DAT1 register, etc).

OVERRUN

Bit 30: This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. This bit (in any of the 12 registers) will cause an overrun interrupt/DMA trigger to be asserted if the overrun interrupt is enabled. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DATAVALID

Bit 31: This bit is set to 1 when an ADC conversion on this channel completes. This bit is cleared whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DAT[[5]]

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

Offset: 0x34, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHANNEL
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the last conversion performed on this channel. This will be a binary fraction representing the voltage on the AD0[n] pin, as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP..

THCMPRANGE

Bits 16-17: Threshold Range Comparison result. 0x0 = In Range: The last completed conversion was greater than or equal to the value programmed into the designated LOW threshold register (THRn_LOW) but less than or equal to the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x1 = Below Range: The last completed conversion on was less than the value programmed into the designated LOW threshold register (THRn_LOW). 0x2 = Above Range: The last completed conversion was greater than the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x3 = Reserved..

THCMPCROSS

Bits 18-19: Threshold Crossing Comparison result. 0x0 = No threshold Crossing detected: The most recent completed conversion on this channel had the same relationship (above or below) to the threshold value established by the designated LOW threshold register (THRn_LOW) as did the previous conversion on this channel. 0x1 = Reserved. 0x2 = Downward Threshold Crossing Detected. Indicates that a threshold crossing in the downward direction has occurred - i.e. the previous sample on this channel was above the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is below that threshold. 0x3 = Upward Threshold Crossing Detected. Indicates that a threshold crossing in the upward direction has occurred - i.e. the previous sample on this channel was below the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is above that threshold..

CHANNEL

Bits 26-29: This field is hard-coded to contain the channel number that this particular register relates to (i.e. this field will contain 0b0000 for the DAT0 register, 0b0001 for the DAT1 register, etc).

OVERRUN

Bit 30: This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. This bit (in any of the 12 registers) will cause an overrun interrupt/DMA trigger to be asserted if the overrun interrupt is enabled. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DATAVALID

Bit 31: This bit is set to 1 when an ADC conversion on this channel completes. This bit is cleared whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DAT[[6]]

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

Offset: 0x38, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHANNEL
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the last conversion performed on this channel. This will be a binary fraction representing the voltage on the AD0[n] pin, as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP..

THCMPRANGE

Bits 16-17: Threshold Range Comparison result. 0x0 = In Range: The last completed conversion was greater than or equal to the value programmed into the designated LOW threshold register (THRn_LOW) but less than or equal to the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x1 = Below Range: The last completed conversion on was less than the value programmed into the designated LOW threshold register (THRn_LOW). 0x2 = Above Range: The last completed conversion was greater than the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x3 = Reserved..

THCMPCROSS

Bits 18-19: Threshold Crossing Comparison result. 0x0 = No threshold Crossing detected: The most recent completed conversion on this channel had the same relationship (above or below) to the threshold value established by the designated LOW threshold register (THRn_LOW) as did the previous conversion on this channel. 0x1 = Reserved. 0x2 = Downward Threshold Crossing Detected. Indicates that a threshold crossing in the downward direction has occurred - i.e. the previous sample on this channel was above the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is below that threshold. 0x3 = Upward Threshold Crossing Detected. Indicates that a threshold crossing in the upward direction has occurred - i.e. the previous sample on this channel was below the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is above that threshold..

CHANNEL

Bits 26-29: This field is hard-coded to contain the channel number that this particular register relates to (i.e. this field will contain 0b0000 for the DAT0 register, 0b0001 for the DAT1 register, etc).

OVERRUN

Bit 30: This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. This bit (in any of the 12 registers) will cause an overrun interrupt/DMA trigger to be asserted if the overrun interrupt is enabled. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DATAVALID

Bit 31: This bit is set to 1 when an ADC conversion on this channel completes. This bit is cleared whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DAT[[7]]

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

Offset: 0x3c, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHANNEL
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the last conversion performed on this channel. This will be a binary fraction representing the voltage on the AD0[n] pin, as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP..

THCMPRANGE

Bits 16-17: Threshold Range Comparison result. 0x0 = In Range: The last completed conversion was greater than or equal to the value programmed into the designated LOW threshold register (THRn_LOW) but less than or equal to the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x1 = Below Range: The last completed conversion on was less than the value programmed into the designated LOW threshold register (THRn_LOW). 0x2 = Above Range: The last completed conversion was greater than the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x3 = Reserved..

THCMPCROSS

Bits 18-19: Threshold Crossing Comparison result. 0x0 = No threshold Crossing detected: The most recent completed conversion on this channel had the same relationship (above or below) to the threshold value established by the designated LOW threshold register (THRn_LOW) as did the previous conversion on this channel. 0x1 = Reserved. 0x2 = Downward Threshold Crossing Detected. Indicates that a threshold crossing in the downward direction has occurred - i.e. the previous sample on this channel was above the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is below that threshold. 0x3 = Upward Threshold Crossing Detected. Indicates that a threshold crossing in the upward direction has occurred - i.e. the previous sample on this channel was below the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is above that threshold..

CHANNEL

Bits 26-29: This field is hard-coded to contain the channel number that this particular register relates to (i.e. this field will contain 0b0000 for the DAT0 register, 0b0001 for the DAT1 register, etc).

OVERRUN

Bit 30: This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. This bit (in any of the 12 registers) will cause an overrun interrupt/DMA trigger to be asserted if the overrun interrupt is enabled. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DATAVALID

Bit 31: This bit is set to 1 when an ADC conversion on this channel completes. This bit is cleared whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DAT[[8]]

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

Offset: 0x40, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHANNEL
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the last conversion performed on this channel. This will be a binary fraction representing the voltage on the AD0[n] pin, as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP..

THCMPRANGE

Bits 16-17: Threshold Range Comparison result. 0x0 = In Range: The last completed conversion was greater than or equal to the value programmed into the designated LOW threshold register (THRn_LOW) but less than or equal to the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x1 = Below Range: The last completed conversion on was less than the value programmed into the designated LOW threshold register (THRn_LOW). 0x2 = Above Range: The last completed conversion was greater than the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x3 = Reserved..

THCMPCROSS

Bits 18-19: Threshold Crossing Comparison result. 0x0 = No threshold Crossing detected: The most recent completed conversion on this channel had the same relationship (above or below) to the threshold value established by the designated LOW threshold register (THRn_LOW) as did the previous conversion on this channel. 0x1 = Reserved. 0x2 = Downward Threshold Crossing Detected. Indicates that a threshold crossing in the downward direction has occurred - i.e. the previous sample on this channel was above the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is below that threshold. 0x3 = Upward Threshold Crossing Detected. Indicates that a threshold crossing in the upward direction has occurred - i.e. the previous sample on this channel was below the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is above that threshold..

CHANNEL

Bits 26-29: This field is hard-coded to contain the channel number that this particular register relates to (i.e. this field will contain 0b0000 for the DAT0 register, 0b0001 for the DAT1 register, etc).

OVERRUN

Bit 30: This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. This bit (in any of the 12 registers) will cause an overrun interrupt/DMA trigger to be asserted if the overrun interrupt is enabled. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DATAVALID

Bit 31: This bit is set to 1 when an ADC conversion on this channel completes. This bit is cleared whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DAT[[9]]

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

Offset: 0x44, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHANNEL
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the last conversion performed on this channel. This will be a binary fraction representing the voltage on the AD0[n] pin, as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP..

THCMPRANGE

Bits 16-17: Threshold Range Comparison result. 0x0 = In Range: The last completed conversion was greater than or equal to the value programmed into the designated LOW threshold register (THRn_LOW) but less than or equal to the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x1 = Below Range: The last completed conversion on was less than the value programmed into the designated LOW threshold register (THRn_LOW). 0x2 = Above Range: The last completed conversion was greater than the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x3 = Reserved..

THCMPCROSS

Bits 18-19: Threshold Crossing Comparison result. 0x0 = No threshold Crossing detected: The most recent completed conversion on this channel had the same relationship (above or below) to the threshold value established by the designated LOW threshold register (THRn_LOW) as did the previous conversion on this channel. 0x1 = Reserved. 0x2 = Downward Threshold Crossing Detected. Indicates that a threshold crossing in the downward direction has occurred - i.e. the previous sample on this channel was above the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is below that threshold. 0x3 = Upward Threshold Crossing Detected. Indicates that a threshold crossing in the upward direction has occurred - i.e. the previous sample on this channel was below the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is above that threshold..

CHANNEL

Bits 26-29: This field is hard-coded to contain the channel number that this particular register relates to (i.e. this field will contain 0b0000 for the DAT0 register, 0b0001 for the DAT1 register, etc).

OVERRUN

Bit 30: This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. This bit (in any of the 12 registers) will cause an overrun interrupt/DMA trigger to be asserted if the overrun interrupt is enabled. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DATAVALID

Bit 31: This bit is set to 1 when an ADC conversion on this channel completes. This bit is cleared whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DAT[[10]]

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

Offset: 0x48, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHANNEL
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the last conversion performed on this channel. This will be a binary fraction representing the voltage on the AD0[n] pin, as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP..

THCMPRANGE

Bits 16-17: Threshold Range Comparison result. 0x0 = In Range: The last completed conversion was greater than or equal to the value programmed into the designated LOW threshold register (THRn_LOW) but less than or equal to the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x1 = Below Range: The last completed conversion on was less than the value programmed into the designated LOW threshold register (THRn_LOW). 0x2 = Above Range: The last completed conversion was greater than the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x3 = Reserved..

THCMPCROSS

Bits 18-19: Threshold Crossing Comparison result. 0x0 = No threshold Crossing detected: The most recent completed conversion on this channel had the same relationship (above or below) to the threshold value established by the designated LOW threshold register (THRn_LOW) as did the previous conversion on this channel. 0x1 = Reserved. 0x2 = Downward Threshold Crossing Detected. Indicates that a threshold crossing in the downward direction has occurred - i.e. the previous sample on this channel was above the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is below that threshold. 0x3 = Upward Threshold Crossing Detected. Indicates that a threshold crossing in the upward direction has occurred - i.e. the previous sample on this channel was below the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is above that threshold..

CHANNEL

Bits 26-29: This field is hard-coded to contain the channel number that this particular register relates to (i.e. this field will contain 0b0000 for the DAT0 register, 0b0001 for the DAT1 register, etc).

OVERRUN

Bit 30: This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. This bit (in any of the 12 registers) will cause an overrun interrupt/DMA trigger to be asserted if the overrun interrupt is enabled. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DATAVALID

Bit 31: This bit is set to 1 when an ADC conversion on this channel completes. This bit is cleared whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DAT[[11]]

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

Offset: 0x4c, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAVALID
r
OVERRUN
r
CHANNEL
r
THCMPCROSS
r
THCMPRANGE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESULT
r
Toggle Fields

RESULT

Bits 4-15: This field contains the 12-bit ADC conversion result from the last conversion performed on this channel. This will be a binary fraction representing the voltage on the AD0[n] pin, as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP..

THCMPRANGE

Bits 16-17: Threshold Range Comparison result. 0x0 = In Range: The last completed conversion was greater than or equal to the value programmed into the designated LOW threshold register (THRn_LOW) but less than or equal to the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x1 = Below Range: The last completed conversion on was less than the value programmed into the designated LOW threshold register (THRn_LOW). 0x2 = Above Range: The last completed conversion was greater than the value programmed into the designated HIGH threshold register (THRn_HIGH). 0x3 = Reserved..

THCMPCROSS

Bits 18-19: Threshold Crossing Comparison result. 0x0 = No threshold Crossing detected: The most recent completed conversion on this channel had the same relationship (above or below) to the threshold value established by the designated LOW threshold register (THRn_LOW) as did the previous conversion on this channel. 0x1 = Reserved. 0x2 = Downward Threshold Crossing Detected. Indicates that a threshold crossing in the downward direction has occurred - i.e. the previous sample on this channel was above the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is below that threshold. 0x3 = Upward Threshold Crossing Detected. Indicates that a threshold crossing in the upward direction has occurred - i.e. the previous sample on this channel was below the threshold value established by the designated LOW threshold register (THRn_LOW) and the current sample is above that threshold..

CHANNEL

Bits 26-29: This field is hard-coded to contain the channel number that this particular register relates to (i.e. this field will contain 0b0000 for the DAT0 register, 0b0001 for the DAT1 register, etc).

OVERRUN

Bit 30: This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. This bit (in any of the 12 registers) will cause an overrun interrupt/DMA trigger to be asserted if the overrun interrupt is enabled. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

DATAVALID

Bit 31: This bit is set to 1 when an ADC conversion on this channel completes. This bit is cleared whenever this register is read or when the data related to this channel is read from either of the global SEQn_GDAT registers. While it is allowed to include the same channels in both conversion sequences, doing so may cause erratic behavior of the DONE and OVERRUN bits in the data registers associated with any of the channels that are shared between the two sequences. Any erratic OVERRUN behavior will also affect overrun interrupt generation, if enabled..

THR0_LOW

ADC Low Compare Threshold register 0: Contains the lower threshold level for automatic threshold comparison for any channels linked to threshold pair 0.

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
THRLOW
rw
Toggle Fields

THRLOW

Bits 4-15: Low threshold value against which ADC results will be compared.

THR1_LOW

ADC Low Compare Threshold register 1: Contains the lower threshold level for automatic threshold comparison for any channels linked to threshold pair 1.

Offset: 0x54, 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
THRLOW
rw
Toggle Fields

THRLOW

Bits 4-15: Low threshold value against which ADC results will be compared.

THR0_HIGH

ADC High Compare Threshold register 0: Contains the upper threshold level for automatic threshold comparison for any channels linked to threshold pair 0.

Offset: 0x58, 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
THRHIGH
rw
Toggle Fields

THRHIGH

Bits 4-15: High threshold value against which ADC results will be compared.

THR1_HIGH

ADC High Compare Threshold register 1: Contains the upper threshold level for automatic threshold comparison for any channels linked to threshold pair 1.

Offset: 0x5c, 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
THRHIGH
rw
Toggle Fields

THRHIGH

Bits 4-15: High threshold value against which ADC results will be compared.

CHAN_THRSEL

ADC Channel-Threshold Select register. Specifies which set of threshold compare registers are to be used for each channel

Offset: 0x60, reset: 0, access: read-write

1/12 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
CH11_THRSEL
rw
CH10_THRSEL
rw
CH9_THRSEL
rw
CH8_THRSEL
rw
CH7_THRSEL
rw
CH6_THRSEL
rw
CH5_THRSEL
rw
CH4_THRSEL
rw
CH3_THRSEL
rw
CH2_THRSEL
rw
CH1_THRSEL
rw
CH0_THRSEL
rw
Toggle Fields

CH0_THRSEL

Bit 0: Threshold select for channel 0..

Allowed values:
0: THRESHOLD0: Threshold 0. Results for this channel will be compared against the threshold levels indicated in the THR0_LOW and THR0_HIGH registers.
0x1: THRESHOLD1: Threshold 1. Results for this channel will be compared against the threshold levels indicated in the THR1_LOW and THR1_HIGH registers.

CH1_THRSEL

Bit 1: Threshold select for channel 1. See description for channel 0..

CH2_THRSEL

Bit 2: Threshold select for channel 2. See description for channel 0..

CH3_THRSEL

Bit 3: Threshold select for channel 3. See description for channel 0..

CH4_THRSEL

Bit 4: Threshold select for channel 4. See description for channel 0..

CH5_THRSEL

Bit 5: Threshold select for channel 5. See description for channel 0..

CH6_THRSEL

Bit 6: Threshold select for channel 6. See description for channel 0..

CH7_THRSEL

Bit 7: Threshold select for channel 7. See description for channel 0..

CH8_THRSEL

Bit 8: Threshold select for channel 8. See description for channel 0..

CH9_THRSEL

Bit 9: Threshold select for channel 9. See description for channel 0..

CH10_THRSEL

Bit 10: Threshold select for channel 10. See description for channel 0..

CH11_THRSEL

Bit 11: Threshold select for channel 11. See description for channel 0..

INTEN

ADC Interrupt Enable register. This register contains enable bits that enable the sequence-A, sequence-B, threshold compare and data overrun interrupts to be generated.

Offset: 0x64, reset: 0, access: read-write

4/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADCMPINTEN11
rw
ADCMPINTEN10
rw
ADCMPINTEN9
rw
ADCMPINTEN8
rw
ADCMPINTEN7
rw
ADCMPINTEN6
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADCMPINTEN6
rw
ADCMPINTEN5
rw
ADCMPINTEN4
rw
ADCMPINTEN3
rw
ADCMPINTEN2
rw
ADCMPINTEN1
rw
ADCMPINTEN0
rw
OVR_INTEN
rw
SEQB_INTEN
rw
SEQA_INTEN
rw
Toggle Fields

SEQA_INTEN

Bit 0: Sequence A interrupt enable..

Allowed values:
0: DISABLED: Disabled. The sequence A interrupt/DMA trigger is disabled.
0x1: ENABLED: Enabled. The sequence A interrupt/DMA trigger is enabled and will be asserted either upon completion of each individual conversion performed as part of sequence A, or upon completion of the entire A sequence of conversions, depending on the MODE bit in the SEQA_CTRL register.

SEQB_INTEN

Bit 1: Sequence B interrupt enable..

Allowed values:
0: DISABLED: Disabled. The sequence B interrupt/DMA trigger is disabled.
0x1: ENABLED: Enabled. The sequence B interrupt/DMA trigger is enabled and will be asserted either upon completion of each individual conversion performed as part of sequence B, or upon completion of the entire B sequence of conversions, depending on the MODE bit in the SEQB_CTRL register.

OVR_INTEN

Bit 2: Overrun interrupt enable..

Allowed values:
0: DISABLED: Disabled. The overrun interrupt is disabled.
0x1: ENABLED: Enabled. The overrun interrupt is enabled. Detection of an overrun condition on any of the 12 channel data registers will cause an overrun interrupt/DMA trigger. In addition, if the MODE bit for a particular sequence is 0, then an overrun in the global data register for that sequence will also cause this interrupt/DMA trigger to be asserted.

ADCMPINTEN0

Bits 3-4: Threshold comparison interrupt enable for channel 0..

Allowed values:
0: DISABLED: Disabled.
0x1: OUTSIDE_THRESHOLD: Outside threshold.
0x2: CROSSING_THRESHOLD: Crossing threshold.

ADCMPINTEN1

Bits 5-6: Channel 1 threshold comparison interrupt enable. See description for channel 0..

ADCMPINTEN2

Bits 7-8: Channel 2 threshold comparison interrupt enable. See description for channel 0..

ADCMPINTEN3

Bits 9-10: Channel 3 threshold comparison interrupt enable. See description for channel 0..

ADCMPINTEN4

Bits 11-12: Channel 4 threshold comparison interrupt enable. See description for channel 0..

ADCMPINTEN5

Bits 13-14: Channel 5 threshold comparison interrupt enable. See description for channel 0..

ADCMPINTEN6

Bits 15-16: Channel 6 threshold comparison interrupt enable. See description for channel 0..

ADCMPINTEN7

Bits 17-18: Channel 7 threshold comparison interrupt enable. See description for channel 0..

ADCMPINTEN8

Bits 19-20: Channel 8 threshold comparison interrupt enable. See description for channel 0..

ADCMPINTEN9

Bits 21-22: Channel 9 threshold comparison interrupt enable. See description for channel 0..

ADCMPINTEN10

Bits 23-24: Channel 10 threshold comparison interrupt enable. See description for channel 0..

ADCMPINTEN11

Bits 25-26: Channel 21 threshold comparison interrupt enable. See description for channel 0..

FLAGS

ADC Flags register. Contains the four interrupt/DMA trigger flags and the individual component overrun and threshold-compare flags. (The overrun bits replicate information stored in the result registers).

Offset: 0x68, reset: 0, access: read-write

18/30 fields covered.

THCMP0

Bit 0: Threshold comparison event on Channel 0. Set to 1 upon either an out-of-range result or a threshold-crossing result if enabled to do so in the INTEN register. This bit is cleared by writing a 1..

THCMP1

Bit 1: Threshold comparison event on Channel 1. See description for channel 0..

THCMP2

Bit 2: Threshold comparison event on Channel 2. See description for channel 0..

THCMP3

Bit 3: Threshold comparison event on Channel 3. See description for channel 0..

THCMP4

Bit 4: Threshold comparison event on Channel 4. See description for channel 0..

THCMP5

Bit 5: Threshold comparison event on Channel 5. See description for channel 0..

THCMP6

Bit 6: Threshold comparison event on Channel 6. See description for channel 0..

THCMP7

Bit 7: Threshold comparison event on Channel 7. See description for channel 0..

THCMP8

Bit 8: Threshold comparison event on Channel 8. See description for channel 0..

THCMP9

Bit 9: Threshold comparison event on Channel 9. See description for channel 0..

THCMP10

Bit 10: Threshold comparison event on Channel 10. See description for channel 0..

THCMP11

Bit 11: Threshold comparison event on Channel 11. See description for channel 0..

OVERRUN0

Bit 12: Mirrors the OVERRRUN status flag from the result register for ADC channel 0.

OVERRUN1

Bit 13: Mirrors the OVERRRUN status flag from the result register for ADC channel 1.

OVERRUN2

Bit 14: Mirrors the OVERRRUN status flag from the result register for ADC channel 2.

OVERRUN3

Bit 15: Mirrors the OVERRRUN status flag from the result register for ADC channel 3.

OVERRUN4

Bit 16: Mirrors the OVERRRUN status flag from the result register for ADC channel 4.

OVERRUN5

Bit 17: Mirrors the OVERRRUN status flag from the result register for ADC channel 5.

OVERRUN6

Bit 18: Mirrors the OVERRRUN status flag from the result register for ADC channel 6.

OVERRUN7

Bit 19: Mirrors the OVERRRUN status flag from the result register for ADC channel 7.

OVERRUN8

Bit 20: Mirrors the OVERRRUN status flag from the result register for ADC channel 8.

OVERRUN9

Bit 21: Mirrors the OVERRRUN status flag from the result register for ADC channel 9.

OVERRUN10

Bit 22: Mirrors the OVERRRUN status flag from the result register for ADC channel 10.

OVERRUN11

Bit 23: Mirrors the OVERRRUN status flag from the result register for ADC channel 11.

SEQA_OVR

Bit 24: Mirrors the global OVERRUN status flag in the SEQA_GDAT register.

SEQB_OVR

Bit 25: Mirrors the global OVERRUN status flag in the SEQB_GDAT register.

SEQA_INT

Bit 28: Sequence A interrupt/DMA trigger. If the MODE bit in the SEQA_CTRL register is 0, this flag will mirror the DATAVALID bit in the sequence A global data register (SEQA_GDAT), which is set at the end of every ADC conversion performed as part of sequence A. It will be cleared automatically when the SEQA_GDAT register is read. If the MODE bit in the SEQA_CTRL register is 1, this flag will be set upon completion of an entire A sequence. In this case it must be cleared by writing a 1 to this SEQA_INT bit. This interrupt must be enabled in the INTEN register..

SEQB_INT

Bit 29: Sequence A interrupt/DMA trigger. If the MODE bit in the SEQB_CTRL register is 0, this flag will mirror the DATAVALID bit in the sequence A global data register (SEQB_GDAT), which is set at the end of every ADC conversion performed as part of sequence B. It will be cleared automatically when the SEQB_GDAT register is read. If the MODE bit in the SEQB_CTRL register is 1, this flag will be set upon completion of an entire B sequence. In this case it must be cleared by writing a 1 to this SEQB_INT bit. This interrupt must be enabled in the INTEN register..

THCMP_INT

Bit 30: Threshold Comparison Interrupt. This bit will be set if any of the THCMP flags in the lower bits of this register are set to 1 (due to an enabled out-of-range or threshold-crossing event on any channel). Each type of threshold comparison interrupt on each channel must be individually enabled in the INTEN register to cause this interrupt. This bit will be cleared when all of the individual threshold flags are cleared via writing 1s to those bits..

OVR_INT

Bit 31: Overrun Interrupt flag. Any overrun bit in any of the individual channel data registers will cause this interrupt. In addition, if the MODE bit in either of the SEQn_CTRL registers is 0 then the OVERRUN bit in the corresponding SEQn_GDAT register will also cause this interrupt. This interrupt must be enabled in the INTEN register. This bit will be cleared when all of the individual overrun bits have been cleared via reading the corresponding data registers..

STARTUP

ADC Startup register.

Offset: 0x6c, 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
ADC_INIT
rw
ADC_ENA
rw
Toggle Fields

ADC_ENA

Bit 0: ADC Enable bit. This bit can only be set to a 1 by software. It is cleared automatically whenever the ADC is powered down. This bit must not be set until at least 10 microseconds after the ADC is powered up (typically by altering a system-level ADC power control bit)..

ADC_INIT

Bit 1: ADC Initialization. After enabling the ADC (setting the ADC_ENA bit), the API routine will EITHER set this bit or the CALIB bit in the CALIB register, depending on whether or not calibration is required. Setting this bit will launch the 'dummy' conversion cycle that is required if a calibration is not performed. It will also reload the stored calibration value from a previous calibration unless the BYPASSCAL bit is set. This bit should only be set AFTER the ADC_ENA bit is set and after the CALIREQD bit is tested to determine whether a calibration or an ADC dummy conversion cycle is required. It should not be set during the same write that sets the ADC_ENA bit. This bit can only be set to a '1' by software. It is cleared automatically when the 'dummy' conversion cycle completes..

CALIB

ADC Calibration register.

Offset: 0x70, reset: 0x2, access: read-write

0/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
CALVALUE
rw
CALREQD
rw
CALIB
rw
Toggle Fields

CALIB

Bit 0: Calibration request. Setting this bit will launch an ADC calibration cycle. This bit can only be set to a '1' by software. It is cleared automatically when the calibration cycle completes..

CALREQD

Bit 1: Calibration required. This read-only bit indicates if calibration is required when enabling the ADC. CALREQD will be '1' if no calibration has been run since the chip was powered-up and if the BYPASSCAL bit in the CTRL register is low. Software will test this bit to determine whether to initiate a calibration cycle or whether to set the ADC_INIT bit (in the STARTUP register) to launch the ADC initialization process which includes a 'dummy' conversion cycle. Note: A 'dummy' conversion cycle requires approximately 6 ADC clocks as opposed to 81 clocks required for calibration..

CALVALUE

Bits 2-8: Calibration Value. This read-only field displays the calibration value established during last calibration cycle. This value is not typically of any use to the user..

ASYNC_SYSCON

0x40040000: LPC5411x Asynchronous system configuration (ASYNC_SYSCON)

1/9 fields covered. Toggle Registers

Show register map

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 ASYNCPRESETCTRL
0x4 ASYNCPRESETCTRLSET
0x8 ASYNCPRESETCTRLCLR
0x10 ASYNCAPBCLKCTRL
0x14 ASYNCAPBCLKCTRLSET
0x18 ASYNCAPBCLKCTRLCLR
0x20 ASYNCAPBCLKSELA

ASYNCPRESETCTRL

Async peripheral reset control

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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTIMER4
rw
CTIMER3
rw
Toggle Fields

CTIMER3

Bit 13: Standard counter/timer CTIMER3 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

CTIMER4

Bit 14: Standard counter/timer CTIMER4 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

ASYNCPRESETCTRLSET

Set bits in ASYNCPRESETCTRL

Offset: 0x4, 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
ARST_SET
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARST_SET
w
Toggle Fields

ARST_SET

Bits 0-31: Writing ones to this register sets the corresponding bit or bits in the ASYNCPRESETCTRL register, if they are implemented. Bits that do not correspond to defined bits in ASYNCPRESETCTRL are reserved and only zeroes should be written to them..

ASYNCPRESETCTRLCLR

Clear bits in ASYNCPRESETCTRL

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
ARST_CLR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARST_CLR
w
Toggle Fields

ARST_CLR

Bits 0-31: Writing ones to this register clears the corresponding bit or bits in the ASYNCPRESETCTRL register, if they are implemented. Bits that do not correspond to defined bits in ASYNCPRESETCTRL are reserved and only zeroes should be written to them..

ASYNCAPBCLKCTRL

Async peripheral clock control

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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTIMER4
rw
CTIMER3
rw
Toggle Fields

CTIMER3

Bit 13: Controls the clock for CTIMER3. 0 = Disable; 1 = Enable..

CTIMER4

Bit 14: Controls the clock for CTIMER4. 0 = Disable; 1 = Enable..

ASYNCAPBCLKCTRLSET

Set bits in ASYNCAPBCLKCTRL

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
ACLK_SET
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACLK_SET
w
Toggle Fields

ACLK_SET

Bits 0-31: Writing ones to this register sets the corresponding bit or bits in the ASYNCAPBCLKCTRL register, if they are implemented. Bits that do not correspond to defined bits in ASYNCPRESETCTRL are reserved and only zeroes should be written to them..

ASYNCAPBCLKCTRLCLR

Clear bits in ASYNCAPBCLKCTRL

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
ACLK_CLR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACLK_CLR
w
Toggle Fields

ACLK_CLR

Bits 0-31: Writing ones to this register clears the corresponding bit or bits in the ASYNCAPBCLKCTRL register, if they are implemented. Bits that do not correspond to defined bits in ASYNCAPBCLKCTRL are reserved and only zeroes should be written to them..

ASYNCAPBCLKSELA

Async APB clock source select A

Offset: 0x20, 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
Toggle Fields

SEL

Bits 0-1: Clock source for asynchronous clock source selector A.

Allowed values:
0: MAIN_CLOCK: Main clock (main_clk)
0x1: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x2: AUDIO_PLL_CLOCK: Audio PLL clock.(AUDPLL_BYPASS)
0x3: FC6_FCLK: fc6 fclk (fc6_fclk)

CAN0

0x4009d000: LPC5460x Controller Area Network Flexible Data

30/209 fields covered. Toggle Registers

Show register map

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
0xc DBTP
0x10 TEST
0x18 CCCR
0x1c NBTP
0x20 TSCC
0x24 TSCV
0x28 TOCC
0x2c TOCV
0x40 ECR
0x44 PSR
0x48 TDCR
0x50 IR
0x54 IE
0x58 ILS
0x5c ILE
0x80 GFC
0x84 SIDFC
0x88 XIDFC
0x90 XIDAM
0x94 HPMS
0x98 NDAT1
0x9c NDAT2
0xa0 RXF0C
0xa4 RXF0S
0xa8 RXF0A
0xac RXBC
0xb0 RXF1C
0xb4 RXF1S
0xb8 RXF1A
0xbc RXESC
0xc0 TXBC
0xc4 TXFQS
0xc8 TXESC
0xcc TXBRP
0xd0 TXBAR
0xd4 TXBCR
0xd8 TXBTO
0xdc TXBCF
0xe0 TXBTIE
0xe4 TXBCIE
0xf0 TXEFC
0xf4 TXEFS
0xf8 TXEFA
0x200 MRBA
0x400 ETSCC
0x600 ETSCV

DBTP

Data Bit Timing Prescaler Register

Offset: 0xc, reset: 0xA33, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDC
rw
DBRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTSEG1
rw
DTSEG2
rw
DSJW
rw
Toggle Fields

DSJW

Bits 0-3: Data (re)synchronization jump width..

DTSEG2

Bits 4-7: Data time segment after sample point..

DTSEG1

Bits 8-12: Data time segment before sample point..

DBRP

Bits 16-20: Data bit rate prescaler..

TDC

Bit 23: Transmitter delay compensation..

TEST

Test Register

Offset: 0x10, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RX
rw
TX
rw
LBCK
rw
Toggle Fields

LBCK

Bit 4: Loop back mode..

TX

Bits 5-6: Control of transmit pin..

RX

Bit 7: Monitors the actual value of the CAN_RXD..

CCCR

CC Control Register

Offset: 0x18, reset: 0x1, access: read-write

0/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
NISO
rw
TXP
rw
EFBI
rw
PXHD
rw
BRSE
rw
FDOE
rw
TEST
rw
DAR
rw
MON
rw
CSR
rw
CSA
rw
ASM
rw
CCE
rw
INIT
rw
Toggle Fields

INIT

Bit 0: Initialization..

CCE

Bit 1: Configuration change enable..

ASM

Bit 2: Restricted operational mode..

CSA

Bit 3: Clock Stop Acknowledge..

CSR

Bit 4: Clock Stop Request..

MON

Bit 5: Bus monitoring mode..

DAR

Bit 6: Disable automatic retransmission..

TEST

Bit 7: Test mode enable..

FDOE

Bit 8: CAN FD operation enable..

BRSE

Bit 9: When CAN FD operation is disabled, this bit is not evaluated..

PXHD

Bit 12: Protocol exception handling disable..

EFBI

Bit 13: Edge filtering during bus integration..

TXP

Bit 14: Transmit pause..

NISO

Bit 15: Non ISO operation..

NBTP

Nominal Bit Timing and Prescaler Register

Offset: 0x1c, reset: 0x6000A03, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NSJW
rw
NBRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NTSEG1
rw
NTSEG2
rw
Toggle Fields

NTSEG2

Bits 0-6: Nominal time segment after sample point..

NTSEG1

Bits 8-15: Nominal time segment before sample point..

NBRP

Bits 16-24: Nominal bit rate prescaler..

NSJW

Bits 25-31: Nominal (re)synchronization jump width..

TSCC

Timestamp Counter Configuration

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
TCP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSS
rw
Toggle Fields

TSS

Bits 0-1: Timestamp select..

TCP

Bits 16-19: Timestamp counter prescaler Configures the timestamp and timeout counters time unit in multiple of CAN bit times..

TSCV

Timestamp Counter Value

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
TSC
rw
Toggle Fields

TSC

Bits 0-15: Timestamp counter..

TOCC

Timeout Counter Configuration

Offset: 0x28, reset: 0xFFFF0000, access: read-write

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TOP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOS
rw
ETOC
rw
Toggle Fields

ETOC

Bit 0: Enable timeout counter..

TOS

Bits 1-2: Timeout select..

TOP

Bits 16-31: Timeout period..

TOCV

Timeout Counter Value

Offset: 0x2c, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOC
r
Toggle Fields

TOC

Bits 0-15: Timeout counter..

ECR

Error Counter Register

Offset: 0x40, 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
CEL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RP
r
REC
r
TEC
r
Toggle Fields

TEC

Bits 0-7: Transmit error counter..

REC

Bits 8-14: Receive error counter..

RP

Bit 15: Receive error passive..

CEL

Bits 16-23: CAN error logging..

PSR

Protocol Status Register

Offset: 0x44, reset: 0x707, access: read-only

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDCV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PXE
r
RFDF
r
RBRS
r
RESI
r
DLEC
r
BO
r
EW
r
EP
r
ACT
r
LEC
r
Toggle Fields

LEC

Bits 0-2: Last error code..

ACT

Bits 3-4: Activity..

EP

Bit 5: Error Passive..

EW

Bit 6: Warning status..

BO

Bit 7: Bus Off Status..

DLEC

Bits 8-10: Data phase last error code..

RESI

Bit 11: ESI flag of the last received CAN FD message..

RBRS

Bit 12: BRS flag of last received CAN FD message..

RFDF

Bit 13: Received a CAN FD message..

PXE

Bit 14: Protocol exception event..

TDCV

Bits 16-22: Transmitter delay compensation value..

TDCR

Transmitter Delay Compensator Register

Offset: 0x48, 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
TDCO
rw
TDCF
rw
Toggle Fields

TDCF

Bits 0-6: Transmitter delay compensation filter window length..

TDCO

Bits 8-14: Transmitter delay compensation offset..

IR

Interrupt Register

Offset: 0x50, reset: 0, access: read-write

0/30 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARA
rw
PED
rw
PEA
rw
WDI
rw
BO
rw
EW
rw
EP
rw
ELO
rw
BEU
rw
BEC
rw
DRX
rw
TOO
rw
MRAF
rw
TSW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEFL
rw
TEFF
rw
TEFW
rw
TEFN
rw
TFE
rw
TCF
rw
TC
rw
HPM
rw
RF1L
rw
RF1F
rw
RF1W
rw
RF1N
rw
RF0L
rw
RF0F
rw
RF0W
rw
RF0N
rw
Toggle Fields

RF0N

Bit 0: Rx FIFO 0 new message..

RF0W

Bit 1: Rx FIFO 0 watermark reached..

RF0F

Bit 2: Rx FIFO 0 full..

RF0L

Bit 3: Rx FIFO 0 message lost..

RF1N

Bit 4: Rx FIFO 1 new message..

RF1W

Bit 5: Rx FIFO 1 watermark reached..

RF1F

Bit 6: Rx FIFO 1 full..

RF1L

Bit 7: Rx FIFO 1 message lost..

HPM

Bit 8: High priority message..

TC

Bit 9: Transmission completed..

TCF

Bit 10: Transmission cancellation finished..

TFE

Bit 11: Tx FIFO empty..

TEFN

Bit 12: Tx event FIFO new entry..

TEFW

Bit 13: Tx event FIFO watermark reached..

TEFF

Bit 14: Tx event FIFO full..

TEFL

Bit 15: Tx event FIFO element lost..

TSW

Bit 16: Timestamp wraparound..

MRAF

Bit 17: Message RAM access failure..

TOO

Bit 18: Timeout occurred..

DRX

Bit 19: Message stored in dedicated Rx buffer..

BEC

Bit 20: Bit error corrected..

BEU

Bit 21: Bit error uncorrected..

ELO

Bit 22: Error logging overflow..

EP

Bit 23: Error passive..

EW

Bit 24: Warning status..

BO

Bit 25: Bus_Off Status..

WDI

Bit 26: Watchdog interrupt..

PEA

Bit 27: Protocol error in arbitration phase..

PED

Bit 28: Protocol error in data phase..

ARA

Bit 29: Access to reserved address..

IE

Interrupt Enable

Offset: 0x54, reset: 0, access: read-write

0/30 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARAE
rw
PEDE
rw
PEAE
rw
WDIE
rw
BOE
rw
EWE
rw
EPE
rw
ELOE
rw
BEUE
rw
BECE
rw
DRXE
rw
TOOE
rw
MRAFE
rw
TSWE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEFLE
rw
TEFFE
rw
TEFWE
rw
TEFNE
rw
TFEE
rw
TCFE
rw
TCE
rw
HPME
rw
RF1LE
rw
RF1FE
rw
RF1WE
rw
RF1NE
rw
RF0LE
rw
RF0FE
rw
RF0WE
rw
RF0NE
rw
Toggle Fields

RF0NE

Bit 0: Rx FIFO 0 new message interrupt enable..

RF0WE

Bit 1: Rx FIFO 0 watermark reached interrupt enable..

RF0FE

Bit 2: Rx FIFO 0 full interrupt enable..

RF0LE

Bit 3: Rx FIFO 0 message lost interrupt enable..

RF1NE

Bit 4: Rx FIFO 1 new message interrupt enable..

RF1WE

Bit 5: Rx FIFO 1 watermark reached interrupt enable..

RF1FE

Bit 6: Rx FIFO 1 full interrupt enable..

RF1LE

Bit 7: Rx FIFO 1 message lost interrupt enable..

HPME

Bit 8: High priority message interrupt enable..

TCE

Bit 9: Transmission completed interrupt enable..

TCFE

Bit 10: Transmission cancellation finished interrupt enable..

TFEE

Bit 11: Tx FIFO empty interrupt enable..

TEFNE

Bit 12: Tx event FIFO new entry interrupt enable..

TEFWE

Bit 13: Tx event FIFO watermark reached interrupt enable..

TEFFE

Bit 14: Tx event FIFO full interrupt enable..

TEFLE

Bit 15: Tx event FIFO element lost interrupt enable..

TSWE

Bit 16: Timestamp wraparound interrupt enable..

MRAFE

Bit 17: Message RAM access failure interrupt enable..

TOOE

Bit 18: Timeout occurred interrupt enable..

DRXE

Bit 19: Message stored in dedicated Rx buffer interrupt enable..

BECE

Bit 20: Bit error corrected interrupt enable..

BEUE

Bit 21: Bit error uncorrected interrupt enable..

ELOE

Bit 22: Error logging overflow interrupt enable..

EPE

Bit 23: Error passive interrupt enable..

EWE

Bit 24: Warning status interrupt enable..

BOE

Bit 25: Bus_Off Status interrupt enable..

WDIE

Bit 26: Watchdog interrupt enable..

PEAE

Bit 27: Protocol error in arbitration phase interrupt enable..

PEDE

Bit 28: Protocol error in data phase interrupt enable..

ARAE

Bit 29: Access to reserved address interrupt enable..

ILS

Interrupt Line Select

Offset: 0x58, reset: 0, access: read-write

0/30 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARAL
rw
PEDL
rw
PEAL
rw
WDIL
rw
BOL
rw
EWL
rw
EPL
rw
ELOL
rw
BEUL
rw
BECL
rw
DRXL
rw
TOOL
rw
MRAFL
rw
TSWL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEFLL
rw
TEFFL
rw
TEFWL
rw
TEFNL
rw
TFEL
rw
TCFL
rw
TCL
rw
HPML
rw
RF1LL
rw
RF1FL
rw
RF1WL
rw
RF1NL
rw
RF0LL
rw
RF0FL
rw
RF0WL
rw
RF0NL
rw
Toggle Fields

RF0NL

Bit 0: Rx FIFO 0 new message interrupt line..

RF0WL

Bit 1: Rx FIFO 0 watermark reached interrupt line..

RF0FL

Bit 2: Rx FIFO 0 full interrupt line..

RF0LL

Bit 3: Rx FIFO 0 message lost interrupt line..

RF1NL

Bit 4: Rx FIFO 1 new message interrupt line..

RF1WL

Bit 5: Rx FIFO 1 watermark reached interrupt line..

RF1FL

Bit 6: Rx FIFO 1 full interrupt line..

RF1LL

Bit 7: Rx FIFO 1 message lost interrupt line..

HPML

Bit 8: High priority message interrupt line..

TCL

Bit 9: Transmission completed interrupt line..

TCFL

Bit 10: Transmission cancellation finished interrupt line..

TFEL

Bit 11: Tx FIFO empty interrupt line..

TEFNL

Bit 12: Tx event FIFO new entry interrupt line..

TEFWL

Bit 13: Tx event FIFO watermark reached interrupt line..

TEFFL

Bit 14: Tx event FIFO full interrupt line..

TEFLL

Bit 15: Tx event FIFO element lost interrupt line..

TSWL

Bit 16: Timestamp wraparound interrupt line..

MRAFL

Bit 17: Message RAM access failure interrupt line..

TOOL

Bit 18: Timeout occurred interrupt line..

DRXL

Bit 19: Message stored in dedicated Rx buffer interrupt line..

BECL

Bit 20: Bit error corrected interrupt line..

BEUL

Bit 21: Bit error uncorrected interrupt line..

ELOL

Bit 22: Error logging overflow interrupt line..

EPL

Bit 23: Error passive interrupt line..

EWL

Bit 24: Warning status interrupt line..

BOL

Bit 25: Bus_Off Status interrupt line..

WDIL

Bit 26: Watchdog interrupt line..

PEAL

Bit 27: Protocol error in arbitration phase interrupt line..

PEDL

Bit 28: Protocol error in data phase interrupt line..

ARAL

Bit 29: Access to reserved address interrupt line..

ILE

Interrupt Line Enable

Offset: 0x5c, 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
EINT1
rw
EINT0
rw
Toggle Fields

EINT0

Bit 0: Enable interrupt line 0..

EINT1

Bit 1: Enable interrupt line 1..

GFC

Global Filter Configuration

Offset: 0x80, 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
ANFS
rw
ANFE
rw
RRFS
rw
RRFE
rw
Toggle Fields

RRFE

Bit 0: Reject remote frames extended..

RRFS

Bit 1: Reject remote frames standard..

ANFE

Bits 2-3: Accept non-matching frames extended..

ANFS

Bits 4-5: Accept non-matching frames standard..

SIDFC

Standard ID Filter Configuration

Offset: 0x84, 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
LSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLSSA
rw
Toggle Fields

FLSSA

Bits 2-15: Filter list standard start address..

LSS

Bits 16-23: List size standard 0 = No standard message ID filter..

XIDFC

Extended ID Filter Configuration

Offset: 0x88, 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
LSE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLESA
rw
Toggle Fields

FLESA

Bits 2-15: Filter list extended start address..

LSE

Bits 16-23: List size extended 0 = No extended message ID filter..

XIDAM

Extended ID AND Mask

Offset: 0x90, reset: 0x1FFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EIDM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EIDM
rw
Toggle Fields

EIDM

Bits 0-28: Extended ID mask..

HPMS

High Priority Message Status

Offset: 0x94, 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
FLST
r
FIDX
r
MSI
r
BIDX
r
Toggle Fields

BIDX

Bits 0-5: Buffer index..

MSI

Bits 6-7: Message storage indicator..

FIDX

Bits 8-14: Filter index..

FLST

Bit 15: Filter list..

NDAT1

New Data 1

Offset: 0x98, 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
ND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ND
rw
Toggle Fields

ND

Bits 0-31: New Data..

NDAT2

New Data 2

Offset: 0x9c, 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
ND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ND
rw
Toggle Fields

ND

Bits 0-31: New Data..

RXF0C

Rx FIFO 0 Configuration

Offset: 0xa0, 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
F0OM
rw
F0WM
rw
F0S
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0SA
rw
Toggle Fields

F0SA

Bits 2-15: Rx FIFO 0 start address..

F0S

Bits 16-22: Rx FIFO 0 size..

F0WM

Bits 24-30: Rx FIFO 0 watermark 0 = Watermark interrupt disabled..

F0OM

Bit 31: FIFO 0 operation mode..

RXF0S

Rx FIFO 0 Status

Offset: 0xa4, 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
RF0L
rw
F0F
rw
F0PI
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0GI
rw
F0FL
rw
Toggle Fields

F0FL

Bits 0-6: Rx FIFO 0 fill level..

F0GI

Bits 8-13: Rx FIFO 0 get index..

F0PI

Bits 16-21: Rx FIFO 0 put index..

F0F

Bit 24: Rx FIFO 0 full..

RF0L

Bit 25: Rx FIFO 0 message lost..

RXF0A

Rx FIFO 0 Acknowledge

Offset: 0xa8, 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
F0AI
rw
Toggle Fields

F0AI

Bits 0-5: Rx FIFO 0 acknowledge index..

RXBC

Rx Buffer Configuration

Offset: 0xac, 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
RBSA
rw
Toggle Fields

RBSA

Bits 2-15: Rx buffer start address..

RXF1C

Rx FIFO 1 Configuration

Offset: 0xb0, 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
F1OM
rw
F1WM
rw
F1S
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1SA
rw
Toggle Fields

F1SA

Bits 2-15: Rx FIFO 1 start address..

F1S

Bits 16-22: Rx FIFO 1 size 0 = No Rx FIFO 1..

F1WM

Bits 24-30: Rx FIFO 1 watermark 0 = Watermark interrupt disabled..

F1OM

Bit 31: FIFO 1 operation mode..

RXF1S

Rx FIFO 1 Status

Offset: 0xb4, reset: 0, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RF1L
r
F1F
r
F1PI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1GI
r
F1FL
r
Toggle Fields

F1FL

Bits 0-6: Rx FIFO 1 fill level..

F1GI

Bits 8-13: Rx FIFO 1 get index..

F1PI

Bits 16-21: Rx FIFO 1 put index..

F1F

Bit 24: Rx FIFO 1 full..

RF1L

Bit 25: Rx FIFO 1 message lost..

RXF1A

Rx FIFO 1 Acknowledge

Offset: 0xb8, 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
F1AI
rw
Toggle Fields

F1AI

Bits 0-5: Rx FIFO 1 acknowledge index..

RXESC

Rx Buffer and FIFO Element Size Configuration

Offset: 0xbc, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RBDS
rw
F1DS
rw
F0DS
rw
Toggle Fields

F0DS

Bits 0-2: Rx FIFO 0 data field size..

F1DS

Bits 4-6: Rx FIFO 1 data field size..

RBDS

Bits 8-10: ..

TXBC

Tx Buffer Configuration

Offset: 0xc0, 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
TFQM
rw
TFQS
rw
NDTB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TBSA
rw
Toggle Fields

TBSA

Bits 2-15: Tx buffers start address..

NDTB

Bits 16-21: Number of dedicated transmit buffers 0 = No dedicated Tx buffers..

TFQS

Bits 24-29: Transmit FIFO/queue size 0 = No tx FIFO/Queue..

TFQM

Bit 30: Tx FIFO/queue mode..

TXFQS

Tx FIFO/Queue Status

Offset: 0xc4, 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
TFQF
rw
TFQPI
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TFGI
rw
Toggle Fields

TFGI

Bits 8-12: Tx FIFO get index..

TFQPI

Bits 16-20: Tx FIFO/queue put index..

TFQF

Bit 21: Tx FIFO/queue full..

TXESC

Tx Buffer Element Size Configuration

Offset: 0xc8, 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
TBDS
rw
Toggle Fields

TBDS

Bits 0-2: Tx buffer data field size..

TXBRP

Tx Buffer Request Pending

Offset: 0xcc, 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
TRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRP
rw
Toggle Fields

TRP

Bits 0-31: Transmission request pending..

TXBAR

Tx Buffer Add Request

Offset: 0xd0, 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
AR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AR
rw
Toggle Fields

AR

Bits 0-31: Add request..

TXBCR

Tx Buffer Cancellation Request

Offset: 0xd4, 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
CR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CR
rw
Toggle Fields

CR

Bits 0-31: Cancellation request..

TXBTO

Tx Buffer Transmission Occurred

Offset: 0xd8, 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
TO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TO
rw
Toggle Fields

TO

Bits 0-31: Transmission occurred..

TXBCF

Tx Buffer Cancellation Finished

Offset: 0xdc, 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
TO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TO
rw
Toggle Fields

TO

Bits 0-31: Cancellation finished..

TXBTIE

Tx Buffer Transmission Interrupt Enable

Offset: 0xe0, 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
TIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIE
rw
Toggle Fields

TIE

Bits 0-31: Transmission interrupt enable..

TXBCIE

Tx Buffer Cancellation Finished Interrupt Enable

Offset: 0xe4, 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
CFIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CFIE
rw
Toggle Fields

CFIE

Bits 0-31: Cancellation finished interrupt enable..

TXEFC

Tx Event FIFO Configuration

Offset: 0xf0, 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
EFWM
rw
EFS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFSA
rw
Toggle Fields

EFSA

Bits 2-15: Event FIFO start address..

EFS

Bits 16-21: Event FIFO size 0 = Tx event FIFO disabled..

EFWM

Bits 24-29: Event FIFO watermark 0 = Watermark interrupt disabled..

TXEFS

Tx Event FIFO Status

Offset: 0xf4, reset: 0, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEFL
r
EFF
r
EFPI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFGI
r
EFFL
r
Toggle Fields

EFFL

Bits 0-5: Event FIFO fill level..

EFGI

Bits 8-12: Event FIFO get index..

EFPI

Bits 16-21: Event FIFO put index..

EFF

Bit 24: Event FIFO full..

TEFL

Bit 25: Tx event FIFO element lost..

TXEFA

Tx Event FIFO Acknowledge

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
EFAI
rw
Toggle Fields

EFAI

Bits 0-4: Event FIFO acknowledge index..

MRBA

CAN Message RAM Base Address

Offset: 0x200, 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
BA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

BA

Bits 16-31: Base address for the message RAM in the chip memory map..

ETSCC

External Timestamp Counter Configuration

Offset: 0x400, 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
ETCE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETCP
rw
Toggle Fields

ETCP

Bits 0-10: External timestamp prescaler value..

ETCE

Bit 31: External timestamp counter enable..

ETSCV

External Timestamp Counter Value

Offset: 0x600, 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
ETSC
rw
Toggle Fields

ETSC

Bits 0-15: External timestamp counter..

CAN1

0x4009e000: LPC5460x Controller Area Network Flexible Data

30/209 fields covered. Toggle Registers

Show register map

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
0xc DBTP
0x10 TEST
0x18 CCCR
0x1c NBTP
0x20 TSCC
0x24 TSCV
0x28 TOCC
0x2c TOCV
0x40 ECR
0x44 PSR
0x48 TDCR
0x50 IR
0x54 IE
0x58 ILS
0x5c ILE
0x80 GFC
0x84 SIDFC
0x88 XIDFC
0x90 XIDAM
0x94 HPMS
0x98 NDAT1
0x9c NDAT2
0xa0 RXF0C
0xa4 RXF0S
0xa8 RXF0A
0xac RXBC
0xb0 RXF1C
0xb4 RXF1S
0xb8 RXF1A
0xbc RXESC
0xc0 TXBC
0xc4 TXFQS
0xc8 TXESC
0xcc TXBRP
0xd0 TXBAR
0xd4 TXBCR
0xd8 TXBTO
0xdc TXBCF
0xe0 TXBTIE
0xe4 TXBCIE
0xf0 TXEFC
0xf4 TXEFS
0xf8 TXEFA
0x200 MRBA
0x400 ETSCC
0x600 ETSCV

DBTP

Data Bit Timing Prescaler Register

Offset: 0xc, reset: 0xA33, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDC
rw
DBRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTSEG1
rw
DTSEG2
rw
DSJW
rw
Toggle Fields

DSJW

Bits 0-3: Data (re)synchronization jump width..

DTSEG2

Bits 4-7: Data time segment after sample point..

DTSEG1

Bits 8-12: Data time segment before sample point..

DBRP

Bits 16-20: Data bit rate prescaler..

TDC

Bit 23: Transmitter delay compensation..

TEST

Test Register

Offset: 0x10, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RX
rw
TX
rw
LBCK
rw
Toggle Fields

LBCK

Bit 4: Loop back mode..

TX

Bits 5-6: Control of transmit pin..

RX

Bit 7: Monitors the actual value of the CAN_RXD..

CCCR

CC Control Register

Offset: 0x18, reset: 0x1, access: read-write

0/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
NISO
rw
TXP
rw
EFBI
rw
PXHD
rw
BRSE
rw
FDOE
rw
TEST
rw
DAR
rw
MON
rw
CSR
rw
CSA
rw
ASM
rw
CCE
rw
INIT
rw
Toggle Fields

INIT

Bit 0: Initialization..

CCE

Bit 1: Configuration change enable..

ASM

Bit 2: Restricted operational mode..

CSA

Bit 3: Clock Stop Acknowledge..

CSR

Bit 4: Clock Stop Request..

MON

Bit 5: Bus monitoring mode..

DAR

Bit 6: Disable automatic retransmission..

TEST

Bit 7: Test mode enable..

FDOE

Bit 8: CAN FD operation enable..

BRSE

Bit 9: When CAN FD operation is disabled, this bit is not evaluated..

PXHD

Bit 12: Protocol exception handling disable..

EFBI

Bit 13: Edge filtering during bus integration..

TXP

Bit 14: Transmit pause..

NISO

Bit 15: Non ISO operation..

NBTP

Nominal Bit Timing and Prescaler Register

Offset: 0x1c, reset: 0x6000A03, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NSJW
rw
NBRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NTSEG1
rw
NTSEG2
rw
Toggle Fields

NTSEG2

Bits 0-6: Nominal time segment after sample point..

NTSEG1

Bits 8-15: Nominal time segment before sample point..

NBRP

Bits 16-24: Nominal bit rate prescaler..

NSJW

Bits 25-31: Nominal (re)synchronization jump width..

TSCC

Timestamp Counter Configuration

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
TCP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSS
rw
Toggle Fields

TSS

Bits 0-1: Timestamp select..

TCP

Bits 16-19: Timestamp counter prescaler Configures the timestamp and timeout counters time unit in multiple of CAN bit times..

TSCV

Timestamp Counter Value

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
TSC
rw
Toggle Fields

TSC

Bits 0-15: Timestamp counter..

TOCC

Timeout Counter Configuration

Offset: 0x28, reset: 0xFFFF0000, access: read-write

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TOP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOS
rw
ETOC
rw
Toggle Fields

ETOC

Bit 0: Enable timeout counter..

TOS

Bits 1-2: Timeout select..

TOP

Bits 16-31: Timeout period..

TOCV

Timeout Counter Value

Offset: 0x2c, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOC
r
Toggle Fields

TOC

Bits 0-15: Timeout counter..

ECR

Error Counter Register

Offset: 0x40, 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
CEL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RP
r
REC
r
TEC
r
Toggle Fields

TEC

Bits 0-7: Transmit error counter..

REC

Bits 8-14: Receive error counter..

RP

Bit 15: Receive error passive..

CEL

Bits 16-23: CAN error logging..

PSR

Protocol Status Register

Offset: 0x44, reset: 0x707, access: read-only

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDCV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PXE
r
RFDF
r
RBRS
r
RESI
r
DLEC
r
BO
r
EW
r
EP
r
ACT
r
LEC
r
Toggle Fields

LEC

Bits 0-2: Last error code..

ACT

Bits 3-4: Activity..

EP

Bit 5: Error Passive..

EW

Bit 6: Warning status..

BO

Bit 7: Bus Off Status..

DLEC

Bits 8-10: Data phase last error code..

RESI

Bit 11: ESI flag of the last received CAN FD message..

RBRS

Bit 12: BRS flag of last received CAN FD message..

RFDF

Bit 13: Received a CAN FD message..

PXE

Bit 14: Protocol exception event..

TDCV

Bits 16-22: Transmitter delay compensation value..

TDCR

Transmitter Delay Compensator Register

Offset: 0x48, 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
TDCO
rw
TDCF
rw
Toggle Fields

TDCF

Bits 0-6: Transmitter delay compensation filter window length..

TDCO

Bits 8-14: Transmitter delay compensation offset..

IR

Interrupt Register

Offset: 0x50, reset: 0, access: read-write

0/30 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARA
rw
PED
rw
PEA
rw
WDI
rw
BO
rw
EW
rw
EP
rw
ELO
rw
BEU
rw
BEC
rw
DRX
rw
TOO
rw
MRAF
rw
TSW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEFL
rw
TEFF
rw
TEFW
rw
TEFN
rw
TFE
rw
TCF
rw
TC
rw
HPM
rw
RF1L
rw
RF1F
rw
RF1W
rw
RF1N
rw
RF0L
rw
RF0F
rw
RF0W
rw
RF0N
rw
Toggle Fields

RF0N

Bit 0: Rx FIFO 0 new message..

RF0W

Bit 1: Rx FIFO 0 watermark reached..

RF0F

Bit 2: Rx FIFO 0 full..

RF0L

Bit 3: Rx FIFO 0 message lost..

RF1N

Bit 4: Rx FIFO 1 new message..

RF1W

Bit 5: Rx FIFO 1 watermark reached..

RF1F

Bit 6: Rx FIFO 1 full..

RF1L

Bit 7: Rx FIFO 1 message lost..

HPM

Bit 8: High priority message..

TC

Bit 9: Transmission completed..

TCF

Bit 10: Transmission cancellation finished..

TFE

Bit 11: Tx FIFO empty..

TEFN

Bit 12: Tx event FIFO new entry..

TEFW

Bit 13: Tx event FIFO watermark reached..

TEFF

Bit 14: Tx event FIFO full..

TEFL

Bit 15: Tx event FIFO element lost..

TSW

Bit 16: Timestamp wraparound..

MRAF

Bit 17: Message RAM access failure..

TOO

Bit 18: Timeout occurred..

DRX

Bit 19: Message stored in dedicated Rx buffer..

BEC

Bit 20: Bit error corrected..

BEU

Bit 21: Bit error uncorrected..

ELO

Bit 22: Error logging overflow..

EP

Bit 23: Error passive..

EW

Bit 24: Warning status..

BO

Bit 25: Bus_Off Status..

WDI

Bit 26: Watchdog interrupt..

PEA

Bit 27: Protocol error in arbitration phase..

PED

Bit 28: Protocol error in data phase..

ARA

Bit 29: Access to reserved address..

IE

Interrupt Enable

Offset: 0x54, reset: 0, access: read-write

0/30 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARAE
rw
PEDE
rw
PEAE
rw
WDIE
rw
BOE
rw
EWE
rw
EPE
rw
ELOE
rw
BEUE
rw
BECE
rw
DRXE
rw
TOOE
rw
MRAFE
rw
TSWE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEFLE
rw
TEFFE
rw
TEFWE
rw
TEFNE
rw
TFEE
rw
TCFE
rw
TCE
rw
HPME
rw
RF1LE
rw
RF1FE
rw
RF1WE
rw
RF1NE
rw
RF0LE
rw
RF0FE
rw
RF0WE
rw
RF0NE
rw
Toggle Fields

RF0NE

Bit 0: Rx FIFO 0 new message interrupt enable..

RF0WE

Bit 1: Rx FIFO 0 watermark reached interrupt enable..

RF0FE

Bit 2: Rx FIFO 0 full interrupt enable..

RF0LE

Bit 3: Rx FIFO 0 message lost interrupt enable..

RF1NE

Bit 4: Rx FIFO 1 new message interrupt enable..

RF1WE

Bit 5: Rx FIFO 1 watermark reached interrupt enable..

RF1FE

Bit 6: Rx FIFO 1 full interrupt enable..

RF1LE

Bit 7: Rx FIFO 1 message lost interrupt enable..

HPME

Bit 8: High priority message interrupt enable..

TCE

Bit 9: Transmission completed interrupt enable..

TCFE

Bit 10: Transmission cancellation finished interrupt enable..

TFEE

Bit 11: Tx FIFO empty interrupt enable..

TEFNE

Bit 12: Tx event FIFO new entry interrupt enable..

TEFWE

Bit 13: Tx event FIFO watermark reached interrupt enable..

TEFFE

Bit 14: Tx event FIFO full interrupt enable..

TEFLE

Bit 15: Tx event FIFO element lost interrupt enable..

TSWE

Bit 16: Timestamp wraparound interrupt enable..

MRAFE

Bit 17: Message RAM access failure interrupt enable..

TOOE

Bit 18: Timeout occurred interrupt enable..

DRXE

Bit 19: Message stored in dedicated Rx buffer interrupt enable..

BECE

Bit 20: Bit error corrected interrupt enable..

BEUE

Bit 21: Bit error uncorrected interrupt enable..

ELOE

Bit 22: Error logging overflow interrupt enable..

EPE

Bit 23: Error passive interrupt enable..

EWE

Bit 24: Warning status interrupt enable..

BOE

Bit 25: Bus_Off Status interrupt enable..

WDIE

Bit 26: Watchdog interrupt enable..

PEAE

Bit 27: Protocol error in arbitration phase interrupt enable..

PEDE

Bit 28: Protocol error in data phase interrupt enable..

ARAE

Bit 29: Access to reserved address interrupt enable..

ILS

Interrupt Line Select

Offset: 0x58, reset: 0, access: read-write

0/30 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARAL
rw
PEDL
rw
PEAL
rw
WDIL
rw
BOL
rw
EWL
rw
EPL
rw
ELOL
rw
BEUL
rw
BECL
rw
DRXL
rw
TOOL
rw
MRAFL
rw
TSWL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEFLL
rw
TEFFL
rw
TEFWL
rw
TEFNL
rw
TFEL
rw
TCFL
rw
TCL
rw
HPML
rw
RF1LL
rw
RF1FL
rw
RF1WL
rw
RF1NL
rw
RF0LL
rw
RF0FL
rw
RF0WL
rw
RF0NL
rw
Toggle Fields

RF0NL

Bit 0: Rx FIFO 0 new message interrupt line..

RF0WL

Bit 1: Rx FIFO 0 watermark reached interrupt line..

RF0FL

Bit 2: Rx FIFO 0 full interrupt line..

RF0LL

Bit 3: Rx FIFO 0 message lost interrupt line..

RF1NL

Bit 4: Rx FIFO 1 new message interrupt line..

RF1WL

Bit 5: Rx FIFO 1 watermark reached interrupt line..

RF1FL

Bit 6: Rx FIFO 1 full interrupt line..

RF1LL

Bit 7: Rx FIFO 1 message lost interrupt line..

HPML

Bit 8: High priority message interrupt line..

TCL

Bit 9: Transmission completed interrupt line..

TCFL

Bit 10: Transmission cancellation finished interrupt line..

TFEL

Bit 11: Tx FIFO empty interrupt line..

TEFNL

Bit 12: Tx event FIFO new entry interrupt line..

TEFWL

Bit 13: Tx event FIFO watermark reached interrupt line..

TEFFL

Bit 14: Tx event FIFO full interrupt line..

TEFLL

Bit 15: Tx event FIFO element lost interrupt line..

TSWL

Bit 16: Timestamp wraparound interrupt line..

MRAFL

Bit 17: Message RAM access failure interrupt line..

TOOL

Bit 18: Timeout occurred interrupt line..

DRXL

Bit 19: Message stored in dedicated Rx buffer interrupt line..

BECL

Bit 20: Bit error corrected interrupt line..

BEUL

Bit 21: Bit error uncorrected interrupt line..

ELOL

Bit 22: Error logging overflow interrupt line..

EPL

Bit 23: Error passive interrupt line..

EWL

Bit 24: Warning status interrupt line..

BOL

Bit 25: Bus_Off Status interrupt line..

WDIL

Bit 26: Watchdog interrupt line..

PEAL

Bit 27: Protocol error in arbitration phase interrupt line..

PEDL

Bit 28: Protocol error in data phase interrupt line..

ARAL

Bit 29: Access to reserved address interrupt line..

ILE

Interrupt Line Enable

Offset: 0x5c, 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
EINT1
rw
EINT0
rw
Toggle Fields

EINT0

Bit 0: Enable interrupt line 0..

EINT1

Bit 1: Enable interrupt line 1..

GFC

Global Filter Configuration

Offset: 0x80, 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
ANFS
rw
ANFE
rw
RRFS
rw
RRFE
rw
Toggle Fields

RRFE

Bit 0: Reject remote frames extended..

RRFS

Bit 1: Reject remote frames standard..

ANFE

Bits 2-3: Accept non-matching frames extended..

ANFS

Bits 4-5: Accept non-matching frames standard..

SIDFC

Standard ID Filter Configuration

Offset: 0x84, 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
LSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLSSA
rw
Toggle Fields

FLSSA

Bits 2-15: Filter list standard start address..

LSS

Bits 16-23: List size standard 0 = No standard message ID filter..

XIDFC

Extended ID Filter Configuration

Offset: 0x88, 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
LSE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLESA
rw
Toggle Fields

FLESA

Bits 2-15: Filter list extended start address..

LSE

Bits 16-23: List size extended 0 = No extended message ID filter..

XIDAM

Extended ID AND Mask

Offset: 0x90, reset: 0x1FFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EIDM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EIDM
rw
Toggle Fields

EIDM

Bits 0-28: Extended ID mask..

HPMS

High Priority Message Status

Offset: 0x94, 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
FLST
r
FIDX
r
MSI
r
BIDX
r
Toggle Fields

BIDX

Bits 0-5: Buffer index..

MSI

Bits 6-7: Message storage indicator..

FIDX

Bits 8-14: Filter index..

FLST

Bit 15: Filter list..

NDAT1

New Data 1

Offset: 0x98, 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
ND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ND
rw
Toggle Fields

ND

Bits 0-31: New Data..

NDAT2

New Data 2

Offset: 0x9c, 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
ND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ND
rw
Toggle Fields

ND

Bits 0-31: New Data..

RXF0C

Rx FIFO 0 Configuration

Offset: 0xa0, 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
F0OM
rw
F0WM
rw
F0S
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0SA
rw
Toggle Fields

F0SA

Bits 2-15: Rx FIFO 0 start address..

F0S

Bits 16-22: Rx FIFO 0 size..

F0WM

Bits 24-30: Rx FIFO 0 watermark 0 = Watermark interrupt disabled..

F0OM

Bit 31: FIFO 0 operation mode..

RXF0S

Rx FIFO 0 Status

Offset: 0xa4, 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
RF0L
rw
F0F
rw
F0PI
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0GI
rw
F0FL
rw
Toggle Fields

F0FL

Bits 0-6: Rx FIFO 0 fill level..

F0GI

Bits 8-13: Rx FIFO 0 get index..

F0PI

Bits 16-21: Rx FIFO 0 put index..

F0F

Bit 24: Rx FIFO 0 full..

RF0L

Bit 25: Rx FIFO 0 message lost..

RXF0A

Rx FIFO 0 Acknowledge

Offset: 0xa8, 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
F0AI
rw
Toggle Fields

F0AI

Bits 0-5: Rx FIFO 0 acknowledge index..

RXBC

Rx Buffer Configuration

Offset: 0xac, 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
RBSA
rw
Toggle Fields

RBSA

Bits 2-15: Rx buffer start address..

RXF1C

Rx FIFO 1 Configuration

Offset: 0xb0, 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
F1OM
rw
F1WM
rw
F1S
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1SA
rw
Toggle Fields

F1SA

Bits 2-15: Rx FIFO 1 start address..

F1S

Bits 16-22: Rx FIFO 1 size 0 = No Rx FIFO 1..

F1WM

Bits 24-30: Rx FIFO 1 watermark 0 = Watermark interrupt disabled..

F1OM

Bit 31: FIFO 1 operation mode..

RXF1S

Rx FIFO 1 Status

Offset: 0xb4, reset: 0, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RF1L
r
F1F
r
F1PI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1GI
r
F1FL
r
Toggle Fields

F1FL

Bits 0-6: Rx FIFO 1 fill level..

F1GI

Bits 8-13: Rx FIFO 1 get index..

F1PI

Bits 16-21: Rx FIFO 1 put index..

F1F

Bit 24: Rx FIFO 1 full..

RF1L

Bit 25: Rx FIFO 1 message lost..

RXF1A

Rx FIFO 1 Acknowledge

Offset: 0xb8, 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
F1AI
rw
Toggle Fields

F1AI

Bits 0-5: Rx FIFO 1 acknowledge index..

RXESC

Rx Buffer and FIFO Element Size Configuration

Offset: 0xbc, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RBDS
rw
F1DS
rw
F0DS
rw
Toggle Fields

F0DS

Bits 0-2: Rx FIFO 0 data field size..

F1DS

Bits 4-6: Rx FIFO 1 data field size..

RBDS

Bits 8-10: ..

TXBC

Tx Buffer Configuration

Offset: 0xc0, 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
TFQM
rw
TFQS
rw
NDTB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TBSA
rw
Toggle Fields

TBSA

Bits 2-15: Tx buffers start address..

NDTB

Bits 16-21: Number of dedicated transmit buffers 0 = No dedicated Tx buffers..

TFQS

Bits 24-29: Transmit FIFO/queue size 0 = No tx FIFO/Queue..

TFQM

Bit 30: Tx FIFO/queue mode..

TXFQS

Tx FIFO/Queue Status

Offset: 0xc4, 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
TFQF
rw
TFQPI
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TFGI
rw
Toggle Fields

TFGI

Bits 8-12: Tx FIFO get index..

TFQPI

Bits 16-20: Tx FIFO/queue put index..

TFQF

Bit 21: Tx FIFO/queue full..

TXESC

Tx Buffer Element Size Configuration

Offset: 0xc8, 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
TBDS
rw
Toggle Fields

TBDS

Bits 0-2: Tx buffer data field size..

TXBRP

Tx Buffer Request Pending

Offset: 0xcc, 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
TRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRP
rw
Toggle Fields

TRP

Bits 0-31: Transmission request pending..

TXBAR

Tx Buffer Add Request

Offset: 0xd0, 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
AR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AR
rw
Toggle Fields

AR

Bits 0-31: Add request..

TXBCR

Tx Buffer Cancellation Request

Offset: 0xd4, 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
CR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CR
rw
Toggle Fields

CR

Bits 0-31: Cancellation request..

TXBTO

Tx Buffer Transmission Occurred

Offset: 0xd8, 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
TO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TO
rw
Toggle Fields

TO

Bits 0-31: Transmission occurred..

TXBCF

Tx Buffer Cancellation Finished

Offset: 0xdc, 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
TO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TO
rw
Toggle Fields

TO

Bits 0-31: Cancellation finished..

TXBTIE

Tx Buffer Transmission Interrupt Enable

Offset: 0xe0, 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
TIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIE
rw
Toggle Fields

TIE

Bits 0-31: Transmission interrupt enable..

TXBCIE

Tx Buffer Cancellation Finished Interrupt Enable

Offset: 0xe4, 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
CFIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CFIE
rw
Toggle Fields

CFIE

Bits 0-31: Cancellation finished interrupt enable..

TXEFC

Tx Event FIFO Configuration

Offset: 0xf0, 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
EFWM
rw
EFS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFSA
rw
Toggle Fields

EFSA

Bits 2-15: Event FIFO start address..

EFS

Bits 16-21: Event FIFO size 0 = Tx event FIFO disabled..

EFWM

Bits 24-29: Event FIFO watermark 0 = Watermark interrupt disabled..

TXEFS

Tx Event FIFO Status

Offset: 0xf4, reset: 0, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEFL
r
EFF
r
EFPI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFGI
r
EFFL
r
Toggle Fields

EFFL

Bits 0-5: Event FIFO fill level..

EFGI

Bits 8-12: Event FIFO get index..

EFPI

Bits 16-21: Event FIFO put index..

EFF

Bit 24: Event FIFO full..

TEFL

Bit 25: Tx event FIFO element lost..

TXEFA

Tx Event FIFO Acknowledge

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
EFAI
rw
Toggle Fields

EFAI

Bits 0-4: Event FIFO acknowledge index..

MRBA

CAN Message RAM Base Address

Offset: 0x200, 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
BA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

BA

Bits 16-31: Base address for the message RAM in the chip memory map..

ETSCC

External Timestamp Counter Configuration

Offset: 0x400, 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
ETCE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETCP
rw
Toggle Fields

ETCP

Bits 0-10: External timestamp prescaler value..

ETCE

Bit 31: External timestamp counter enable..

ETSCV

External Timestamp Counter Value

Offset: 0x600, 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
ETSC
rw
Toggle Fields

ETSC

Bits 0-15: External timestamp counter..

CRC_ENGINE

0x40095000: LPC5411x CRC engine

1/11 fields covered. Toggle Registers

Show register map

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 DATA
0x8 DATA16
0x8 DATA32
0x8 DATA8
0x8 SUM

MODE

CRC mode

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
Toggle Fields

CRC_POLY

Bits 0-1: CRC polynomial: 1X = CRC-32 polynomial 01 = CRC-16 polynomial 00 = CRC-CCITT polynomial.

BIT_RVS_WR

Bit 2: Data bit order: 1 = Bit order reverse for CRC_WR_DATA (per byte) 0 = No bit order reverse for CRC_WR_DATA (per byte).

CMPL_WR

Bit 3: Data complement: 1 = 1's complement for CRC_WR_DATA 0 = No 1's complement for CRC_WR_DATA.

BIT_RVS_SUM

Bit 4: CRC sum bit order: 1 = Bit order reverse for CRC_SUM 0 = No bit order reverse for CRC_SUM.

CMPL_SUM

Bit 5: CRC sum complement: 1 = 1's complement for CRC_SUM 0 = No 1's complement for CRC_SUM.

SEED

CRC seed

Offset: 0x4, reset: 65535, 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
Toggle Fields

CRC_SEED

Bits 0-31: A write access to this register will load CRC seed value to CRC_SUM register with selected bit order and 1's complement pre-processes. A write access to this register will overrule the CRC calculation in progresses..

DATA

Data written to this register will be taken to perform CRC calculation with selected bit order and 1’s complement pre-process. Any write size 8, 16 or 32-bit are allowed and accept back-to-back transactions.

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
Toggle Fields

CRC_WR_DATA

Bits 0-31: Data written to this register will be taken to perform CRC calculation with selected bit order and 1's complement pre-process. Any write size 8, 16 or 32-bit are allowed and accept back-to-back transactions..

DATA16

Data register - half-word sized

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
DATA16
w
Toggle Fields

DATA16

Bits 0-15: Data register bits.

DATA32

Data register - word sized

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
DATA32
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA32
w
Toggle Fields

DATA32

Bits 0-31: Data register bits.

DATA8

Data register - byte sized

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
DATA8
w
Toggle Fields

DATA8

Bits 0-7: Data register bits.

SUM

The most recent CRC sum can be read through this register with selected bit order and 1’s complement post-processes.

Offset: 0x8, reset: 65535, 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
Toggle Fields

CRC_SUM

Bits 0-31: The most recent CRC sum can be read through this register with selected bit order and 1's complement post-processes..

CTIMER0

0x40008000: LPC5411x Standard counter/timers (CTIMER0 to 4)

17/69 fields covered. Toggle Registers

Show register map

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 IR
0x4 TCR
0x8 TC
0xc PR
0x10 PC
0x14 MCR
0x18 MR[[0]]
0x1c MR[[1]]
0x20 MR[[2]]
0x24 MR[[3]]
0x28 CCR
0x2c CR[[0]]
0x30 CR[[1]]
0x34 CR[[2]]
0x38 CR[[3]]
0x3c EMR
0x70 CTCR
0x74 PWMC
0x78 MSR[[0]]
0x7c MSR[[1]]
0x80 MSR[[2]]
0x84 MSR[[3]]

IR

Interrupt Register. The IR can be written to clear interrupts. The IR can be read to identify which of eight possible interrupt sources are pending.

Offset: 0x0, reset: 0, access: read-write

0/8 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
CR3INT
rw
CR2INT
rw
CR1INT
rw
CR0INT
rw
MR3INT
rw
MR2INT
rw
MR1INT
rw
MR0INT
rw
Toggle Fields

MR0INT

Bit 0: Interrupt flag for match channel 0..

MR1INT

Bit 1: Interrupt flag for match channel 1..

MR2INT

Bit 2: Interrupt flag for match channel 2..

MR3INT

Bit 3: Interrupt flag for match channel 3..

CR0INT

Bit 4: Interrupt flag for capture channel 0 event..

CR1INT

Bit 5: Interrupt flag for capture channel 1 event..

CR2INT

Bit 6: Interrupt flag for capture channel 2 event..

CR3INT

Bit 7: Interrupt flag for capture channel 3 event..

TCR

Timer Control Register. The TCR is used to control the Timer Counter functions. The Timer Counter can be disabled or reset through the TCR.

Offset: 0x4, 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
CRST
rw
CEN
rw
Toggle Fields

CEN

Bit 0: Counter enable..

Allowed values:
0: DISABLED: Disabled.The counters are disabled.
0x1: ENABLED: Enabled. The Timer Counter and Prescale Counter are enabled.

CRST

Bit 1: Counter reset..

Allowed values:
0: DISABLED: Disabled. Do nothing.
0x1: ENABLED: Enabled. The Timer Counter and the Prescale Counter are synchronously reset on the next positive edge of the APB bus clock. The counters remain reset until TCR[1] is returned to zero.

TC

Timer Counter

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
TCVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCVAL
rw
Toggle Fields

TCVAL

Bits 0-31: Timer counter value..

PR

Prescale 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
PRVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRVAL
rw
Toggle Fields

PRVAL

Bits 0-31: Prescale counter value..

PC

Prescale Counter

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
PCVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PCVAL
rw
Toggle Fields

PCVAL

Bits 0-31: Prescale counter value..

MCR

Match Control Register

Offset: 0x14, reset: 0, access: read-write

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR3RL
rw
MR2RL
rw
MR1RL
rw
MR0RL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR3S
rw
MR3R
rw
MR3I
rw
MR2S
rw
MR2R
rw
MR2I
rw
MR1S
rw
MR1R
rw
MR1I
rw
MR0S
rw
MR0R
rw
MR0I
rw
Toggle Fields

MR0I

Bit 0: Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC..

MR0R

Bit 1: Reset on MR0: the TC will be reset if MR0 matches it..

MR0S

Bit 2: Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC..

MR1I

Bit 3: Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC..

MR1R

Bit 4: Reset on MR1: the TC will be reset if MR1 matches it..

MR1S

Bit 5: Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC..

MR2I

Bit 6: Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC..

MR2R

Bit 7: Reset on MR2: the TC will be reset if MR2 matches it..

MR2S

Bit 8: Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC..

MR3I

Bit 9: Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC..

MR3R

Bit 10: Reset on MR3: the TC will be reset if MR3 matches it..

MR3S

Bit 11: Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC..

MR0RL

Bit 24: Reload MR0 with the contents of the Match 0 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR1RL

Bit 25: Reload MR1 with the contents of the Match 1 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR2RL

Bit 26: Reload MR2 with the contents of the Match 2 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR3RL

Bit 27: Reload MR3 with the contents of the Match 3 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR[[0]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

Offset: 0x18, 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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[1]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[2]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[3]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

CCR

Capture Control Register. The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated when a capture takes place.

Offset: 0x28, reset: 0, access: read-write

0/12 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
CAP3I
rw
CAP3FE
rw
CAP3RE
rw
CAP2I
rw
CAP2FE
rw
CAP2RE
rw
CAP1I
rw
CAP1FE
rw
CAP1RE
rw
CAP0I
rw
CAP0FE
rw
CAP0RE
rw
Toggle Fields

CAP0RE

Bit 0: Rising edge of capture channel 0: a sequence of 0 then 1 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP0FE

Bit 1: Falling edge of capture channel 0: a sequence of 1 then 0 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP0I

Bit 2: Generate interrupt on channel 0 capture event: a CR0 load generates an interrupt..

CAP1RE

Bit 3: Rising edge of capture channel 1: a sequence of 0 then 1 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP1FE

Bit 4: Falling edge of capture channel 1: a sequence of 1 then 0 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP1I

Bit 5: Generate interrupt on channel 1 capture event: a CR1 load generates an interrupt..

CAP2RE

Bit 6: Rising edge of capture channel 2: a sequence of 0 then 1 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP2FE

Bit 7: Falling edge of capture channel 2: a sequence of 1 then 0 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP2I

Bit 8: Generate interrupt on channel 2 capture event: a CR2 load generates an interrupt..

CAP3RE

Bit 9: Rising edge of capture channel 3: a sequence of 0 then 1 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP3FE

Bit 10: Falling edge of capture channel 3: a sequence of 1 then 0 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP3I

Bit 11: Generate interrupt on channel 3 capture event: a CR3 load generates an interrupt..

CR[[0]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[1]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x30, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[2]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x34, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[3]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x38, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

EMR

External Match Register. The EMR controls the match function and the external match pins.

Offset: 0x3c, reset: 0, access: read-write

4/8 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
EMC3
rw
EMC2
rw
EMC1
rw
EMC0
rw
EM3
rw
EM2
rw
EM1
rw
EM0
rw
Toggle Fields

EM0

Bit 0: External Match 0. This bit reflects the state of output MAT0, whether or not this output is connected to a pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[5:4]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM1

Bit 1: External Match 1. This bit reflects the state of output MAT1, whether or not this output is connected to a pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[7:6]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM2

Bit 2: External Match 2. This bit reflects the state of output MAT2, whether or not this output is connected to a pin. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[9:8]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM3

Bit 3: External Match 3. This bit reflects the state of output MAT3, whether or not this output is connected to a pin. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by MR[11:10]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EMC0

Bits 4-5: External Match Control 0. Determines the functionality of External Match 0..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT0 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT0 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC1

Bits 6-7: External Match Control 1. Determines the functionality of External Match 1..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT1 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT1 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC2

Bits 8-9: External Match Control 2. Determines the functionality of External Match 2..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT2 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT2 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC3

Bits 10-11: External Match Control 3. Determines the functionality of External Match 3..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT3 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT3 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

CTCR

Count Control Register. The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting.

Offset: 0x70, 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
SELCC
rw
ENCC
rw
CINSEL
rw
CTMODE
rw
Toggle Fields

CTMODE

Bits 0-1: Counter/Timer Mode This field selects which rising APB bus clock edges can increment Timer's Prescale Counter (PC), or clear PC and increment Timer Counter (TC). Timer Mode: the TC is incremented when the Prescale Counter matches the Prescale Register..

Allowed values:
0: TIMER: Timer Mode. Incremented every rising APB bus clock edge.
0x1: COUNTER_RISING_EDGE: Counter Mode rising edge. TC is incremented on rising edges on the CAP input selected by bits 3:2.
0x2: COUNTER_FALLING_EDGE: Counter Mode falling edge. TC is incremented on falling edges on the CAP input selected by bits 3:2.
0x3: COUNTER_DUAL_EDGE: Counter Mode dual edge. TC is incremented on both edges on the CAP input selected by bits 3:2.

CINSEL

Bits 2-3: Count Input Select When bits 1:0 in this register are not 00, these bits select which CAP pin is sampled for clocking. Note: If Counter mode is selected for a particular CAPn input in the CTCR, the 3 bits for that input in the Capture Control Register (CCR) must be programmed as 000. However, capture and/or interrupt can be selected for the other 3 CAPn inputs in the same timer..

Allowed values:
0: CHANNEL_0: Channel 0. CAPn.0 for CTIMERn
0x1: CHANNEL_1: Channel 1. CAPn.1 for CTIMERn
0x2: CHANNEL_2: Channel 2. CAPn.2 for CTIMERn
0x3: CHANNEL_3: Channel 3. CAPn.3 for CTIMERn

ENCC

Bit 4: Setting this bit to 1 enables clearing of the timer and the prescaler when the capture-edge event specified in bits 7:5 occurs..

SELCC

Bits 5-7: Edge select. When bit 4 is 1, these bits select which capture input edge will cause the timer and prescaler to be cleared. These bits have no effect when bit 4 is low. Values 0x2 to 0x3 and 0x6 to 0x7 are reserved..

Allowed values:
0: CHANNEL_0_RISING: Channel 0 Rising Edge. Rising edge of the signal on capture channel 0 clears the timer (if bit 4 is set).
0x1: CHANNEL_0_FALLING: Channel 0 Falling Edge. Falling edge of the signal on capture channel 0 clears the timer (if bit 4 is set).
0x2: CHANNEL_1_RISING: Channel 1 Rising Edge. Rising edge of the signal on capture channel 1 clears the timer (if bit 4 is set).
0x3: CHANNEL_1_FALLING: Channel 1 Falling Edge. Falling edge of the signal on capture channel 1 clears the timer (if bit 4 is set).
0x4: CHANNEL_2_RISING: Channel 2 Rising Edge. Rising edge of the signal on capture channel 2 clears the timer (if bit 4 is set).
0x5: CHANNEL_2_FALLING: Channel 2 Falling Edge. Falling edge of the signal on capture channel 2 clears the timer (if bit 4 is set).

PWMC

PWM Control Register. The PWMCON enables PWM mode for the external match pins.

Offset: 0x74, 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
PWMEN3
rw
PWMEN2
rw
PWMEN1
rw
PWMEN0
rw
Toggle Fields

PWMEN0

Bit 0: PWM mode enable for channel0..

Allowed values:
0: MATCH: Match. CTIMERn_MAT0 is controlled by EM0.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT0.

PWMEN1

Bit 1: PWM mode enable for channel1..

Allowed values:
0: MATCH: Match. CTIMERn_MAT01 is controlled by EM1.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT1.

PWMEN2

Bit 2: PWM mode enable for channel2..

Allowed values:
0: MATCH: Match. CTIMERn_MAT2 is controlled by EM2.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT2.

PWMEN3

Bit 3: PWM mode enable for channel3. Note: It is recommended to use match channel 3 to set the PWM cycle..

Allowed values:
0: MATCH: Match. CTIMERn_MAT3 is controlled by EM3.
0x1: PWM: PWM. PWM mode is enabled for CT132Bn_MAT3.

MSR[[0]]

Match Shadow Register

Offset: 0x78, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[1]]

Match Shadow Register

Offset: 0x7c, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[2]]

Match Shadow Register

Offset: 0x80, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[3]]

Match Shadow Register

Offset: 0x84, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

CTIMER1

0x40009000: LPC5411x Standard counter/timers (CTIMER0 to 4)

17/69 fields covered. Toggle Registers

Show register map

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 IR
0x4 TCR
0x8 TC
0xc PR
0x10 PC
0x14 MCR
0x18 MR[[0]]
0x1c MR[[1]]
0x20 MR[[2]]
0x24 MR[[3]]
0x28 CCR
0x2c CR[[0]]
0x30 CR[[1]]
0x34 CR[[2]]
0x38 CR[[3]]
0x3c EMR
0x70 CTCR
0x74 PWMC
0x78 MSR[[0]]
0x7c MSR[[1]]
0x80 MSR[[2]]
0x84 MSR[[3]]

IR

Interrupt Register. The IR can be written to clear interrupts. The IR can be read to identify which of eight possible interrupt sources are pending.

Offset: 0x0, reset: 0, access: read-write

0/8 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
CR3INT
rw
CR2INT
rw
CR1INT
rw
CR0INT
rw
MR3INT
rw
MR2INT
rw
MR1INT
rw
MR0INT
rw
Toggle Fields

MR0INT

Bit 0: Interrupt flag for match channel 0..

MR1INT

Bit 1: Interrupt flag for match channel 1..

MR2INT

Bit 2: Interrupt flag for match channel 2..

MR3INT

Bit 3: Interrupt flag for match channel 3..

CR0INT

Bit 4: Interrupt flag for capture channel 0 event..

CR1INT

Bit 5: Interrupt flag for capture channel 1 event..

CR2INT

Bit 6: Interrupt flag for capture channel 2 event..

CR3INT

Bit 7: Interrupt flag for capture channel 3 event..

TCR

Timer Control Register. The TCR is used to control the Timer Counter functions. The Timer Counter can be disabled or reset through the TCR.

Offset: 0x4, 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
CRST
rw
CEN
rw
Toggle Fields

CEN

Bit 0: Counter enable..

Allowed values:
0: DISABLED: Disabled.The counters are disabled.
0x1: ENABLED: Enabled. The Timer Counter and Prescale Counter are enabled.

CRST

Bit 1: Counter reset..

Allowed values:
0: DISABLED: Disabled. Do nothing.
0x1: ENABLED: Enabled. The Timer Counter and the Prescale Counter are synchronously reset on the next positive edge of the APB bus clock. The counters remain reset until TCR[1] is returned to zero.

TC

Timer Counter

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
TCVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCVAL
rw
Toggle Fields

TCVAL

Bits 0-31: Timer counter value..

PR

Prescale 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
PRVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRVAL
rw
Toggle Fields

PRVAL

Bits 0-31: Prescale counter value..

PC

Prescale Counter

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
PCVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PCVAL
rw
Toggle Fields

PCVAL

Bits 0-31: Prescale counter value..

MCR

Match Control Register

Offset: 0x14, reset: 0, access: read-write

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR3RL
rw
MR2RL
rw
MR1RL
rw
MR0RL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR3S
rw
MR3R
rw
MR3I
rw
MR2S
rw
MR2R
rw
MR2I
rw
MR1S
rw
MR1R
rw
MR1I
rw
MR0S
rw
MR0R
rw
MR0I
rw
Toggle Fields

MR0I

Bit 0: Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC..

MR0R

Bit 1: Reset on MR0: the TC will be reset if MR0 matches it..

MR0S

Bit 2: Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC..

MR1I

Bit 3: Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC..

MR1R

Bit 4: Reset on MR1: the TC will be reset if MR1 matches it..

MR1S

Bit 5: Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC..

MR2I

Bit 6: Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC..

MR2R

Bit 7: Reset on MR2: the TC will be reset if MR2 matches it..

MR2S

Bit 8: Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC..

MR3I

Bit 9: Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC..

MR3R

Bit 10: Reset on MR3: the TC will be reset if MR3 matches it..

MR3S

Bit 11: Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC..

MR0RL

Bit 24: Reload MR0 with the contents of the Match 0 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR1RL

Bit 25: Reload MR1 with the contents of the Match 1 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR2RL

Bit 26: Reload MR2 with the contents of the Match 2 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR3RL

Bit 27: Reload MR3 with the contents of the Match 3 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR[[0]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

Offset: 0x18, 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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[1]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[2]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[3]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

CCR

Capture Control Register. The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated when a capture takes place.

Offset: 0x28, reset: 0, access: read-write

0/12 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
CAP3I
rw
CAP3FE
rw
CAP3RE
rw
CAP2I
rw
CAP2FE
rw
CAP2RE
rw
CAP1I
rw
CAP1FE
rw
CAP1RE
rw
CAP0I
rw
CAP0FE
rw
CAP0RE
rw
Toggle Fields

CAP0RE

Bit 0: Rising edge of capture channel 0: a sequence of 0 then 1 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP0FE

Bit 1: Falling edge of capture channel 0: a sequence of 1 then 0 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP0I

Bit 2: Generate interrupt on channel 0 capture event: a CR0 load generates an interrupt..

CAP1RE

Bit 3: Rising edge of capture channel 1: a sequence of 0 then 1 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP1FE

Bit 4: Falling edge of capture channel 1: a sequence of 1 then 0 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP1I

Bit 5: Generate interrupt on channel 1 capture event: a CR1 load generates an interrupt..

CAP2RE

Bit 6: Rising edge of capture channel 2: a sequence of 0 then 1 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP2FE

Bit 7: Falling edge of capture channel 2: a sequence of 1 then 0 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP2I

Bit 8: Generate interrupt on channel 2 capture event: a CR2 load generates an interrupt..

CAP3RE

Bit 9: Rising edge of capture channel 3: a sequence of 0 then 1 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP3FE

Bit 10: Falling edge of capture channel 3: a sequence of 1 then 0 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP3I

Bit 11: Generate interrupt on channel 3 capture event: a CR3 load generates an interrupt..

CR[[0]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[1]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x30, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[2]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x34, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[3]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x38, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

EMR

External Match Register. The EMR controls the match function and the external match pins.

Offset: 0x3c, reset: 0, access: read-write

4/8 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
EMC3
rw
EMC2
rw
EMC1
rw
EMC0
rw
EM3
rw
EM2
rw
EM1
rw
EM0
rw
Toggle Fields

EM0

Bit 0: External Match 0. This bit reflects the state of output MAT0, whether or not this output is connected to a pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[5:4]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM1

Bit 1: External Match 1. This bit reflects the state of output MAT1, whether or not this output is connected to a pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[7:6]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM2

Bit 2: External Match 2. This bit reflects the state of output MAT2, whether or not this output is connected to a pin. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[9:8]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM3

Bit 3: External Match 3. This bit reflects the state of output MAT3, whether or not this output is connected to a pin. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by MR[11:10]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EMC0

Bits 4-5: External Match Control 0. Determines the functionality of External Match 0..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT0 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT0 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC1

Bits 6-7: External Match Control 1. Determines the functionality of External Match 1..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT1 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT1 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC2

Bits 8-9: External Match Control 2. Determines the functionality of External Match 2..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT2 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT2 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC3

Bits 10-11: External Match Control 3. Determines the functionality of External Match 3..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT3 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT3 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

CTCR

Count Control Register. The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting.

Offset: 0x70, 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
SELCC
rw
ENCC
rw
CINSEL
rw
CTMODE
rw
Toggle Fields

CTMODE

Bits 0-1: Counter/Timer Mode This field selects which rising APB bus clock edges can increment Timer's Prescale Counter (PC), or clear PC and increment Timer Counter (TC). Timer Mode: the TC is incremented when the Prescale Counter matches the Prescale Register..

Allowed values:
0: TIMER: Timer Mode. Incremented every rising APB bus clock edge.
0x1: COUNTER_RISING_EDGE: Counter Mode rising edge. TC is incremented on rising edges on the CAP input selected by bits 3:2.
0x2: COUNTER_FALLING_EDGE: Counter Mode falling edge. TC is incremented on falling edges on the CAP input selected by bits 3:2.
0x3: COUNTER_DUAL_EDGE: Counter Mode dual edge. TC is incremented on both edges on the CAP input selected by bits 3:2.

CINSEL

Bits 2-3: Count Input Select When bits 1:0 in this register are not 00, these bits select which CAP pin is sampled for clocking. Note: If Counter mode is selected for a particular CAPn input in the CTCR, the 3 bits for that input in the Capture Control Register (CCR) must be programmed as 000. However, capture and/or interrupt can be selected for the other 3 CAPn inputs in the same timer..

Allowed values:
0: CHANNEL_0: Channel 0. CAPn.0 for CTIMERn
0x1: CHANNEL_1: Channel 1. CAPn.1 for CTIMERn
0x2: CHANNEL_2: Channel 2. CAPn.2 for CTIMERn
0x3: CHANNEL_3: Channel 3. CAPn.3 for CTIMERn

ENCC

Bit 4: Setting this bit to 1 enables clearing of the timer and the prescaler when the capture-edge event specified in bits 7:5 occurs..

SELCC

Bits 5-7: Edge select. When bit 4 is 1, these bits select which capture input edge will cause the timer and prescaler to be cleared. These bits have no effect when bit 4 is low. Values 0x2 to 0x3 and 0x6 to 0x7 are reserved..

Allowed values:
0: CHANNEL_0_RISING: Channel 0 Rising Edge. Rising edge of the signal on capture channel 0 clears the timer (if bit 4 is set).
0x1: CHANNEL_0_FALLING: Channel 0 Falling Edge. Falling edge of the signal on capture channel 0 clears the timer (if bit 4 is set).
0x2: CHANNEL_1_RISING: Channel 1 Rising Edge. Rising edge of the signal on capture channel 1 clears the timer (if bit 4 is set).
0x3: CHANNEL_1_FALLING: Channel 1 Falling Edge. Falling edge of the signal on capture channel 1 clears the timer (if bit 4 is set).
0x4: CHANNEL_2_RISING: Channel 2 Rising Edge. Rising edge of the signal on capture channel 2 clears the timer (if bit 4 is set).
0x5: CHANNEL_2_FALLING: Channel 2 Falling Edge. Falling edge of the signal on capture channel 2 clears the timer (if bit 4 is set).

PWMC

PWM Control Register. The PWMCON enables PWM mode for the external match pins.

Offset: 0x74, 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
PWMEN3
rw
PWMEN2
rw
PWMEN1
rw
PWMEN0
rw
Toggle Fields

PWMEN0

Bit 0: PWM mode enable for channel0..

Allowed values:
0: MATCH: Match. CTIMERn_MAT0 is controlled by EM0.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT0.

PWMEN1

Bit 1: PWM mode enable for channel1..

Allowed values:
0: MATCH: Match. CTIMERn_MAT01 is controlled by EM1.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT1.

PWMEN2

Bit 2: PWM mode enable for channel2..

Allowed values:
0: MATCH: Match. CTIMERn_MAT2 is controlled by EM2.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT2.

PWMEN3

Bit 3: PWM mode enable for channel3. Note: It is recommended to use match channel 3 to set the PWM cycle..

Allowed values:
0: MATCH: Match. CTIMERn_MAT3 is controlled by EM3.
0x1: PWM: PWM. PWM mode is enabled for CT132Bn_MAT3.

MSR[[0]]

Match Shadow Register

Offset: 0x78, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[1]]

Match Shadow Register

Offset: 0x7c, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[2]]

Match Shadow Register

Offset: 0x80, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[3]]

Match Shadow Register

Offset: 0x84, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

CTIMER2

0x40028000: LPC5411x Standard counter/timers (CTIMER0 to 4)

17/69 fields covered. Toggle Registers

Show register map

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 IR
0x4 TCR
0x8 TC
0xc PR
0x10 PC
0x14 MCR
0x18 MR[[0]]
0x1c MR[[1]]
0x20 MR[[2]]
0x24 MR[[3]]
0x28 CCR
0x2c CR[[0]]
0x30 CR[[1]]
0x34 CR[[2]]
0x38 CR[[3]]
0x3c EMR
0x70 CTCR
0x74 PWMC
0x78 MSR[[0]]
0x7c MSR[[1]]
0x80 MSR[[2]]
0x84 MSR[[3]]

IR

Interrupt Register. The IR can be written to clear interrupts. The IR can be read to identify which of eight possible interrupt sources are pending.

Offset: 0x0, reset: 0, access: read-write

0/8 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
CR3INT
rw
CR2INT
rw
CR1INT
rw
CR0INT
rw
MR3INT
rw
MR2INT
rw
MR1INT
rw
MR0INT
rw
Toggle Fields

MR0INT

Bit 0: Interrupt flag for match channel 0..

MR1INT

Bit 1: Interrupt flag for match channel 1..

MR2INT

Bit 2: Interrupt flag for match channel 2..

MR3INT

Bit 3: Interrupt flag for match channel 3..

CR0INT

Bit 4: Interrupt flag for capture channel 0 event..

CR1INT

Bit 5: Interrupt flag for capture channel 1 event..

CR2INT

Bit 6: Interrupt flag for capture channel 2 event..

CR3INT

Bit 7: Interrupt flag for capture channel 3 event..

TCR

Timer Control Register. The TCR is used to control the Timer Counter functions. The Timer Counter can be disabled or reset through the TCR.

Offset: 0x4, 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
CRST
rw
CEN
rw
Toggle Fields

CEN

Bit 0: Counter enable..

Allowed values:
0: DISABLED: Disabled.The counters are disabled.
0x1: ENABLED: Enabled. The Timer Counter and Prescale Counter are enabled.

CRST

Bit 1: Counter reset..

Allowed values:
0: DISABLED: Disabled. Do nothing.
0x1: ENABLED: Enabled. The Timer Counter and the Prescale Counter are synchronously reset on the next positive edge of the APB bus clock. The counters remain reset until TCR[1] is returned to zero.

TC

Timer Counter

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
TCVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCVAL
rw
Toggle Fields

TCVAL

Bits 0-31: Timer counter value..

PR

Prescale 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
PRVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRVAL
rw
Toggle Fields

PRVAL

Bits 0-31: Prescale counter value..

PC

Prescale Counter

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
PCVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PCVAL
rw
Toggle Fields

PCVAL

Bits 0-31: Prescale counter value..

MCR

Match Control Register

Offset: 0x14, reset: 0, access: read-write

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR3RL
rw
MR2RL
rw
MR1RL
rw
MR0RL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR3S
rw
MR3R
rw
MR3I
rw
MR2S
rw
MR2R
rw
MR2I
rw
MR1S
rw
MR1R
rw
MR1I
rw
MR0S
rw
MR0R
rw
MR0I
rw
Toggle Fields

MR0I

Bit 0: Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC..

MR0R

Bit 1: Reset on MR0: the TC will be reset if MR0 matches it..

MR0S

Bit 2: Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC..

MR1I

Bit 3: Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC..

MR1R

Bit 4: Reset on MR1: the TC will be reset if MR1 matches it..

MR1S

Bit 5: Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC..

MR2I

Bit 6: Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC..

MR2R

Bit 7: Reset on MR2: the TC will be reset if MR2 matches it..

MR2S

Bit 8: Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC..

MR3I

Bit 9: Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC..

MR3R

Bit 10: Reset on MR3: the TC will be reset if MR3 matches it..

MR3S

Bit 11: Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC..

MR0RL

Bit 24: Reload MR0 with the contents of the Match 0 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR1RL

Bit 25: Reload MR1 with the contents of the Match 1 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR2RL

Bit 26: Reload MR2 with the contents of the Match 2 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR3RL

Bit 27: Reload MR3 with the contents of the Match 3 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR[[0]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

Offset: 0x18, 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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[1]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[2]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[3]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

CCR

Capture Control Register. The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated when a capture takes place.

Offset: 0x28, reset: 0, access: read-write

0/12 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
CAP3I
rw
CAP3FE
rw
CAP3RE
rw
CAP2I
rw
CAP2FE
rw
CAP2RE
rw
CAP1I
rw
CAP1FE
rw
CAP1RE
rw
CAP0I
rw
CAP0FE
rw
CAP0RE
rw
Toggle Fields

CAP0RE

Bit 0: Rising edge of capture channel 0: a sequence of 0 then 1 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP0FE

Bit 1: Falling edge of capture channel 0: a sequence of 1 then 0 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP0I

Bit 2: Generate interrupt on channel 0 capture event: a CR0 load generates an interrupt..

CAP1RE

Bit 3: Rising edge of capture channel 1: a sequence of 0 then 1 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP1FE

Bit 4: Falling edge of capture channel 1: a sequence of 1 then 0 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP1I

Bit 5: Generate interrupt on channel 1 capture event: a CR1 load generates an interrupt..

CAP2RE

Bit 6: Rising edge of capture channel 2: a sequence of 0 then 1 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP2FE

Bit 7: Falling edge of capture channel 2: a sequence of 1 then 0 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP2I

Bit 8: Generate interrupt on channel 2 capture event: a CR2 load generates an interrupt..

CAP3RE

Bit 9: Rising edge of capture channel 3: a sequence of 0 then 1 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP3FE

Bit 10: Falling edge of capture channel 3: a sequence of 1 then 0 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP3I

Bit 11: Generate interrupt on channel 3 capture event: a CR3 load generates an interrupt..

CR[[0]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[1]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x30, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[2]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x34, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[3]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x38, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

EMR

External Match Register. The EMR controls the match function and the external match pins.

Offset: 0x3c, reset: 0, access: read-write

4/8 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
EMC3
rw
EMC2
rw
EMC1
rw
EMC0
rw
EM3
rw
EM2
rw
EM1
rw
EM0
rw
Toggle Fields

EM0

Bit 0: External Match 0. This bit reflects the state of output MAT0, whether or not this output is connected to a pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[5:4]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM1

Bit 1: External Match 1. This bit reflects the state of output MAT1, whether or not this output is connected to a pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[7:6]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM2

Bit 2: External Match 2. This bit reflects the state of output MAT2, whether or not this output is connected to a pin. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[9:8]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM3

Bit 3: External Match 3. This bit reflects the state of output MAT3, whether or not this output is connected to a pin. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by MR[11:10]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EMC0

Bits 4-5: External Match Control 0. Determines the functionality of External Match 0..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT0 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT0 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC1

Bits 6-7: External Match Control 1. Determines the functionality of External Match 1..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT1 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT1 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC2

Bits 8-9: External Match Control 2. Determines the functionality of External Match 2..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT2 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT2 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC3

Bits 10-11: External Match Control 3. Determines the functionality of External Match 3..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT3 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT3 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

CTCR

Count Control Register. The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting.

Offset: 0x70, 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
SELCC
rw
ENCC
rw
CINSEL
rw
CTMODE
rw
Toggle Fields

CTMODE

Bits 0-1: Counter/Timer Mode This field selects which rising APB bus clock edges can increment Timer's Prescale Counter (PC), or clear PC and increment Timer Counter (TC). Timer Mode: the TC is incremented when the Prescale Counter matches the Prescale Register..

Allowed values:
0: TIMER: Timer Mode. Incremented every rising APB bus clock edge.
0x1: COUNTER_RISING_EDGE: Counter Mode rising edge. TC is incremented on rising edges on the CAP input selected by bits 3:2.
0x2: COUNTER_FALLING_EDGE: Counter Mode falling edge. TC is incremented on falling edges on the CAP input selected by bits 3:2.
0x3: COUNTER_DUAL_EDGE: Counter Mode dual edge. TC is incremented on both edges on the CAP input selected by bits 3:2.

CINSEL

Bits 2-3: Count Input Select When bits 1:0 in this register are not 00, these bits select which CAP pin is sampled for clocking. Note: If Counter mode is selected for a particular CAPn input in the CTCR, the 3 bits for that input in the Capture Control Register (CCR) must be programmed as 000. However, capture and/or interrupt can be selected for the other 3 CAPn inputs in the same timer..

Allowed values:
0: CHANNEL_0: Channel 0. CAPn.0 for CTIMERn
0x1: CHANNEL_1: Channel 1. CAPn.1 for CTIMERn
0x2: CHANNEL_2: Channel 2. CAPn.2 for CTIMERn
0x3: CHANNEL_3: Channel 3. CAPn.3 for CTIMERn

ENCC

Bit 4: Setting this bit to 1 enables clearing of the timer and the prescaler when the capture-edge event specified in bits 7:5 occurs..

SELCC

Bits 5-7: Edge select. When bit 4 is 1, these bits select which capture input edge will cause the timer and prescaler to be cleared. These bits have no effect when bit 4 is low. Values 0x2 to 0x3 and 0x6 to 0x7 are reserved..

Allowed values:
0: CHANNEL_0_RISING: Channel 0 Rising Edge. Rising edge of the signal on capture channel 0 clears the timer (if bit 4 is set).
0x1: CHANNEL_0_FALLING: Channel 0 Falling Edge. Falling edge of the signal on capture channel 0 clears the timer (if bit 4 is set).
0x2: CHANNEL_1_RISING: Channel 1 Rising Edge. Rising edge of the signal on capture channel 1 clears the timer (if bit 4 is set).
0x3: CHANNEL_1_FALLING: Channel 1 Falling Edge. Falling edge of the signal on capture channel 1 clears the timer (if bit 4 is set).
0x4: CHANNEL_2_RISING: Channel 2 Rising Edge. Rising edge of the signal on capture channel 2 clears the timer (if bit 4 is set).
0x5: CHANNEL_2_FALLING: Channel 2 Falling Edge. Falling edge of the signal on capture channel 2 clears the timer (if bit 4 is set).

PWMC

PWM Control Register. The PWMCON enables PWM mode for the external match pins.

Offset: 0x74, 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
PWMEN3
rw
PWMEN2
rw
PWMEN1
rw
PWMEN0
rw
Toggle Fields

PWMEN0

Bit 0: PWM mode enable for channel0..

Allowed values:
0: MATCH: Match. CTIMERn_MAT0 is controlled by EM0.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT0.

PWMEN1

Bit 1: PWM mode enable for channel1..

Allowed values:
0: MATCH: Match. CTIMERn_MAT01 is controlled by EM1.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT1.

PWMEN2

Bit 2: PWM mode enable for channel2..

Allowed values:
0: MATCH: Match. CTIMERn_MAT2 is controlled by EM2.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT2.

PWMEN3

Bit 3: PWM mode enable for channel3. Note: It is recommended to use match channel 3 to set the PWM cycle..

Allowed values:
0: MATCH: Match. CTIMERn_MAT3 is controlled by EM3.
0x1: PWM: PWM. PWM mode is enabled for CT132Bn_MAT3.

MSR[[0]]

Match Shadow Register

Offset: 0x78, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[1]]

Match Shadow Register

Offset: 0x7c, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[2]]

Match Shadow Register

Offset: 0x80, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[3]]

Match Shadow Register

Offset: 0x84, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

CTIMER3

0x40048000: LPC5411x Standard counter/timers (CTIMER0 to 4)

17/69 fields covered. Toggle Registers

Show register map

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 IR
0x4 TCR
0x8 TC
0xc PR
0x10 PC
0x14 MCR
0x18 MR[[0]]
0x1c MR[[1]]
0x20 MR[[2]]
0x24 MR[[3]]
0x28 CCR
0x2c CR[[0]]
0x30 CR[[1]]
0x34 CR[[2]]
0x38 CR[[3]]
0x3c EMR
0x70 CTCR
0x74 PWMC
0x78 MSR[[0]]
0x7c MSR[[1]]
0x80 MSR[[2]]
0x84 MSR[[3]]

IR

Interrupt Register. The IR can be written to clear interrupts. The IR can be read to identify which of eight possible interrupt sources are pending.

Offset: 0x0, reset: 0, access: read-write

0/8 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
CR3INT
rw
CR2INT
rw
CR1INT
rw
CR0INT
rw
MR3INT
rw
MR2INT
rw
MR1INT
rw
MR0INT
rw
Toggle Fields

MR0INT

Bit 0: Interrupt flag for match channel 0..

MR1INT

Bit 1: Interrupt flag for match channel 1..

MR2INT

Bit 2: Interrupt flag for match channel 2..

MR3INT

Bit 3: Interrupt flag for match channel 3..

CR0INT

Bit 4: Interrupt flag for capture channel 0 event..

CR1INT

Bit 5: Interrupt flag for capture channel 1 event..

CR2INT

Bit 6: Interrupt flag for capture channel 2 event..

CR3INT

Bit 7: Interrupt flag for capture channel 3 event..

TCR

Timer Control Register. The TCR is used to control the Timer Counter functions. The Timer Counter can be disabled or reset through the TCR.

Offset: 0x4, 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
CRST
rw
CEN
rw
Toggle Fields

CEN

Bit 0: Counter enable..

Allowed values:
0: DISABLED: Disabled.The counters are disabled.
0x1: ENABLED: Enabled. The Timer Counter and Prescale Counter are enabled.

CRST

Bit 1: Counter reset..

Allowed values:
0: DISABLED: Disabled. Do nothing.
0x1: ENABLED: Enabled. The Timer Counter and the Prescale Counter are synchronously reset on the next positive edge of the APB bus clock. The counters remain reset until TCR[1] is returned to zero.

TC

Timer Counter

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
TCVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCVAL
rw
Toggle Fields

TCVAL

Bits 0-31: Timer counter value..

PR

Prescale 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
PRVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRVAL
rw
Toggle Fields

PRVAL

Bits 0-31: Prescale counter value..

PC

Prescale Counter

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
PCVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PCVAL
rw
Toggle Fields

PCVAL

Bits 0-31: Prescale counter value..

MCR

Match Control Register

Offset: 0x14, reset: 0, access: read-write

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR3RL
rw
MR2RL
rw
MR1RL
rw
MR0RL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR3S
rw
MR3R
rw
MR3I
rw
MR2S
rw
MR2R
rw
MR2I
rw
MR1S
rw
MR1R
rw
MR1I
rw
MR0S
rw
MR0R
rw
MR0I
rw
Toggle Fields

MR0I

Bit 0: Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC..

MR0R

Bit 1: Reset on MR0: the TC will be reset if MR0 matches it..

MR0S

Bit 2: Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC..

MR1I

Bit 3: Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC..

MR1R

Bit 4: Reset on MR1: the TC will be reset if MR1 matches it..

MR1S

Bit 5: Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC..

MR2I

Bit 6: Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC..

MR2R

Bit 7: Reset on MR2: the TC will be reset if MR2 matches it..

MR2S

Bit 8: Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC..

MR3I

Bit 9: Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC..

MR3R

Bit 10: Reset on MR3: the TC will be reset if MR3 matches it..

MR3S

Bit 11: Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC..

MR0RL

Bit 24: Reload MR0 with the contents of the Match 0 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR1RL

Bit 25: Reload MR1 with the contents of the Match 1 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR2RL

Bit 26: Reload MR2 with the contents of the Match 2 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR3RL

Bit 27: Reload MR3 with the contents of the Match 3 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR[[0]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

Offset: 0x18, 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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[1]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[2]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[3]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

CCR

Capture Control Register. The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated when a capture takes place.

Offset: 0x28, reset: 0, access: read-write

0/12 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
CAP3I
rw
CAP3FE
rw
CAP3RE
rw
CAP2I
rw
CAP2FE
rw
CAP2RE
rw
CAP1I
rw
CAP1FE
rw
CAP1RE
rw
CAP0I
rw
CAP0FE
rw
CAP0RE
rw
Toggle Fields

CAP0RE

Bit 0: Rising edge of capture channel 0: a sequence of 0 then 1 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP0FE

Bit 1: Falling edge of capture channel 0: a sequence of 1 then 0 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP0I

Bit 2: Generate interrupt on channel 0 capture event: a CR0 load generates an interrupt..

CAP1RE

Bit 3: Rising edge of capture channel 1: a sequence of 0 then 1 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP1FE

Bit 4: Falling edge of capture channel 1: a sequence of 1 then 0 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP1I

Bit 5: Generate interrupt on channel 1 capture event: a CR1 load generates an interrupt..

CAP2RE

Bit 6: Rising edge of capture channel 2: a sequence of 0 then 1 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP2FE

Bit 7: Falling edge of capture channel 2: a sequence of 1 then 0 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP2I

Bit 8: Generate interrupt on channel 2 capture event: a CR2 load generates an interrupt..

CAP3RE

Bit 9: Rising edge of capture channel 3: a sequence of 0 then 1 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP3FE

Bit 10: Falling edge of capture channel 3: a sequence of 1 then 0 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP3I

Bit 11: Generate interrupt on channel 3 capture event: a CR3 load generates an interrupt..

CR[[0]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[1]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x30, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[2]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x34, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[3]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x38, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

EMR

External Match Register. The EMR controls the match function and the external match pins.

Offset: 0x3c, reset: 0, access: read-write

4/8 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
EMC3
rw
EMC2
rw
EMC1
rw
EMC0
rw
EM3
rw
EM2
rw
EM1
rw
EM0
rw
Toggle Fields

EM0

Bit 0: External Match 0. This bit reflects the state of output MAT0, whether or not this output is connected to a pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[5:4]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM1

Bit 1: External Match 1. This bit reflects the state of output MAT1, whether or not this output is connected to a pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[7:6]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM2

Bit 2: External Match 2. This bit reflects the state of output MAT2, whether or not this output is connected to a pin. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[9:8]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM3

Bit 3: External Match 3. This bit reflects the state of output MAT3, whether or not this output is connected to a pin. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by MR[11:10]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EMC0

Bits 4-5: External Match Control 0. Determines the functionality of External Match 0..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT0 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT0 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC1

Bits 6-7: External Match Control 1. Determines the functionality of External Match 1..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT1 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT1 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC2

Bits 8-9: External Match Control 2. Determines the functionality of External Match 2..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT2 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT2 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC3

Bits 10-11: External Match Control 3. Determines the functionality of External Match 3..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT3 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT3 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

CTCR

Count Control Register. The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting.

Offset: 0x70, 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
SELCC
rw
ENCC
rw
CINSEL
rw
CTMODE
rw
Toggle Fields

CTMODE

Bits 0-1: Counter/Timer Mode This field selects which rising APB bus clock edges can increment Timer's Prescale Counter (PC), or clear PC and increment Timer Counter (TC). Timer Mode: the TC is incremented when the Prescale Counter matches the Prescale Register..

Allowed values:
0: TIMER: Timer Mode. Incremented every rising APB bus clock edge.
0x1: COUNTER_RISING_EDGE: Counter Mode rising edge. TC is incremented on rising edges on the CAP input selected by bits 3:2.
0x2: COUNTER_FALLING_EDGE: Counter Mode falling edge. TC is incremented on falling edges on the CAP input selected by bits 3:2.
0x3: COUNTER_DUAL_EDGE: Counter Mode dual edge. TC is incremented on both edges on the CAP input selected by bits 3:2.

CINSEL

Bits 2-3: Count Input Select When bits 1:0 in this register are not 00, these bits select which CAP pin is sampled for clocking. Note: If Counter mode is selected for a particular CAPn input in the CTCR, the 3 bits for that input in the Capture Control Register (CCR) must be programmed as 000. However, capture and/or interrupt can be selected for the other 3 CAPn inputs in the same timer..

Allowed values:
0: CHANNEL_0: Channel 0. CAPn.0 for CTIMERn
0x1: CHANNEL_1: Channel 1. CAPn.1 for CTIMERn
0x2: CHANNEL_2: Channel 2. CAPn.2 for CTIMERn
0x3: CHANNEL_3: Channel 3. CAPn.3 for CTIMERn

ENCC

Bit 4: Setting this bit to 1 enables clearing of the timer and the prescaler when the capture-edge event specified in bits 7:5 occurs..

SELCC

Bits 5-7: Edge select. When bit 4 is 1, these bits select which capture input edge will cause the timer and prescaler to be cleared. These bits have no effect when bit 4 is low. Values 0x2 to 0x3 and 0x6 to 0x7 are reserved..

Allowed values:
0: CHANNEL_0_RISING: Channel 0 Rising Edge. Rising edge of the signal on capture channel 0 clears the timer (if bit 4 is set).
0x1: CHANNEL_0_FALLING: Channel 0 Falling Edge. Falling edge of the signal on capture channel 0 clears the timer (if bit 4 is set).
0x2: CHANNEL_1_RISING: Channel 1 Rising Edge. Rising edge of the signal on capture channel 1 clears the timer (if bit 4 is set).
0x3: CHANNEL_1_FALLING: Channel 1 Falling Edge. Falling edge of the signal on capture channel 1 clears the timer (if bit 4 is set).
0x4: CHANNEL_2_RISING: Channel 2 Rising Edge. Rising edge of the signal on capture channel 2 clears the timer (if bit 4 is set).
0x5: CHANNEL_2_FALLING: Channel 2 Falling Edge. Falling edge of the signal on capture channel 2 clears the timer (if bit 4 is set).

PWMC

PWM Control Register. The PWMCON enables PWM mode for the external match pins.

Offset: 0x74, 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
PWMEN3
rw
PWMEN2
rw
PWMEN1
rw
PWMEN0
rw
Toggle Fields

PWMEN0

Bit 0: PWM mode enable for channel0..

Allowed values:
0: MATCH: Match. CTIMERn_MAT0 is controlled by EM0.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT0.

PWMEN1

Bit 1: PWM mode enable for channel1..

Allowed values:
0: MATCH: Match. CTIMERn_MAT01 is controlled by EM1.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT1.

PWMEN2

Bit 2: PWM mode enable for channel2..

Allowed values:
0: MATCH: Match. CTIMERn_MAT2 is controlled by EM2.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT2.

PWMEN3

Bit 3: PWM mode enable for channel3. Note: It is recommended to use match channel 3 to set the PWM cycle..

Allowed values:
0: MATCH: Match. CTIMERn_MAT3 is controlled by EM3.
0x1: PWM: PWM. PWM mode is enabled for CT132Bn_MAT3.

MSR[[0]]

Match Shadow Register

Offset: 0x78, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[1]]

Match Shadow Register

Offset: 0x7c, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[2]]

Match Shadow Register

Offset: 0x80, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[3]]

Match Shadow Register

Offset: 0x84, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

CTIMER4

0x40049000: LPC5411x Standard counter/timers (CTIMER0 to 4)

17/69 fields covered. Toggle Registers

Show register map

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 IR
0x4 TCR
0x8 TC
0xc PR
0x10 PC
0x14 MCR
0x18 MR[[0]]
0x1c MR[[1]]
0x20 MR[[2]]
0x24 MR[[3]]
0x28 CCR
0x2c CR[[0]]
0x30 CR[[1]]
0x34 CR[[2]]
0x38 CR[[3]]
0x3c EMR
0x70 CTCR
0x74 PWMC
0x78 MSR[[0]]
0x7c MSR[[1]]
0x80 MSR[[2]]
0x84 MSR[[3]]

IR

Interrupt Register. The IR can be written to clear interrupts. The IR can be read to identify which of eight possible interrupt sources are pending.

Offset: 0x0, reset: 0, access: read-write

0/8 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
CR3INT
rw
CR2INT
rw
CR1INT
rw
CR0INT
rw
MR3INT
rw
MR2INT
rw
MR1INT
rw
MR0INT
rw
Toggle Fields

MR0INT

Bit 0: Interrupt flag for match channel 0..

MR1INT

Bit 1: Interrupt flag for match channel 1..

MR2INT

Bit 2: Interrupt flag for match channel 2..

MR3INT

Bit 3: Interrupt flag for match channel 3..

CR0INT

Bit 4: Interrupt flag for capture channel 0 event..

CR1INT

Bit 5: Interrupt flag for capture channel 1 event..

CR2INT

Bit 6: Interrupt flag for capture channel 2 event..

CR3INT

Bit 7: Interrupt flag for capture channel 3 event..

TCR

Timer Control Register. The TCR is used to control the Timer Counter functions. The Timer Counter can be disabled or reset through the TCR.

Offset: 0x4, 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
CRST
rw
CEN
rw
Toggle Fields

CEN

Bit 0: Counter enable..

Allowed values:
0: DISABLED: Disabled.The counters are disabled.
0x1: ENABLED: Enabled. The Timer Counter and Prescale Counter are enabled.

CRST

Bit 1: Counter reset..

Allowed values:
0: DISABLED: Disabled. Do nothing.
0x1: ENABLED: Enabled. The Timer Counter and the Prescale Counter are synchronously reset on the next positive edge of the APB bus clock. The counters remain reset until TCR[1] is returned to zero.

TC

Timer Counter

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
TCVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCVAL
rw
Toggle Fields

TCVAL

Bits 0-31: Timer counter value..

PR

Prescale 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
PRVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRVAL
rw
Toggle Fields

PRVAL

Bits 0-31: Prescale counter value..

PC

Prescale Counter

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
PCVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PCVAL
rw
Toggle Fields

PCVAL

Bits 0-31: Prescale counter value..

MCR

Match Control Register

Offset: 0x14, reset: 0, access: read-write

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR3RL
rw
MR2RL
rw
MR1RL
rw
MR0RL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR3S
rw
MR3R
rw
MR3I
rw
MR2S
rw
MR2R
rw
MR2I
rw
MR1S
rw
MR1R
rw
MR1I
rw
MR0S
rw
MR0R
rw
MR0I
rw
Toggle Fields

MR0I

Bit 0: Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC..

MR0R

Bit 1: Reset on MR0: the TC will be reset if MR0 matches it..

MR0S

Bit 2: Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC..

MR1I

Bit 3: Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC..

MR1R

Bit 4: Reset on MR1: the TC will be reset if MR1 matches it..

MR1S

Bit 5: Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC..

MR2I

Bit 6: Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC..

MR2R

Bit 7: Reset on MR2: the TC will be reset if MR2 matches it..

MR2S

Bit 8: Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC..

MR3I

Bit 9: Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC..

MR3R

Bit 10: Reset on MR3: the TC will be reset if MR3 matches it..

MR3S

Bit 11: Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC..

MR0RL

Bit 24: Reload MR0 with the contents of the Match 0 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR1RL

Bit 25: Reload MR1 with the contents of the Match 1 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR2RL

Bit 26: Reload MR2 with the contents of the Match 2 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR3RL

Bit 27: Reload MR3 with the contents of the Match 3 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR)..

MR[[0]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

Offset: 0x18, 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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[1]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[2]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

MR[[3]]

Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.

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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle Fields

MATCH

Bits 0-31: Timer counter match value..

CCR

Capture Control Register. The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated when a capture takes place.

Offset: 0x28, reset: 0, access: read-write

0/12 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
CAP3I
rw
CAP3FE
rw
CAP3RE
rw
CAP2I
rw
CAP2FE
rw
CAP2RE
rw
CAP1I
rw
CAP1FE
rw
CAP1RE
rw
CAP0I
rw
CAP0FE
rw
CAP0RE
rw
Toggle Fields

CAP0RE

Bit 0: Rising edge of capture channel 0: a sequence of 0 then 1 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP0FE

Bit 1: Falling edge of capture channel 0: a sequence of 1 then 0 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP0I

Bit 2: Generate interrupt on channel 0 capture event: a CR0 load generates an interrupt..

CAP1RE

Bit 3: Rising edge of capture channel 1: a sequence of 0 then 1 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP1FE

Bit 4: Falling edge of capture channel 1: a sequence of 1 then 0 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP1I

Bit 5: Generate interrupt on channel 1 capture event: a CR1 load generates an interrupt..

CAP2RE

Bit 6: Rising edge of capture channel 2: a sequence of 0 then 1 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP2FE

Bit 7: Falling edge of capture channel 2: a sequence of 1 then 0 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP2I

Bit 8: Generate interrupt on channel 2 capture event: a CR2 load generates an interrupt..

CAP3RE

Bit 9: Rising edge of capture channel 3: a sequence of 0 then 1 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP3FE

Bit 10: Falling edge of capture channel 3: a sequence of 1 then 0 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled..

CAP3I

Bit 11: Generate interrupt on channel 3 capture event: a CR3 load generates an interrupt..

CR[[0]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[1]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x30, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[2]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x34, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

CR[[3]]

Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.

Offset: 0x38, 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
CAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP
r
Toggle Fields

CAP

Bits 0-31: Timer counter capture value..

EMR

External Match Register. The EMR controls the match function and the external match pins.

Offset: 0x3c, reset: 0, access: read-write

4/8 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
EMC3
rw
EMC2
rw
EMC1
rw
EMC0
rw
EM3
rw
EM2
rw
EM1
rw
EM0
rw
Toggle Fields

EM0

Bit 0: External Match 0. This bit reflects the state of output MAT0, whether or not this output is connected to a pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[5:4]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM1

Bit 1: External Match 1. This bit reflects the state of output MAT1, whether or not this output is connected to a pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[7:6]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM2

Bit 2: External Match 2. This bit reflects the state of output MAT2, whether or not this output is connected to a pin. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[9:8]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EM3

Bit 3: External Match 3. This bit reflects the state of output MAT3, whether or not this output is connected to a pin. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by MR[11:10]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH..

EMC0

Bits 4-5: External Match Control 0. Determines the functionality of External Match 0..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT0 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT0 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC1

Bits 6-7: External Match Control 1. Determines the functionality of External Match 1..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT1 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT1 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC2

Bits 8-9: External Match Control 2. Determines the functionality of External Match 2..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT2 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT2 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

EMC3

Bits 10-11: External Match Control 3. Determines the functionality of External Match 3..

Allowed values:
0: DO_NOTHING: Do Nothing.
0x1: CLEAR: Clear. Clear the corresponding External Match bit/output to 0 (MAT3 pin is LOW if pinned out).
0x2: SET: Set. Set the corresponding External Match bit/output to 1 (MAT3 pin is HIGH if pinned out).
0x3: TOGGLE: Toggle. Toggle the corresponding External Match bit/output.

CTCR

Count Control Register. The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting.

Offset: 0x70, 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
SELCC
rw
ENCC
rw
CINSEL
rw
CTMODE
rw
Toggle Fields

CTMODE

Bits 0-1: Counter/Timer Mode This field selects which rising APB bus clock edges can increment Timer's Prescale Counter (PC), or clear PC and increment Timer Counter (TC). Timer Mode: the TC is incremented when the Prescale Counter matches the Prescale Register..

Allowed values:
0: TIMER: Timer Mode. Incremented every rising APB bus clock edge.
0x1: COUNTER_RISING_EDGE: Counter Mode rising edge. TC is incremented on rising edges on the CAP input selected by bits 3:2.
0x2: COUNTER_FALLING_EDGE: Counter Mode falling edge. TC is incremented on falling edges on the CAP input selected by bits 3:2.
0x3: COUNTER_DUAL_EDGE: Counter Mode dual edge. TC is incremented on both edges on the CAP input selected by bits 3:2.

CINSEL

Bits 2-3: Count Input Select When bits 1:0 in this register are not 00, these bits select which CAP pin is sampled for clocking. Note: If Counter mode is selected for a particular CAPn input in the CTCR, the 3 bits for that input in the Capture Control Register (CCR) must be programmed as 000. However, capture and/or interrupt can be selected for the other 3 CAPn inputs in the same timer..

Allowed values:
0: CHANNEL_0: Channel 0. CAPn.0 for CTIMERn
0x1: CHANNEL_1: Channel 1. CAPn.1 for CTIMERn
0x2: CHANNEL_2: Channel 2. CAPn.2 for CTIMERn
0x3: CHANNEL_3: Channel 3. CAPn.3 for CTIMERn

ENCC

Bit 4: Setting this bit to 1 enables clearing of the timer and the prescaler when the capture-edge event specified in bits 7:5 occurs..

SELCC

Bits 5-7: Edge select. When bit 4 is 1, these bits select which capture input edge will cause the timer and prescaler to be cleared. These bits have no effect when bit 4 is low. Values 0x2 to 0x3 and 0x6 to 0x7 are reserved..

Allowed values:
0: CHANNEL_0_RISING: Channel 0 Rising Edge. Rising edge of the signal on capture channel 0 clears the timer (if bit 4 is set).
0x1: CHANNEL_0_FALLING: Channel 0 Falling Edge. Falling edge of the signal on capture channel 0 clears the timer (if bit 4 is set).
0x2: CHANNEL_1_RISING: Channel 1 Rising Edge. Rising edge of the signal on capture channel 1 clears the timer (if bit 4 is set).
0x3: CHANNEL_1_FALLING: Channel 1 Falling Edge. Falling edge of the signal on capture channel 1 clears the timer (if bit 4 is set).
0x4: CHANNEL_2_RISING: Channel 2 Rising Edge. Rising edge of the signal on capture channel 2 clears the timer (if bit 4 is set).
0x5: CHANNEL_2_FALLING: Channel 2 Falling Edge. Falling edge of the signal on capture channel 2 clears the timer (if bit 4 is set).

PWMC

PWM Control Register. The PWMCON enables PWM mode for the external match pins.

Offset: 0x74, 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
PWMEN3
rw
PWMEN2
rw
PWMEN1
rw
PWMEN0
rw
Toggle Fields

PWMEN0

Bit 0: PWM mode enable for channel0..

Allowed values:
0: MATCH: Match. CTIMERn_MAT0 is controlled by EM0.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT0.

PWMEN1

Bit 1: PWM mode enable for channel1..

Allowed values:
0: MATCH: Match. CTIMERn_MAT01 is controlled by EM1.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT1.

PWMEN2

Bit 2: PWM mode enable for channel2..

Allowed values:
0: MATCH: Match. CTIMERn_MAT2 is controlled by EM2.
0x1: PWM: PWM. PWM mode is enabled for CTIMERn_MAT2.

PWMEN3

Bit 3: PWM mode enable for channel3. Note: It is recommended to use match channel 3 to set the PWM cycle..

Allowed values:
0: MATCH: Match. CTIMERn_MAT3 is controlled by EM3.
0x1: PWM: PWM. PWM mode is enabled for CT132Bn_MAT3.

MSR[[0]]

Match Shadow Register

Offset: 0x78, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[1]]

Match Shadow Register

Offset: 0x7c, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[2]]

Match Shadow Register

Offset: 0x80, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

MSR[[3]]

Match Shadow Register

Offset: 0x84, 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
SHADOWW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SHADOWW
rw
Toggle Fields

SHADOWW

Bits 0-31: Timer counter match shadow value..

DMA0

0x40082000: LPC5411x DMA controller

545/646 fields covered. Toggle Registers

Show register map

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 INTSTAT
0x8 SRAMBASE
0x20 ENABLESET0
0x28 ENABLECLR0
0x30 ACTIVE0
0x38 BUSY0
0x40 ERRINT0
0x48 INTENSET0
0x50 INTENCLR0
0x58 INTA0
0x60 INTB0
0x68 SETVALID0
0x70 SETTRIG0
0x78 ABORT0
0x400 CFG [0]
0x404 CTLSTAT [0]
0x408 XFERCFG [0]
0x410 CFG [1]
0x414 CTLSTAT [1]
0x418 XFERCFG [1]
0x420 CFG [2]
0x424 CTLSTAT [2]
0x428 XFERCFG [2]
0x430 CFG [3]
0x434 CTLSTAT [3]
0x438 XFERCFG [3]
0x440 CFG [4]
0x444 CTLSTAT [4]
0x448 XFERCFG [4]
0x450 CFG [5]
0x454 CTLSTAT [5]
0x458 XFERCFG [5]
0x460 CFG [6]
0x464 CTLSTAT [6]
0x468 XFERCFG [6]
0x470 CFG [7]
0x474 CTLSTAT [7]
0x478 XFERCFG [7]
0x480 CFG [8]
0x484 CTLSTAT [8]
0x488 XFERCFG [8]
0x490 CFG [9]
0x494 CTLSTAT [9]
0x498 XFERCFG [9]
0x4a0 CFG [10]
0x4a4 CTLSTAT [10]
0x4a8 XFERCFG [10]
0x4b0 CFG [11]
0x4b4 CTLSTAT [11]
0x4b8 XFERCFG [11]
0x4c0 CFG [12]
0x4c4 CTLSTAT [12]
0x4c8 XFERCFG [12]
0x4d0 CFG [13]
0x4d4 CTLSTAT [13]
0x4d8 XFERCFG [13]
0x4e0 CFG [14]
0x4e4 CTLSTAT [14]
0x4e8 XFERCFG [14]
0x4f0 CFG [15]
0x4f4 CTLSTAT [15]
0x4f8 XFERCFG [15]
0x500 CFG [16]
0x504 CTLSTAT [16]
0x508 XFERCFG [16]
0x510 CFG [17]
0x514 CTLSTAT [17]
0x518 XFERCFG [17]
0x520 CFG [18]
0x524 CTLSTAT [18]
0x528 XFERCFG [18]
0x530 CFG [19]
0x534 CTLSTAT [19]
0x538 XFERCFG [19]
0x540 CFG [20]
0x544 CTLSTAT [20]
0x548 XFERCFG [20]
0x550 CFG [21]
0x554 CTLSTAT [21]
0x558 XFERCFG [21]
0x560 CFG [22]
0x564 CTLSTAT [22]
0x568 XFERCFG [22]
0x570 CFG [23]
0x574 CTLSTAT [23]
0x578 XFERCFG [23]
0x580 CFG [24]
0x584 CTLSTAT [24]
0x588 XFERCFG [24]
0x590 CFG [25]
0x594 CTLSTAT [25]
0x598 XFERCFG [25]
0x5a0 CFG [26]
0x5a4 CTLSTAT [26]
0x5a8 XFERCFG [26]
0x5b0 CFG [27]
0x5b4 CTLSTAT [27]
0x5b8 XFERCFG [27]
0x5c0 CFG [28]
0x5c4 CTLSTAT [28]
0x5c8 XFERCFG [28]
0x5d0 CFG [29]
0x5d4 CTLSTAT [29]
0x5d8 XFERCFG [29]

CTRL

DMA control.

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
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: DMA controller master enable..

Allowed values:
0: DISABLED: Disabled. The DMA controller is disabled. This clears any triggers that were asserted at the point when disabled, but does not prevent re-triggering when the DMA controller is re-enabled.
0x1: ENABLED: Enabled. The DMA controller is enabled.

INTSTAT

Interrupt status.

Offset: 0x4, reset: 0, access: read-only

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
ACTIVEERRINT
r
ACTIVEINT
r
Toggle Fields

ACTIVEINT

Bit 1: Summarizes whether any enabled interrupts (other than error interrupts) are pending..

Allowed values:
0: NOT_PENDING: Not pending. No enabled interrupts are pending.
0x1: PENDING: Pending. At least one enabled interrupt is pending.

ACTIVEERRINT

Bit 2: Summarizes whether any error interrupts are pending..

Allowed values:
0: NOT_PENDING: Not pending. No error interrupts are pending.
0x1: PENDING: Pending. At least one error interrupt is pending.

SRAMBASE

SRAM address of the channel configuration table.

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
OFFSET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle Fields

OFFSET

Bits 9-31: Address bits 31:9 of the beginning of the DMA descriptor table. For 18 channels, the table must begin on a 512 byte boundary..

ENABLESET0

Channel Enable read and Set for all DMA channels.

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
ENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ENA
rw
Toggle Fields

ENA

Bits 0-31: Enable for DMA channels. Bit n enables or disables DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = disabled. 1 = enabled..

ENABLECLR0

Channel Enable Clear for all DMA channels.

Offset: 0x28, 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
CLR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLR
w
Toggle Fields

CLR

Bits 0-31: Writing ones to this register clears the corresponding bits in ENABLESET0. Bit n clears the channel enable bit n. The number of bits = number of DMA channels in this device. Other bits are reserved..

ACTIVE0

Channel Active status for all DMA channels.

Offset: 0x30, 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
ACT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACT
r
Toggle Fields

ACT

Bits 0-31: Active flag for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = not active. 1 = active..

BUSY0

Channel Busy status for all DMA channels.

Offset: 0x38, 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
BSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BSY
r
Toggle Fields

BSY

Bits 0-31: Busy flag for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = not busy. 1 = busy..

ERRINT0

Error Interrupt status for all DMA channels.

Offset: 0x40, 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
ERR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ERR
rw
Toggle Fields

ERR

Bits 0-31: Error Interrupt flag for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = error interrupt is not active. 1 = error interrupt is active..

INTENSET0

Interrupt Enable read and Set for all DMA channels.

Offset: 0x48, 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
INTEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INTEN
rw
Toggle Fields

INTEN

Bits 0-31: Interrupt Enable read and set for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = interrupt for DMA channel is disabled. 1 = interrupt for DMA channel is enabled..

INTENCLR0

Interrupt Enable Clear for all DMA channels.

Offset: 0x50, 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
CLR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLR
w
Toggle Fields

CLR

Bits 0-31: Writing ones to this register clears corresponding bits in the INTENSET0. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved..

INTA0

Interrupt A status for all DMA channels.

Offset: 0x58, 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
IA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IA
rw
Toggle Fields

IA

Bits 0-31: Interrupt A status for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = the DMA channel interrupt A is not active. 1 = the DMA channel interrupt A is active..

INTB0

Interrupt B status for all DMA channels.

Offset: 0x60, 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
IB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IB
rw
Toggle Fields

IB

Bits 0-31: Interrupt B status for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = the DMA channel interrupt B is not active. 1 = the DMA channel interrupt B is active..

SETVALID0

Set ValidPending control bits for all DMA channels.

Offset: 0x68, 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
SV
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SV
w
Toggle Fields

SV

Bits 0-31: SETVALID control for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = no effect. 1 = sets the VALIDPENDING control bit for DMA channel n.

SETTRIG0

Set Trigger control bits for all DMA channels.

Offset: 0x70, 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
TRIG
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIG
w
Toggle Fields

TRIG

Bits 0-31: Set Trigger control bit for DMA channel 0. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = no effect. 1 = sets the TRIG bit for DMA channel n..

ABORT0

Channel Abort control for all DMA channels.

Offset: 0x78, 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
ABORTCTRL
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABORTCTRL
w
Toggle Fields

ABORTCTRL

Bits 0-31: Abort control for DMA channel 0. Bit n corresponds to DMA channel n. 0 = no effect. 1 = aborts DMA operations on channel n..

CFG [0]

Configuration register for DMA channel .

Offset: 0x400, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [0]

Control and status register for DMA channel .

Offset: 0x404, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [0]

Transfer configuration register for DMA channel .

Offset: 0x408, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [1]

Configuration register for DMA channel .

Offset: 0x410, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [1]

Control and status register for DMA channel .

Offset: 0x414, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [1]

Transfer configuration register for DMA channel .

Offset: 0x418, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [2]

Configuration register for DMA channel .

Offset: 0x420, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [2]

Control and status register for DMA channel .

Offset: 0x424, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [2]

Transfer configuration register for DMA channel .

Offset: 0x428, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [3]

Configuration register for DMA channel .

Offset: 0x430, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [3]

Control and status register for DMA channel .

Offset: 0x434, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [3]

Transfer configuration register for DMA channel .

Offset: 0x438, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [4]

Configuration register for DMA channel .

Offset: 0x440, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [4]

Control and status register for DMA channel .

Offset: 0x444, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [4]

Transfer configuration register for DMA channel .

Offset: 0x448, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [5]

Configuration register for DMA channel .

Offset: 0x450, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [5]

Control and status register for DMA channel .

Offset: 0x454, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [5]

Transfer configuration register for DMA channel .

Offset: 0x458, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [6]

Configuration register for DMA channel .

Offset: 0x460, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [6]

Control and status register for DMA channel .

Offset: 0x464, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [6]

Transfer configuration register for DMA channel .

Offset: 0x468, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [7]

Configuration register for DMA channel .

Offset: 0x470, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [7]

Control and status register for DMA channel .

Offset: 0x474, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [7]

Transfer configuration register for DMA channel .

Offset: 0x478, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [8]

Configuration register for DMA channel .

Offset: 0x480, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [8]

Control and status register for DMA channel .

Offset: 0x484, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [8]

Transfer configuration register for DMA channel .

Offset: 0x488, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [9]

Configuration register for DMA channel .

Offset: 0x490, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [9]

Control and status register for DMA channel .

Offset: 0x494, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [9]

Transfer configuration register for DMA channel .

Offset: 0x498, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [10]

Configuration register for DMA channel .

Offset: 0x4a0, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [10]

Control and status register for DMA channel .

Offset: 0x4a4, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [10]

Transfer configuration register for DMA channel .

Offset: 0x4a8, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [11]

Configuration register for DMA channel .

Offset: 0x4b0, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [11]

Control and status register for DMA channel .

Offset: 0x4b4, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [11]

Transfer configuration register for DMA channel .

Offset: 0x4b8, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [12]

Configuration register for DMA channel .

Offset: 0x4c0, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [12]

Control and status register for DMA channel .

Offset: 0x4c4, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [12]

Transfer configuration register for DMA channel .

Offset: 0x4c8, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [13]

Configuration register for DMA channel .

Offset: 0x4d0, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [13]

Control and status register for DMA channel .

Offset: 0x4d4, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [13]

Transfer configuration register for DMA channel .

Offset: 0x4d8, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [14]

Configuration register for DMA channel .

Offset: 0x4e0, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [14]

Control and status register for DMA channel .

Offset: 0x4e4, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [14]

Transfer configuration register for DMA channel .

Offset: 0x4e8, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [15]

Configuration register for DMA channel .

Offset: 0x4f0, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [15]

Control and status register for DMA channel .

Offset: 0x4f4, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [15]

Transfer configuration register for DMA channel .

Offset: 0x4f8, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [16]

Configuration register for DMA channel .

Offset: 0x500, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [16]

Control and status register for DMA channel .

Offset: 0x504, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [16]

Transfer configuration register for DMA channel .

Offset: 0x508, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [17]

Configuration register for DMA channel .

Offset: 0x510, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [17]

Control and status register for DMA channel .

Offset: 0x514, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [17]

Transfer configuration register for DMA channel .

Offset: 0x518, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [18]

Configuration register for DMA channel .

Offset: 0x520, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [18]

Control and status register for DMA channel .

Offset: 0x524, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [18]

Transfer configuration register for DMA channel .

Offset: 0x528, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [19]

Configuration register for DMA channel .

Offset: 0x530, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [19]

Control and status register for DMA channel .

Offset: 0x534, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [19]

Transfer configuration register for DMA channel .

Offset: 0x538, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [20]

Configuration register for DMA channel .

Offset: 0x540, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [20]

Control and status register for DMA channel .

Offset: 0x544, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [20]

Transfer configuration register for DMA channel .

Offset: 0x548, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [21]

Configuration register for DMA channel .

Offset: 0x550, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [21]

Control and status register for DMA channel .

Offset: 0x554, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [21]

Transfer configuration register for DMA channel .

Offset: 0x558, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [22]

Configuration register for DMA channel .

Offset: 0x560, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [22]

Control and status register for DMA channel .

Offset: 0x564, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [22]

Transfer configuration register for DMA channel .

Offset: 0x568, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [23]

Configuration register for DMA channel .

Offset: 0x570, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [23]

Control and status register for DMA channel .

Offset: 0x574, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [23]

Transfer configuration register for DMA channel .

Offset: 0x578, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [24]

Configuration register for DMA channel .

Offset: 0x580, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [24]

Control and status register for DMA channel .

Offset: 0x584, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [24]

Transfer configuration register for DMA channel .

Offset: 0x588, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [25]

Configuration register for DMA channel .

Offset: 0x590, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [25]

Control and status register for DMA channel .

Offset: 0x594, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [25]

Transfer configuration register for DMA channel .

Offset: 0x598, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [26]

Configuration register for DMA channel .

Offset: 0x5a0, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [26]

Control and status register for DMA channel .

Offset: 0x5a4, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [26]

Transfer configuration register for DMA channel .

Offset: 0x5a8, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [27]

Configuration register for DMA channel .

Offset: 0x5b0, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [27]

Control and status register for DMA channel .

Offset: 0x5b4, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [27]

Transfer configuration register for DMA channel .

Offset: 0x5b8, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [28]

Configuration register for DMA channel .

Offset: 0x5c0, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [28]

Control and status register for DMA channel .

Offset: 0x5c4, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [28]

Transfer configuration register for DMA channel .

Offset: 0x5c8, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

CFG [29]

Configuration register for DMA channel .

Offset: 0x5d0, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHPRIORITY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTBURSTWRAP
rw
SRCBURSTWRAP
rw
BURSTPOWER
rw
TRIGBURST
rw
TRIGTYPE
rw
TRIGPOL
rw
HWTRIGEN
rw
PERIPHREQEN
rw
Toggle Fields

PERIPHREQEN

Bit 0: Peripheral request Enable. If a DMA channel is used to perform a memory-to-memory move, any peripheral DMA request associated with that channel can be disabled to prevent any interaction between the peripheral and the DMA controller..

Allowed values:
0: DISABLED: Disabled. Peripheral DMA requests are disabled.
0x1: ENABLED: Enabled. Peripheral DMA requests are enabled.

HWTRIGEN

Bit 1: Hardware Triggering Enable for this channel..

Allowed values:
0: DISABLED: Disabled. Hardware triggering is not used.
0x1: ENABLED: Enabled. Use hardware triggering.

TRIGPOL

Bit 4: Trigger Polarity. Selects the polarity of a hardware trigger for this channel..

Allowed values:
0: ACTIVE_LOW_FALLING: Active low - falling edge. Hardware trigger is active low or falling edge triggered, based on TRIGTYPE.
0x1: ACTIVE_HIGH_RISING: Active high - rising edge. Hardware trigger is active high or rising edge triggered, based on TRIGTYPE.

TRIGTYPE

Bit 5: Trigger Type. Selects hardware trigger as edge triggered or level triggered..

Allowed values:
0: EDGE: Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
0x1: LEVEL: Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.

TRIGBURST

Bit 6: Trigger Burst. Selects whether hardware triggers cause a single or burst transfer..

Allowed values:
0: SINGLE: Single transfer. Hardware trigger causes a single transfer.
0x1: BURST: Burst transfer. When the trigger for this channel is set to edge triggered, a hardware trigger causes a burst transfer, as defined by BURSTPOWER. When the trigger for this channel is set to level triggered, a hardware trigger causes transfers to continue as long as the trigger is asserted, unless the transfer is complete.

BURSTPOWER

Bits 8-11: Burst Power is used in two ways. It always selects the address wrap size when SRCBURSTWRAP and/or DSTBURSTWRAP modes are selected (see descriptions elsewhere in this register). When the TRIGBURST field elsewhere in this register = 1, Burst Power selects how many transfers are performed for each DMA trigger. This can be used, for example, with peripherals that contain a FIFO that can initiate a DMA operation when the FIFO reaches a certain level. 0000: Burst size = 1 (20). 0001: Burst size = 2 (21). 0010: Burst size = 4 (22). 1010: Burst size = 1024 (210). This corresponds to the maximum supported transfer count. others: not supported. The total transfer length as defined in the XFERCOUNT bits in the XFERCFG register must be an even multiple of the burst size..

SRCBURSTWRAP

Bit 14: Source Burst Wrap. When enabled, the source data address for the DMA is 'wrapped', meaning that the source address range for each burst will be the same. As an example, this could be used to read several sequential registers from a peripheral for each DMA burst, reading the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Source burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Source burst wrapping is enabled for this DMA channel.

DSTBURSTWRAP

Bit 15: Destination Burst Wrap. When enabled, the destination data address for the DMA is 'wrapped', meaning that the destination address range for each burst will be the same. As an example, this could be used to write several sequential registers to a peripheral for each DMA burst, writing the same registers again for each burst..

Allowed values:
0: DISABLED: Disabled. Destination burst wrapping is not enabled for this DMA channel.
0x1: ENABLED: Enabled. Destination burst wrapping is enabled for this DMA channel.

CHPRIORITY

Bits 16-18: Priority of this channel when multiple DMA requests are pending. Eight priority levels are supported: 0x0 = highest priority. 0x7 = lowest priority..

CTLSTAT [29]

Control and status register for DMA channel .

Offset: 0x5d4, reset: 0, access: read-only

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
TRIG
r
VALIDPENDING
r
Toggle Fields

VALIDPENDING

Bit 0: Valid pending flag for this channel. This bit is set when a 1 is written to the corresponding bit in the related SETVALID register when CFGVALID = 1 for the same channel..

Allowed values:
0: NO_EFFECT: No effect. No effect on DMA operation.
0x1: VALID_PENDING: Valid pending.

TRIG

Bit 2: Trigger flag. Indicates that the trigger for this channel is currently set. This bit is cleared at the end of an entire transfer or upon reload when CLRTRIG = 1..

Allowed values:
0: NOT_TRIGGERED: Not triggered. The trigger for this DMA channel is not set. DMA operations will not be carried out.
0x1: TRIGGERED: Triggered. The trigger for this DMA channel is set. DMA operations will be carried out.

XFERCFG [29]

Transfer configuration register for DMA channel .

Offset: 0x5d8, reset: 0, access: read-write

9/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XFERCOUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSTINC
rw
SRCINC
rw
WIDTH
rw
SETINTB
rw
SETINTA
rw
CLRTRIG
rw
SWTRIG
rw
RELOAD
rw
CFGVALID
rw
Toggle Fields

CFGVALID

Bit 0: Configuration Valid flag. This bit indicates whether the current channel descriptor is valid and can potentially be acted upon, if all other activation criteria are fulfilled..

Allowed values:
0: NOT_VALID: Not valid. The channel descriptor is not considered valid until validated by an associated SETVALID0 setting.
0x1: VALID: Valid. The current channel descriptor is considered valid.

RELOAD

Bit 1: Indicates whether the channel's control structure will be reloaded when the current descriptor is exhausted. Reloading allows ping-pong and linked transfers..

Allowed values:
0: DISABLED: Disabled. Do not reload the channels' control structure when the current descriptor is exhausted.
0x1: ENABLED: Enabled. Reload the channels' control structure when the current descriptor is exhausted.

SWTRIG

Bit 2: Software Trigger..

Allowed values:
0: NOT_SET: Not set. When written by software, the trigger for this channel is not set. A new trigger, as defined by the HWTRIGEN, TRIGPOL, and TRIGTYPE will be needed to start the channel.
0x1: SET: Set. When written by software, the trigger for this channel is set immediately. This feature should not be used with level triggering when TRIGBURST = 0.

CLRTRIG

Bit 3: Clear Trigger..

Allowed values:
0: NOT_CLEARED: Not cleared. The trigger is not cleared when this descriptor is exhausted. If there is a reload, the next descriptor will be started.
0x1: CLEARED: Cleared. The trigger is cleared when this descriptor is exhausted

SETINTA

Bit 4: Set Interrupt flag A for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTA flag for this channel will be set when the current descriptor is exhausted.

SETINTB

Bit 5: Set Interrupt flag B for this channel. There is no hardware distinction between interrupt A and B. They can be used by software to assist with more complex descriptor usage. By convention, interrupt A may be used when only one interrupt flag is needed..

Allowed values:
0: NO_EFFECT: No effect.
0x1: SET: Set. The INTB flag for this channel will be set when the current descriptor is exhausted.

WIDTH

Bits 8-9: Transfer width used for this DMA channel..

Allowed values:
0: BIT_8: 8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).
0x1: BIT_16: 16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).
0x2: BIT_32: 32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

SRCINC

Bits 12-13: Determines whether the source address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
0x2: WIDTH_X_2: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

DSTINC

Bits 14-15: Determines whether the destination address is incremented for each DMA transfer..

Allowed values:
0: NO_INCREMENT: No increment. The destination address is not incremented for each transfer. This is the usual case when the destination is a peripheral device.
0x1: WIDTH_X_1: 1 x width. The destination address is incremented by the amount specified by Width for each transfer. This is the usual case when the destination is memory.
0x2: WIDTH_X_2: 2 x width. The destination address is incremented by 2 times the amount specified by Width for each transfer.
0x3: WIDTH_X_4: 4 x width. The destination address is incremented by 4 times the amount specified by Width for each transfer.

XFERCOUNT

Bits 16-25: Total number of transfers to be performed, minus 1 encoded. The number of bytes transferred is: (XFERCOUNT + 1) x data width (as defined by the WIDTH field). The DMA controller uses this bit field during transfer to count down. Hence, it cannot be used by software to read back the size of the transfer, for instance, in an interrupt handler. 0x0 = a total of 1 transfer will be performed. 0x1 = a total of 2 transfers will be performed. 0x3FF = a total of 1,024 transfers will be performed..

DMIC0

0x40090000: LPC5411x DMIC Subsystem (DMIC))

21/52 fields covered. Toggle Registers

Show register map

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 OSR [0]
0x4 DIVHFCLK [0]
0x8 PREAC2FSCOEF [0]
0xc PREAC4FSCOEF [0]
0x10 GAINSHIFT [0]
0x80 FIFO_CTRL [0]
0x84 FIFO_STATUS [0]
0x88 FIFO_DATA [0]
0x8c PHY_CTRL [0]
0x90 DC_CTRL [0]
0x100 OSR [1]
0x104 DIVHFCLK [1]
0x108 PREAC2FSCOEF [1]
0x10c PREAC4FSCOEF [1]
0x110 GAINSHIFT [1]
0x180 FIFO_CTRL [1]
0x184 FIFO_STATUS [1]
0x188 FIFO_DATA [1]
0x18c PHY_CTRL [1]
0x190 DC_CTRL [1]
0xf00 CHANEN
0xf0c IOCFG
0xf10 USE2FS
0xf80 HWVADGAIN
0xf84 HWVADHPFS
0xf88 HWVADST10
0xf8c HWVADRSTT
0xf90 HWVADTHGN
0xf94 HWVADTHGS
0xf98 HWVADLOWZ
0xffc ID

OSR [0]

Oversample Rate register 0

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
OSR
rw
Toggle Fields

OSR

Bits 0-7: Selects the oversample rate for the related input channel..

DIVHFCLK [0]

DMIC Clock Register 0

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
PDMDIV
rw
Toggle Fields

PDMDIV

Bits 0-3: PDM clock divider value. 0 = divide by 1 1 = divide by 2 2 = divide by 3 3 = divide by 4 4 = divide by 6 5 = divide by 8 6 = divide by 12 7 = divide by 16 8 = divide by 24 9 = divide by 32 10 = divide by 48 11 = divide by 64 12 = divide by 96 13 = divide by 128 others = reserved..

PREAC2FSCOEF [0]

Pre-Emphasis Filter Coefficient for 2 FS register

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
COMP
rw
Toggle Fields

COMP

Bits 0-1: Pre-emphasis filer coefficient for 2 FS mode. 0 = Compensation = 0 1 = Compensation = 16 2 = Compensation = 15 3 = Compensation = 13.

PREAC4FSCOEF [0]

Pre-Emphasis Filter Coefficient for 4 FS 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COMP
rw
Toggle Fields

COMP

Bits 0-1: Pre-emphasis filer coefficient for 4 FS mode. 0 = Compensation = 0 1 = Compensation = 16 2 = Compensation = 15 3 = Compensation = 13.

GAINSHIFT [0]

Decimator Gain Shift 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
GAIN
rw
Toggle Fields

GAIN

Bits 0-5: Gain control, as a positive or negative (two's complement) number of bits to shift..

FIFO_CTRL [0]

FIFO Control register 0

Offset: 0x80, 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
TRIGLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAEN
rw
INTEN
rw
RESETN
rw
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: FIFO enable..

Allowed values:
0: DISABLED: FIFO is not enabled. Enabling a DMIC channel with the FIFO disabled could be useful while data is being streamed to the I2S, or in order to avoid a filter settling delay when a channel is re-enabled after a period when the data was not needed.
0x1: ENABLED: FIFO is enabled. The FIFO must be enabled in order for the CPU or DMA to read data from the DMIC via the FIFODATA register.

RESETN

Bit 1: FIFO reset..

Allowed values:
0: RESET: Reset the FIFO.
0x1: NORMAL: Normal operation

INTEN

Bit 2: Interrupt enable..

Allowed values:
0: DISABLED: FIFO level interrupts are not enabled.
0x1: ENABLED: FIFO level interrupts are enabled.

DMAEN

Bit 3: DMA enable.

Allowed values:
0: DISABLED: DMA requests are not enabled.
0x1: ENABLED: DMA requests based on FIFO level are enabled.

TRIGLVL

Bits 16-20: FIFO trigger level. Selects the data trigger level for interrupt or DMA operation. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode See Section 4.5.66 'Hardware Wake-up control register'. 0 = trigger when the FIFO has received one entry (is no longer empty). 1 = trigger when the FIFO has received two entries. 15 = trigger when the FIFO has received 16 entries (has become full)..

FIFO_STATUS [0]

FIFO Status register 0

Offset: 0x84, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UNDERRUN
rw
OVERRUN
rw
INT
rw
Toggle Fields

INT

Bit 0: Interrupt flag. Asserted when FIFO data reaches the level specified in the FIFOCTRL register. Writing a one to this bit clears the flag. Remark: note that the bus clock to the DMIC subsystem must be running in order for an interrupt to occur..

OVERRUN

Bit 1: Overrun flag. Indicates that a FIFO overflow has occurred at some point. Writing a one to this bit clears the flag. This flag does not cause an interrupt..

UNDERRUN

Bit 2: Underrun flag. Indicates that a FIFO underflow has occurred at some point. Writing a one to this bit clears the flag..

FIFO_DATA [0]

FIFO Data Register 0

Offset: 0x88, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-23: Data from the top of the input filter FIFO..

PHY_CTRL [0]

PDM Source Configuration register 0

Offset: 0x8c, 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
PHY_HALF
rw
PHY_FALL
rw
Toggle Fields

PHY_FALL

Bit 0: Capture PDM_DATA.

Allowed values:
0: RISING_EDGE: Capture PDM_DATA on the rising edge of PDM_CLK.
0x1: FALLING_EDGE: Capture PDM_DATA on the falling edge of PDM_CLK.

PHY_HALF

Bit 1: Half rate sampling.

Allowed values:
0: STANDARD: Standard half rate sampling. The clock to the DMIC is sent at the same rate as the decimator is providing.
0x1: HALF_RATE: Use half rate sampling. The clock to the DMIC is sent at half the rate as the decimator is providing.

DC_CTRL [0]

DC Control register 0

Offset: 0x90, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SATURATEAT16BIT
rw
DCGAIN
rw
DCPOLE
rw
Toggle Fields

DCPOLE

Bits 0-1: DC block filter.

Allowed values:
0: FLAT_RESPONSE: Flat response, no filter.
0x1: HZ_155: 155 Hz.
0x2: HZ_78: 78 Hz.
0x3: HZ_39: 39 Hz

DCGAIN

Bits 4-7: Fine gain adjustment in the form of a number of bits to downshift..

SATURATEAT16BIT

Bit 8: Selects 16-bit saturation..

Allowed values:
0: DO_NOT_SATURATE: Results roll over if out range and do not saturate.
0x1: SATURATE: If the result overflows, it saturates at 0xFFFF for positive overflow and 0x8000 for negative overflow.

OSR [1]

Oversample Rate register 0

Offset: 0x100, 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
OSR
rw
Toggle Fields

OSR

Bits 0-7: Selects the oversample rate for the related input channel..

DIVHFCLK [1]

DMIC Clock Register 0

Offset: 0x104, 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
PDMDIV
rw
Toggle Fields

PDMDIV

Bits 0-3: PDM clock divider value. 0 = divide by 1 1 = divide by 2 2 = divide by 3 3 = divide by 4 4 = divide by 6 5 = divide by 8 6 = divide by 12 7 = divide by 16 8 = divide by 24 9 = divide by 32 10 = divide by 48 11 = divide by 64 12 = divide by 96 13 = divide by 128 others = reserved..

PREAC2FSCOEF [1]

Pre-Emphasis Filter Coefficient for 2 FS register

Offset: 0x108, 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
COMP
rw
Toggle Fields

COMP

Bits 0-1: Pre-emphasis filer coefficient for 2 FS mode. 0 = Compensation = 0 1 = Compensation = 16 2 = Compensation = 15 3 = Compensation = 13.

PREAC4FSCOEF [1]

Pre-Emphasis Filter Coefficient for 4 FS register

Offset: 0x10c, 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
COMP
rw
Toggle Fields

COMP

Bits 0-1: Pre-emphasis filer coefficient for 4 FS mode. 0 = Compensation = 0 1 = Compensation = 16 2 = Compensation = 15 3 = Compensation = 13.

GAINSHIFT [1]

Decimator Gain Shift register

Offset: 0x110, 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
GAIN
rw
Toggle Fields

GAIN

Bits 0-5: Gain control, as a positive or negative (two's complement) number of bits to shift..

FIFO_CTRL [1]

FIFO Control register 0

Offset: 0x180, 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
TRIGLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAEN
rw
INTEN
rw
RESETN
rw
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: FIFO enable..

Allowed values:
0: DISABLED: FIFO is not enabled. Enabling a DMIC channel with the FIFO disabled could be useful while data is being streamed to the I2S, or in order to avoid a filter settling delay when a channel is re-enabled after a period when the data was not needed.
0x1: ENABLED: FIFO is enabled. The FIFO must be enabled in order for the CPU or DMA to read data from the DMIC via the FIFODATA register.

RESETN

Bit 1: FIFO reset..

Allowed values:
0: RESET: Reset the FIFO.
0x1: NORMAL: Normal operation

INTEN

Bit 2: Interrupt enable..

Allowed values:
0: DISABLED: FIFO level interrupts are not enabled.
0x1: ENABLED: FIFO level interrupts are enabled.

DMAEN

Bit 3: DMA enable.

Allowed values:
0: DISABLED: DMA requests are not enabled.
0x1: ENABLED: DMA requests based on FIFO level are enabled.

TRIGLVL

Bits 16-20: FIFO trigger level. Selects the data trigger level for interrupt or DMA operation. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode See Section 4.5.66 'Hardware Wake-up control register'. 0 = trigger when the FIFO has received one entry (is no longer empty). 1 = trigger when the FIFO has received two entries. 15 = trigger when the FIFO has received 16 entries (has become full)..

FIFO_STATUS [1]

FIFO Status register 0

Offset: 0x184, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UNDERRUN
rw
OVERRUN
rw
INT
rw
Toggle Fields

INT

Bit 0: Interrupt flag. Asserted when FIFO data reaches the level specified in the FIFOCTRL register. Writing a one to this bit clears the flag. Remark: note that the bus clock to the DMIC subsystem must be running in order for an interrupt to occur..

OVERRUN

Bit 1: Overrun flag. Indicates that a FIFO overflow has occurred at some point. Writing a one to this bit clears the flag. This flag does not cause an interrupt..

UNDERRUN

Bit 2: Underrun flag. Indicates that a FIFO underflow has occurred at some point. Writing a one to this bit clears the flag..

FIFO_DATA [1]

FIFO Data Register 0

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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-23: Data from the top of the input filter FIFO..

PHY_CTRL [1]

PDM Source Configuration register 0

Offset: 0x18c, 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
PHY_HALF
rw
PHY_FALL
rw
Toggle Fields

PHY_FALL

Bit 0: Capture PDM_DATA.

Allowed values:
0: RISING_EDGE: Capture PDM_DATA on the rising edge of PDM_CLK.
0x1: FALLING_EDGE: Capture PDM_DATA on the falling edge of PDM_CLK.

PHY_HALF

Bit 1: Half rate sampling.

Allowed values:
0: STANDARD: Standard half rate sampling. The clock to the DMIC is sent at the same rate as the decimator is providing.
0x1: HALF_RATE: Use half rate sampling. The clock to the DMIC is sent at half the rate as the decimator is providing.

DC_CTRL [1]

DC Control register 0

Offset: 0x190, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SATURATEAT16BIT
rw
DCGAIN
rw
DCPOLE
rw
Toggle Fields

DCPOLE

Bits 0-1: DC block filter.

Allowed values:
0: FLAT_RESPONSE: Flat response, no filter.
0x1: HZ_155: 155 Hz.
0x2: HZ_78: 78 Hz.
0x3: HZ_39: 39 Hz

DCGAIN

Bits 4-7: Fine gain adjustment in the form of a number of bits to downshift..

SATURATEAT16BIT

Bit 8: Selects 16-bit saturation..

Allowed values:
0: DO_NOT_SATURATE: Results roll over if out range and do not saturate.
0x1: SATURATE: If the result overflows, it saturates at 0xFFFF for positive overflow and 0x8000 for negative overflow.

CHANEN

Channel Enable register

Offset: 0xf00, 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
EN_CH1
rw
EN_CH0
rw
Toggle Fields

EN_CH0

Bit 0: Enable channel 0. When 1, PDM channel 0 is enabled..

EN_CH1

Bit 1: Enable channel 1. When 1, PDM channel 1 is enabled..

IOCFG

I/O Configuration register

Offset: 0xf0c, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STEREO_DATA0
rw
CLK_BYPASS1
rw
CLK_BYPASS0
rw
Toggle Fields

CLK_BYPASS0

Bit 0: Bypass CLK0. When 1, PDM_DATA1 becomes the clock for PDM channel 0. This provides for the possibility of an external codec taking over the PDM bus..

CLK_BYPASS1

Bit 1: Bypass CLK1. When 1, PDM_DATA1 becomes the clock for PDM channel 1. This provides for the possibility of an external codec taking over the PDM bus..

STEREO_DATA0

Bit 2: Stereo PDM select. When 1, PDM_DATA0 is routed to both PDM channels in a configuration that supports a single stereo digital microphone..

USE2FS

Use 2FS register

Offset: 0xf10, 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
USE2FS
rw
Toggle Fields

USE2FS

Bit 0: Use 2FS register.

Allowed values:
0: USE_1FS: Use 1FS output for PCM data.
0x1: USE_2FS: Use 2FS output for PCM data.

HWVADGAIN

HWVAD input gain register

Offset: 0xf80, reset: 0x5, 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
INPUTGAIN
rw
Toggle Fields

INPUTGAIN

Bits 0-3: Shift value for input bits 0x00 -10 bits 0x01 -8 bits 0x02 -6 bits 0x03 -4 bits 0x04 -2 bits 0x05 0 bits (default) 0x06 +2 bits 0x07 +4 bits 0x08 +6 bits 0x09 +8 bits 0x0A +10 bits 0x0B +12 bits 0x0C +14 bits 0x0D to 0x0F Reserved..

HWVADHPFS

HWVAD filter control register

Offset: 0xf84, reset: 0x1, 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
HPFS
rw
Toggle Fields

HPFS

Bits 0-1: High pass filter.

Allowed values:
0: BYPASS: First filter by-pass.
0x1: HIGH_PASS_1750HZ: High pass filter with -3dB cut-off at 1750Hz.
0x2: HIGH_PASS_215HZ: High pass filter with -3dB cut-off at 215Hz.

HWVADST10

HWVAD control register

Offset: 0xf88, 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
ST10
rw
Toggle Fields

ST10

Bit 0: Stage 0.

Allowed values:
0: NORMAL: Normal operation, waiting for HWVAD trigger event (stage 0).
0x1: RESET: Reset internal interrupt flag by writing a '1' pulse.

HWVADRSTT

HWVAD filter reset register

Offset: 0xf8c, 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
RSTT
rw
Toggle Fields

RSTT

Bit 0: Writing a 1 resets all filter values.

HWVADTHGN

HWVAD noise estimator gain register

Offset: 0xf90, 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
THGN
rw
Toggle Fields

THGN

Bits 0-3: Gain value for the noise estimator. Values 0 to 14. 0 corresponds to a gain of 1..

HWVADTHGS

HWVAD signal estimator gain register

Offset: 0xf94, reset: 0x4, 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
THGS
rw
Toggle Fields

THGS

Bits 0-3: Gain value for the signal estimator. Values 0 to 14. 0 corresponds to a gain of 1..

HWVADLOWZ

HWVAD noise envelope estimator register

Offset: 0xf98, 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
LOWZ
r
Toggle Fields

LOWZ

Bits 0-15: Noise envelope estimator value..

ID

Module Identification register

Offset: 0xffc, reset: 0x2, access: read-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID
r
Toggle Fields

ID

Bits 0-31: Indicates module ID and the number of channels in this DMIC interface..

EEPROM

0x40014000: LPC5460x EEPROM controller

2/16 fields covered. Toggle Registers

Show register map

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 CMD
0x8 RWSTATE
0xc AUTOPROG
0x10 WSTATE
0x14 CLKDIV
0x18 PWRDWN
0xfd8 INTENCLR
0xfdc INTENSET
0xfe0 INTSTAT
0xfe4 INTEN
0xfe8 INTSTATCLR
0xfec INTSTATSET

CMD

EEPROM command 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
CMD
rw
Toggle Fields

CMD

Bits 0-2: Command..

RWSTATE

EEPROM read wait state register

Offset: 0x8, reset: 0xE07, 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
RPHASE1
rw
RPHASE2
rw
Toggle Fields

RPHASE2

Bits 0-7: Wait states 2 (minus 1 encoded)..

RPHASE1

Bits 8-15: Wait states 1 (minus 1 encoded)..

AUTOPROG

EEPROM auto programming 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AUTOPROG
rw
Toggle Fields

AUTOPROG

Bits 0-1: Auto programming mode: 00 = auto programming off 01 = erase/program cycle is triggered after 1 word is written 10 = erase/program cycle is triggered after a write to AHB address ending with ..

WSTATE

EEPROM wait state register

Offset: 0x10, reset: 0x40802, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCK_PARWEP
rw
PHASE1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PHASE2
rw
PHASE3
rw
Toggle Fields

PHASE3

Bits 0-7: Wait states for phase 3 (minus 1 encoded)..

PHASE2

Bits 8-15: Wait states for phase 2 (minus 1 encoded)..

PHASE1

Bits 16-23: Wait states for phase 1 (minus 1 encoded)..

LCK_PARWEP

Bit 31: Lock timing parameters for write, erase and program operation 0 = WSTATE and CLKDIV registers have R/W access 1 = WSTATE and CLKDIV registers have R only access..

CLKDIV

EEPROM clock divider register

Offset: 0x14, reset: 0x63, 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
CLKDIV
rw
Toggle Fields

CLKDIV

Bits 0-15: Division factor (minus 1 encoded)..

PWRDWN

EEPROM power-down register

Offset: 0x18, 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
PWRDWN
rw
Toggle Fields

PWRDWN

Bit 0: Power down mode bit..

INTENCLR

EEPROM interrupt enable clear

Offset: 0xfd8, 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
PROG_CLR_EN
w
Toggle Fields

PROG_CLR_EN

Bit 2: Clear program operation finished interrupt enable bit for EEPROM..

INTENSET

EEPROM interrupt enable set

Offset: 0xfdc, 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
PROG_SET_EN
w
Toggle Fields

PROG_SET_EN

Bit 2: Set program operation finished interrupt enable bit for EEPROM device 1..

INTSTAT

EEPROM interrupt status

Offset: 0xfe0, 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
END_OF_PROG
r
Toggle Fields

END_OF_PROG

Bit 2: EEPROM program operation finished interrupt status bit..

INTEN

EEPROM interrupt enable

Offset: 0xfe4, 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
EE_PROG_DONE
r
Toggle Fields

EE_PROG_DONE

Bit 2: EEPROM program operation finished interrupt enable bit..

INTSTATCLR

EEPROM interrupt status clear

Offset: 0xfe8, 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
PROG_CLR_ST
w
Toggle Fields

PROG_CLR_ST

Bit 2: Clear program operation finished interrupt status bit for EEPROM device..

INTSTATSET

EEPROM interrupt status set

Offset: 0xfec, 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
PROG_SET_ST
w
Toggle Fields

PROG_SET_ST

Bit 2: Set program operation finished interrupt status bit for EEPROM device..

EMC

0x40081000: LPC5460x External Memory Controller (EMC)

3/107 fields covered. Toggle Registers

Show register map

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 CONTROL
0x4 STATUS
0x8 CONFIG
0x20 DYNAMICCONTROL
0x24 DYNAMICREFRESH
0x28 DYNAMICREADCONFIG
0x30 DYNAMICRP
0x34 DYNAMICRAS
0x38 DYNAMICSREX
0x3c DYNAMICAPR
0x40 DYNAMICDAL
0x44 DYNAMICWR
0x48 DYNAMICRC
0x4c DYNAMICRFC
0x50 DYNAMICXSR
0x54 DYNAMICRRD
0x58 DYNAMICMRD
0x80 STATICEXTENDEDWAIT
0x100 DYNAMICCONFIG [0]
0x104 DYNAMICRASCAS [0]
0x120 DYNAMICCONFIG [1]
0x124 DYNAMICRASCAS [1]
0x140 DYNAMICCONFIG [2]
0x144 DYNAMICRASCAS [2]
0x160 DYNAMICCONFIG [3]
0x164 DYNAMICRASCAS [3]
0x200 STATICCONFIG [0]
0x204 STATICWAITWEN [0]
0x208 STATICWAITOEN [0]
0x20c STATICWAITRD [0]
0x210 STATICWAITPAGE [0]
0x214 STATICWAITWR [0]
0x218 STATICWAITTURN [0]
0x220 STATICCONFIG [1]
0x224 STATICWAITWEN [1]
0x228 STATICWAITOEN [1]
0x22c STATICWAITRD [1]
0x230 STATICWAITPAGE [1]
0x234 STATICWAITWR [1]
0x238 STATICWAITTURN [1]
0x240 STATICCONFIG [2]
0x244 STATICWAITWEN [2]
0x248 STATICWAITOEN [2]
0x24c STATICWAITRD [2]
0x250 STATICWAITPAGE [2]
0x254 STATICWAITWR [2]
0x258 STATICWAITTURN [2]
0x260 STATICCONFIG [3]
0x264 STATICWAITWEN [3]
0x268 STATICWAITOEN [3]
0x26c STATICWAITRD [3]
0x270 STATICWAITPAGE [3]
0x274 STATICWAITWR [3]
0x278 STATICWAITTURN [3]

CONTROL

Controls operation of the memory controller

Offset: 0x0, reset: 0x3, access: read-write

0/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
L
rw
M
rw
E
rw
Toggle Fields

E

Bit 0: EMC Enable..

M

Bit 1: Address mirror..

L

Bit 2: Low-power mode..

STATUS

Provides EMC status information

Offset: 0x4, reset: 0x5, access: read-only

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
SA
r
S
r
B
r
Toggle Fields

B

Bit 0: Busy..

S

Bit 1: Write buffer status..

SA

Bit 2: Self-refresh acknowledge..

CONFIG

Configures operation of the memory controller

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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLKR
rw
EM
rw
Toggle Fields

EM

Bit 0: Endian mode..

CLKR

Bit 8: This bit must contain 0 for proper operation of the EMC..

DYNAMICCONTROL

Controls dynamic memory operation

Offset: 0x20, reset: 0x6, 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
I
rw
MMC
rw
SR
rw
CS
rw
CE
rw
Toggle Fields

CE

Bit 0: Dynamic memory clock enable..

CS

Bit 1: Dynamic memory clock control..

SR

Bit 2: Self-refresh request, EMCSREFREQ..

MMC

Bit 5: Memory clock control..

I

Bits 7-8: SDRAM initialization..

DYNAMICREFRESH

Configures dynamic memory refresh

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
REFRESH
rw
Toggle Fields

REFRESH

Bits 0-10: Refresh timer..

DYNAMICREADCONFIG

Configures dynamic memory read strategy

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
RD
rw
Toggle Fields

RD

Bits 0-1: Read data strategy..

DYNAMICRP

Precharge command period

Offset: 0x30, reset: 0xF, 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
TRP
rw
Toggle Fields

TRP

Bits 0-3: Precharge command period..

DYNAMICRAS

Active to precharge command period

Offset: 0x34, reset: 0xF, 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
TRAS
rw
Toggle Fields

TRAS

Bits 0-3: Active to precharge command period..

DYNAMICSREX

Self-refresh exit time

Offset: 0x38, reset: 0xF, 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
TSREX
rw
Toggle Fields

TSREX

Bits 0-3: Self-refresh exit time..

DYNAMICAPR

Last-data-out to active command time

Offset: 0x3c, reset: 0xF, 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
TAPR
rw
Toggle Fields

TAPR

Bits 0-3: Last-data-out to active command time..

DYNAMICDAL

Data-in to active command time

Offset: 0x40, reset: 0xF, 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
TDAL
rw
Toggle Fields

TDAL

Bits 0-3: Data-in to active command..

DYNAMICWR

Write recovery time

Offset: 0x44, reset: 0xF, 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
TWR
rw
Toggle Fields

TWR

Bits 0-3: Write recovery time..

DYNAMICRC

Selects the active to active command period

Offset: 0x48, reset: 0x1F, 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
TRC
rw
Toggle Fields

TRC

Bits 0-4: Active to active command period..

DYNAMICRFC

Selects the auto-refresh period

Offset: 0x4c, reset: 0x1F, 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
TRFC
rw
Toggle Fields

TRFC

Bits 0-4: Auto-refresh period and auto-refresh to active command period..

DYNAMICXSR

Time for exit self-refresh to active command

Offset: 0x50, reset: 0x1F, 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
TXSR
rw
Toggle Fields

TXSR

Bits 0-4: Exit self-refresh to active command time..

DYNAMICRRD

Latency for active bank A to active bank B

Offset: 0x54, reset: 0xF, 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
TRRD
rw
Toggle Fields

TRRD

Bits 0-3: Active bank A to active bank B latency 0x0 - 0xE = n + 1 clock cycles..

DYNAMICMRD

Time for load mode register to active command

Offset: 0x58, reset: 0xF, 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
TMRD
rw
Toggle Fields

TMRD

Bits 0-3: Load mode register to active command time..

STATICEXTENDEDWAIT

Time for long static memory read and write transfers

Offset: 0x80, 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
EXTENDEDWAIT
rw
Toggle Fields

EXTENDEDWAIT

Bits 0-9: Extended wait time out..

DYNAMICCONFIG [0]

Configuration information for EMC_DYCSx

Offset: 0x100, 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
P
rw
B
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AM1
rw
AM0
rw
MD
rw
Toggle Fields

MD

Bits 3-4: Memory device..

AM0

Bits 7-12: See Table 933..

AM1

Bit 14: See Table 933..

B

Bit 19: Buffer enable..

P

Bit 20: Write protect..

DYNAMICRASCAS [0]

RAS and CAS latencies for EMC_DYCSx

Offset: 0x104, reset: 0x303, 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
CAS
rw
RAS
rw
Toggle Fields

RAS

Bits 0-1: RAS latency (active to read/write delay)..

CAS

Bits 8-9: CAS latency..

DYNAMICCONFIG [1]

Configuration information for EMC_DYCSx

Offset: 0x120, 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
P
rw
B
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AM1
rw
AM0
rw
MD
rw
Toggle Fields

MD

Bits 3-4: Memory device..

AM0

Bits 7-12: See Table 933..

AM1

Bit 14: See Table 933..

B

Bit 19: Buffer enable..

P

Bit 20: Write protect..

DYNAMICRASCAS [1]

RAS and CAS latencies for EMC_DYCSx

Offset: 0x124, reset: 0x303, 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
CAS
rw
RAS
rw
Toggle Fields

RAS

Bits 0-1: RAS latency (active to read/write delay)..

CAS

Bits 8-9: CAS latency..

DYNAMICCONFIG [2]

Configuration information for EMC_DYCSx

Offset: 0x140, 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
P
rw
B
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AM1
rw
AM0
rw
MD
rw
Toggle Fields

MD

Bits 3-4: Memory device..

AM0

Bits 7-12: See Table 933..

AM1

Bit 14: See Table 933..

B

Bit 19: Buffer enable..

P

Bit 20: Write protect..

DYNAMICRASCAS [2]

RAS and CAS latencies for EMC_DYCSx

Offset: 0x144, reset: 0x303, 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
CAS
rw
RAS
rw
Toggle Fields

RAS

Bits 0-1: RAS latency (active to read/write delay)..

CAS

Bits 8-9: CAS latency..

DYNAMICCONFIG [3]

Configuration information for EMC_DYCSx

Offset: 0x160, 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
P
rw
B
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AM1
rw
AM0
rw
MD
rw
Toggle Fields

MD

Bits 3-4: Memory device..

AM0

Bits 7-12: See Table 933..

AM1

Bit 14: See Table 933..

B

Bit 19: Buffer enable..

P

Bit 20: Write protect..

DYNAMICRASCAS [3]

RAS and CAS latencies for EMC_DYCSx

Offset: 0x164, reset: 0x303, 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
CAS
rw
RAS
rw
Toggle Fields

RAS

Bits 0-1: RAS latency (active to read/write delay)..

CAS

Bits 8-9: CAS latency..

STATICCONFIG [0]

Configuration for EMC_CSx

Offset: 0x200, reset: 0, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
P
rw
B
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EW
rw
PB
rw
PC
rw
PM
rw
MW
rw
Toggle Fields

MW

Bits 0-1: Memory width..

PM

Bit 3: Page mode..

PC

Bit 6: Chip select polarity..

PB

Bit 7: Byte lane state..

EW

Bit 8: Extended wait (EW) uses the EMCStaticExtendedWait register to time both the read and write transfers rather than the EMCStaticWaitRd and EMCStaticWaitWr registers..

B

Bit 19: Buffer enable [2]..

P

Bit 20: Write protect..

STATICWAITWEN [0]

Delay from EMC_CSx to write enable

Offset: 0x204, 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
WAITWEN
rw
Toggle Fields

WAITWEN

Bits 0-3: Wait write enable..

STATICWAITOEN [0]

Delay from EMC_CSx or address change, whichever is later, to output enable

Offset: 0x208, 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
WAITOEN
rw
Toggle Fields

WAITOEN

Bits 0-3: Wait output enable..

STATICWAITRD [0]

Delay from EMC_CSx to a read access

Offset: 0x20c, reset: 0x1F, 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
WAITRD
rw
Toggle Fields

WAITRD

Bits 0-4: ..

STATICWAITPAGE [0]

Delay for asynchronous page mode sequential accesses for EMC_CSx

Offset: 0x210, reset: 0x1F, 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
WAITPAGE
rw
Toggle Fields

WAITPAGE

Bits 0-4: Asynchronous page mode read after the first read wait states..

STATICWAITWR [0]

Delay from EMC_CSx to a write access

Offset: 0x214, reset: 0x1F, 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
WAITWR
rw
Toggle Fields

WAITWR

Bits 0-4: Write wait states..

STATICWAITTURN [0]

Number of bus turnaround cycles EMC_CSx

Offset: 0x218, reset: 0xF, 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
WAITTURN
rw
Toggle Fields

WAITTURN

Bits 0-3: Bus turn-around cycles..

STATICCONFIG [1]

Configuration for EMC_CSx

Offset: 0x220, reset: 0, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
P
rw
B
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EW
rw
PB
rw
PC
rw
PM
rw
MW
rw
Toggle Fields

MW

Bits 0-1: Memory width..

PM

Bit 3: Page mode..

PC

Bit 6: Chip select polarity..

PB

Bit 7: Byte lane state..

EW

Bit 8: Extended wait (EW) uses the EMCStaticExtendedWait register to time both the read and write transfers rather than the EMCStaticWaitRd and EMCStaticWaitWr registers..

B

Bit 19: Buffer enable [2]..

P

Bit 20: Write protect..

STATICWAITWEN [1]

Delay from EMC_CSx to write enable

Offset: 0x224, 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
WAITWEN
rw
Toggle Fields

WAITWEN

Bits 0-3: Wait write enable..

STATICWAITOEN [1]

Delay from EMC_CSx or address change, whichever is later, to output enable

Offset: 0x228, 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
WAITOEN
rw
Toggle Fields

WAITOEN

Bits 0-3: Wait output enable..

STATICWAITRD [1]

Delay from EMC_CSx to a read access

Offset: 0x22c, reset: 0x1F, 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
WAITRD
rw
Toggle Fields

WAITRD

Bits 0-4: ..

STATICWAITPAGE [1]

Delay for asynchronous page mode sequential accesses for EMC_CSx

Offset: 0x230, reset: 0x1F, 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
WAITPAGE
rw
Toggle Fields

WAITPAGE

Bits 0-4: Asynchronous page mode read after the first read wait states..

STATICWAITWR [1]

Delay from EMC_CSx to a write access

Offset: 0x234, reset: 0x1F, 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
WAITWR
rw
Toggle Fields

WAITWR

Bits 0-4: Write wait states..

STATICWAITTURN [1]

Number of bus turnaround cycles EMC_CSx

Offset: 0x238, reset: 0xF, 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
WAITTURN
rw
Toggle Fields

WAITTURN

Bits 0-3: Bus turn-around cycles..

STATICCONFIG [2]

Configuration for EMC_CSx

Offset: 0x240, reset: 0, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
P
rw
B
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EW
rw
PB
rw
PC
rw
PM
rw
MW
rw
Toggle Fields

MW

Bits 0-1: Memory width..

PM

Bit 3: Page mode..

PC

Bit 6: Chip select polarity..

PB

Bit 7: Byte lane state..

EW

Bit 8: Extended wait (EW) uses the EMCStaticExtendedWait register to time both the read and write transfers rather than the EMCStaticWaitRd and EMCStaticWaitWr registers..

B

Bit 19: Buffer enable [2]..

P

Bit 20: Write protect..

STATICWAITWEN [2]

Delay from EMC_CSx to write enable

Offset: 0x244, 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
WAITWEN
rw
Toggle Fields

WAITWEN

Bits 0-3: Wait write enable..

STATICWAITOEN [2]

Delay from EMC_CSx or address change, whichever is later, to output enable

Offset: 0x248, 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
WAITOEN
rw
Toggle Fields

WAITOEN

Bits 0-3: Wait output enable..

STATICWAITRD [2]

Delay from EMC_CSx to a read access

Offset: 0x24c, reset: 0x1F, 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
WAITRD
rw
Toggle Fields

WAITRD

Bits 0-4: ..

STATICWAITPAGE [2]

Delay for asynchronous page mode sequential accesses for EMC_CSx

Offset: 0x250, reset: 0x1F, 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
WAITPAGE
rw
Toggle Fields

WAITPAGE

Bits 0-4: Asynchronous page mode read after the first read wait states..

STATICWAITWR [2]

Delay from EMC_CSx to a write access

Offset: 0x254, reset: 0x1F, 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
WAITWR
rw
Toggle Fields

WAITWR

Bits 0-4: Write wait states..

STATICWAITTURN [2]

Number of bus turnaround cycles EMC_CSx

Offset: 0x258, reset: 0xF, 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
WAITTURN
rw
Toggle Fields

WAITTURN

Bits 0-3: Bus turn-around cycles..

STATICCONFIG [3]

Configuration for EMC_CSx

Offset: 0x260, reset: 0, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
P
rw
B
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EW
rw
PB
rw
PC
rw
PM
rw
MW
rw
Toggle Fields

MW

Bits 0-1: Memory width..

PM

Bit 3: Page mode..

PC

Bit 6: Chip select polarity..

PB

Bit 7: Byte lane state..

EW

Bit 8: Extended wait (EW) uses the EMCStaticExtendedWait register to time both the read and write transfers rather than the EMCStaticWaitRd and EMCStaticWaitWr registers..

B

Bit 19: Buffer enable [2]..

P

Bit 20: Write protect..

STATICWAITWEN [3]

Delay from EMC_CSx to write enable

Offset: 0x264, 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
WAITWEN
rw
Toggle Fields

WAITWEN

Bits 0-3: Wait write enable..

STATICWAITOEN [3]

Delay from EMC_CSx or address change, whichever is later, to output enable

Offset: 0x268, 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
WAITOEN
rw
Toggle Fields

WAITOEN

Bits 0-3: Wait output enable..

STATICWAITRD [3]

Delay from EMC_CSx to a read access

Offset: 0x26c, reset: 0x1F, 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
WAITRD
rw
Toggle Fields

WAITRD

Bits 0-4: ..

STATICWAITPAGE [3]

Delay for asynchronous page mode sequential accesses for EMC_CSx

Offset: 0x270, reset: 0x1F, 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
WAITPAGE
rw
Toggle Fields

WAITPAGE

Bits 0-4: Asynchronous page mode read after the first read wait states..

STATICWAITWR [3]

Delay from EMC_CSx to a write access

Offset: 0x274, reset: 0x1F, 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
WAITWR
rw
Toggle Fields

WAITWR

Bits 0-4: Write wait states..

STATICWAITTURN [3]

Number of bus turnaround cycles EMC_CSx

Offset: 0x278, reset: 0xF, 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
WAITTURN
rw
Toggle Fields

WAITTURN

Bits 0-3: Bus turn-around cycles..

ENET

0x40092000: LPC5460x Ethernet controller

117/415 fields covered. Toggle Registers

Show register map

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 MAC_CONFIG
0x4 MAC_EXT_CONFIG
0x8 MAC_FRAME_FILTER
0xc MAC_WD_TIMEROUT
0x50 MAC_VLAN_TAG
0x70 MAC_TX_FLOW_CTRL_Q[[0]]
0x74 MAC_TX_FLOW_CTRL_Q[[1]]
0x90 MAC_RX_FLOW_CTRL
0x98 MAC_TXQ_PRIO_MAP
0xa0 MAC_RXQ_CTRL0
0xa4 MAC_RXQ_CTRL1
0xa8 MAC_RXQ_CTRL2
0xb0 MAC_INTR_STAT
0xb4 MAC_INTR_EN
0xb8 MAC_RXTX_STAT
0xc0 MAC_PMT_CRTL_STAT
0xc4 MAC_RWAKE_FRFLT
0xd0 MAC_LPI_CTRL_STAT
0xd4 MAC_LPI_TIMER_CTRL
0xd8 MAC_LPI_ENTR_TIMR
0xdc MAC_1US_TIC_COUNTR
0x110 MAC_VERSION
0x114 MAC_DBG
0x11c MAC_HW_FEAT0
0x120 MAC_HW_FEAT1
0x124 MAC_HW_FEAT2
0x200 MAC_MDIO_ADDR
0x204 MAC_MDIO_DATA
0x300 MAC_ADDR_HIGH
0x304 MAC_ADDR_LOW
0xb00 MAC_TIMESTAMP_CTRL
0xb04 MAC_SUB_SCND_INCR
0xb08 MAC_SYS_TIME_SCND
0xb0c MAC_SYS_TIME_NSCND
0xb10 MAC_SYS_TIME_SCND_UPD
0xb14 MAC_SYS_TIME_NSCND_UPD
0xb18 MAC_SYS_TIMESTMP_ADDEND
0xb1c MAC_SYS_TIME_HWORD_SCND
0xb20 MAC_SYS_TIMESTMP_STAT
0xb30 MAC_Tx_TIMESTAMP_STATUS_NANOSECONDS
0xb34 MAC_Tx_TIMESTAMP_STATUS_SECONDS
0xb58 MAC_TIMESTAMP_INGRESS_CORR_NANOSECOND
0xb5c MAC_TIMESTAMP_EGRESS_CORR_NANOSECOND
0xc00 MTL_OP_MODE
0xc20 MTL_INTR_STAT
0xc30 MTL_RXQ_DMA_MAP
0xd00 MTL_TXQx_OP_MODE [0]
0xd04 MTL_TXQx_UNDRFLW [0]
0xd08 MTL_TXQx_DBG [0]
0xd10 MTL_TXQx_ETS_CTRL [0]
0xd14 MTL_TXQx_ETS_STAT [0]
0xd18 MTL_TXQx_QNTM_WGHT [0]
0xd1c MTL_TXQx_SNDSLP_CRDT [0]
0xd20 MTL_TXQx_HI_CRDT [0]
0xd24 MTL_TXQx_LO_CRDT [0]
0xd2c MTL_TXQx_INTCTRL_STAT [0]
0xd30 MTL_RXQx_OP_MODE [0]
0xd34 MTL_RXQx_MISSPKT_OVRFLW_CNT [0]
0xd38 MTL_RXQx_DBG [0]
0xd3c MTL_RXQx_CTRL [0]
0xd40 MTL_TXQx_OP_MODE [1]
0xd44 MTL_TXQx_UNDRFLW [1]
0xd48 MTL_TXQx_DBG [1]
0xd50 MTL_TXQx_ETS_CTRL [1]
0xd54 MTL_TXQx_ETS_STAT [1]
0xd58 MTL_TXQx_QNTM_WGHT [1]
0xd5c MTL_TXQx_SNDSLP_CRDT [1]
0xd60 MTL_TXQx_HI_CRDT [1]
0xd64 MTL_TXQx_LO_CRDT [1]
0xd6c MTL_TXQx_INTCTRL_STAT [1]
0xd70 MTL_RXQx_OP_MODE [1]
0xd74 MTL_RXQx_MISSPKT_OVRFLW_CNT [1]
0xd78 MTL_RXQx_DBG [1]
0xd7c MTL_RXQx_CTRL [1]
0x1000 DMA_MODE
0x1004 DMA_SYSBUS_MODE
0x1008 DMA_INTR_STAT
0x100c DMA_DBG_STAT
0x1100 DMA_CHx_CTRL [0]
0x1104 DMA_CHx_TX_CTRL [0]
0x1108 DMA_CHx_RX_CTRL [0]
0x1114 DMA_CHx_TXDESC_LIST_ADDR [0]
0x111c DMA_CHx_RXDESC_LIST_ADDR [0]
0x1120 DMA_CHx_TXDESC_TAIL_PTR [0]
0x1128 DMA_CHx_RXDESC_TAIL_PTR [0]
0x112c DMA_CHx_TXDESC_RING_LENGTH [0]
0x1130 DMA_CHx_RXDESC_RING_LENGTH [0]
0x1134 DMA_CHx_INT_EN [0]
0x1138 DMA_CHx_RX_INT_WDTIMER [0]
0x113c DMA_CHx_SLOT_FUNC_CTRL_STAT [0]
0x1144 DMA_CHx_CUR_HST_TXDESC [0]
0x114c DMA_CHx_CUR_HST_RXDESC [0]
0x1154 DMA_CHx_CUR_HST_TXBUF [0]
0x115c DMA_CHx_CUR_HST_RXBUF [0]
0x1160 DMA_CHx_STAT [0]
0x1180 DMA_CHx_CTRL [1]
0x1184 DMA_CHx_TX_CTRL [1]
0x1188 DMA_CHx_RX_CTRL [1]
0x1194 DMA_CHx_TXDESC_LIST_ADDR [1]
0x119c DMA_CHx_RXDESC_LIST_ADDR [1]
0x11a0 DMA_CHx_TXDESC_TAIL_PTR [1]
0x11a8 DMA_CHx_RXDESC_TAIL_PTR [1]
0x11ac DMA_CHx_TXDESC_RING_LENGTH [1]
0x11b0 DMA_CHx_RXDESC_RING_LENGTH [1]
0x11b4 DMA_CHx_INT_EN [1]
0x11b8 DMA_CHx_RX_INT_WDTIMER [1]
0x11bc DMA_CHx_SLOT_FUNC_CTRL_STAT [1]
0x11c4 DMA_CHx_CUR_HST_TXDESC [1]
0x11cc DMA_CHx_CUR_HST_RXDESC [1]
0x11d4 DMA_CHx_CUR_HST_TXBUF [1]
0x11dc DMA_CHx_CUR_HST_RXBUF [1]
0x11e0 DMA_CHx_STAT [1]

MAC_CONFIG

MAC configuration register

Offset: 0x0, reset: 0x8000, access: read-write

1/23 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IPC
rw
IPG
rw
GPSLCE
rw
S2KP
rw
CST
rw
ACS
rw
WD
rw
BE
rw
JD
rw
JE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PS
r
FES
rw
DM
rw
LM
rw
ECRSFD
rw
DO
rw
DCRS
rw
DR
rw
BL
rw
DC
rw
PRELEN
rw
TE
rw
RE
rw
Toggle Fields

RE

Bit 0: Receiver Enable When this bit is set, the receiver state machine of the MAC is enabled for receiving frames from the MII..

TE

Bit 1: Transmitter Enable When this bit is set, the transmit state machine of the MAC is enabled for transmission on the MII..

PRELEN

Bits 2-3: Preamble Length for Transmit packets These bits control the number of preamble bytes that are added to the beginning of every Tx packet..

DC

Bit 4: Deferral Check When this bit is set, the deferral check function is enabled in the MAC..

BL

Bits 5-6: Back-Off Limit The Back-Off limit determines the random integer number (r) of slot time delays (4,096 bit times for 1000 Mbps and 512 bit times for 10/100 Mbps) the MAC waits before rescheduling a transmission attempt during retries after a collision..

DR

Bit 8: Disable Retry When this bit is set, the MAC will attempt only one transmission..

DCRS

Bit 9: Disable Carrier Sense During Transmission When this bit is set, the MAC transmitter ignores the MII CRS signal during packet transmission in the half-duplex mode..

DO

Bit 10: Disable Receive Own When this bit is set, the MAC disables the reception of frames when the gmii_txen_o is asserted in Half-Duplex mode..

ECRSFD

Bit 11: Enable Carrier Sense Before Transmission in Full-Duplex Mode When this bit is set, the MAC transmitter checks the CRS signal before packet transmission in the full-duplex mode..

LM

Bit 12: Loopback Mode When this bit is set, the MAC operates in loopback mode at MII..

DM

Bit 13: Duplex Mode When this bit is set, the MAC operates in a Full-Duplex mode where it can transmit and receive simultaneously..

FES

Bit 14: Speed Indicates the speed in Fast Ethernet (MII) mode: This bit is reserved (RO) by default and is enabled only when RMII/SMII is enabled during configuration..

PS

Bit 15: Portselect..

JE

Bit 16: Jumbo Frame Enable When this bit is set, MAC allows Jumbo frames of 9,018 bytes (9,022 bytes for tagged frames) without reporting a giant frame error in the receive frame status..

JD

Bit 17: Jabber Disable When this bit is set, the MAC disables the jabber timer on the transmitter, and can transfer frames of up to 16,384 bytes..

BE

Bit 18: Packet Burst Enable When this bit is set, the MAC allows packet bursting during transmission in the MII half-duplex mode..

WD

Bit 19: Watchdog Disable When this bit is set, the MAC disables the watchdog timer on the receiver, and can receive frames of up to 16,384 bytes..

ACS

Bit 20: Automatic Pad or CRC Stripping When this bit is set, the MAC strips the Pad or FCS field on the incoming packets only if the value of the length field is less than 1,536 bytes..

CST

Bit 21: CRC stripping for Type packets When this bit is set, the last four bytes (FCS) of all packets of Ether type (type field greater than 1,536) are stripped and dropped before forwarding the packet to the application..

S2KP

Bit 22: IEEE 802..

GPSLCE

Bit 23: Giant Packet Size Limit Control Enable When this bit is set, the MAC considers the value in GPSL field in MAC Ext Configuration register to declare a received packet as Giant packet..

IPG

Bits 24-26: Inter-Packet Gap These bits control the minimum IPG between packets during transmission..

IPC

Bit 27: Checksum Offload When set, this bit enables the IPv4 header checksum checking and IPv4 or IPv6 TCP, UDP, or ICMP payload checksum checking..

MAC_EXT_CONFIG

no description available

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
USP
rw
SPEN
rw
DCRCC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPSL
rw
Toggle Fields

GPSL

Bits 0-13: Giant Packet Size Limit If the received packet size is greater than the value programmed in this field in units of bytes, the MAC declares the received packet as Giant packet..

DCRCC

Bit 16: Disable CRC Checking for Received Packets When this bit is set, the MAC receiver does not check the CRC field in the received packets..

SPEN

Bit 17: Slow Protocol Detection Enable When this bit is set, MAC processes the Slow Protocol packets (Ether Type 0x8809) and provides the Rx status..

USP

Bit 18: Unicast Slow Protocol Packet Detect When this bit is set, the MAC detects the Slow Protocol packets with unicast address of the station specified in the MAC Address High Table 747 and MAC Address Low Table 748 registers..

MAC_FRAME_FILTER

MAC frame filter register

Offset: 0x8, reset: 0, access: read-write

2/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAF
r
SAIF
r
PCF
rw
DBF
rw
PM
rw
DAIF
rw
PR
rw
Toggle Fields

PR

Bit 0: Promiscuous Mode When this bit is set, the Address Filter module passes all incoming frames regardless of its destination or source address..

DAIF

Bit 3: DA Inverse Filtering When this bit is set, the Address Check block operates in inverse filtering mode for the DA address comparison for both unicast and multicast frames..

PM

Bit 4: Pass All Multicast When set, this bit indicates that all received frames with a multicast destination address (first bit in the destination address field is '1') are passed..

DBF

Bit 5: Disable Broadcast Frames When this bit is set, the AFM module filters all incoming broadcast frames..

PCF

Bits 6-7: Pass Control Frames These bits control the forwarding of all control frames (including unicast and multicast PAUSE frames)..

SAIF

Bit 8: SA Inverse Filtering When this bit is set, the Address Check block operates in the inverse filtering mode for SA address comparison..

SAF

Bit 9: Source Address Filter Enable When this bit is set, the MAC compares the SA field of the received packets with the values programmed in the enabled SA registers..

RA

Bit 31: Receive all When this bit is set, the MAC Receiver module passes to the Application all frames received irrespective of whether they pass the address filter..

MAC_WD_TIMEROUT

MAC watchdog Timeout 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PWE
rw
WTO
rw
Toggle Fields

WTO

Bits 0-3: Watchdog Timeout When the PWE bit is set and the WD bit of the MAC Configuration register Table 722 is reset, this field is used as watchdog timeout for a received packet..

PWE

Bit 8: Programmable Watchdog Enable When this bit is set and the WD bit of the MAC Configuration register Table 722 is reset, the WTO field is used as watchdog timeout for a received packet..

MAC_VLAN_TAG

MAC vlan tag register

Offset: 0x50, reset: 0, access: read-write

0/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EIVLRXS
rw
EIVLS
rw
ERIVLT
rw
EDVLP
rw
VTHM
rw
EVLRXS
rw
EVLS
rw
DOVLTC
rw
ERSVLM
rw
ESVL
rw
VTIM
rw
ETV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VL
rw
Toggle Fields

VL

Bits 0-15: VLAN Tag Identifier for Receive Packets..

ETV

Bit 16: Enable 12-Bit VLAN Tag Comparison..

VTIM

Bit 17: VLAN Tag Inverse Match Enable..

ESVL

Bit 18: Enable S-VLAN..

ERSVLM

Bit 19: Enable Receive S-VLAN Match..

DOVLTC

Bit 20: Disable VLAN Type Check..

EVLS

Bits 21-22: Enable VLAN Tag Stripping on Receive..

EVLRXS

Bit 24: Enable VLAN Tag in Rx status..

VTHM

Bit 25: Disable VLAN Type Check..

EDVLP

Bit 26: Enable Double VLAN Processing..

ERIVLT

Bit 27: Enable Inner VLAN Tag..

EIVLS

Bits 28-29: Enable Inner VLAN Tag Stripping on Receive..

EIVLRXS

Bit 31: Enable Inner VLAN Tag in Rx Status..

MAC_TX_FLOW_CTRL_Q[[0]]

Transmit flow control register

Offset: 0x70, 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
PT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DZPQ
rw
PLT
rw
TFE
rw
FCB
rw
Toggle Fields

FCB

Bit 0: Flow Control Busy/Backpressure Activate This register field can be read by the application (Read), can be set to 1 by the application with a register write of 1 (Write Set), and is cleared to 0 by the core (Self Clear)..

TFE

Bit 1: Transmit Flow Control Enable In Full-Duplex mode, when this bit is set, the MAC enables the flow control operation to transmit Pause frames..

PLT

Bits 4-6: Pause Low Threshold This field configures the threshold of the PAUSE timer at which the input flow control signal is checked for automatic retransmission of PAUSE Frame..

DZPQ

Bit 7: Disable Zero-Quanta Pause When set, this bit disables the automatic generation of Zero-Quanta Pause Control frames on the deassertion of the flow-control signal from the FIFO layer..

PT

Bits 16-31: Pause time This field holds the value to be used in the Pause Time field in the transmit control frame..

MAC_TX_FLOW_CTRL_Q[[1]]

Transmit flow control register

Offset: 0x74, 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
PT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DZPQ
rw
PLT
rw
TFE
rw
FCB
rw
Toggle Fields

FCB

Bit 0: Flow Control Busy/Backpressure Activate This register field can be read by the application (Read), can be set to 1 by the application with a register write of 1 (Write Set), and is cleared to 0 by the core (Self Clear)..

TFE

Bit 1: Transmit Flow Control Enable In Full-Duplex mode, when this bit is set, the MAC enables the flow control operation to transmit Pause frames..

PLT

Bits 4-6: Pause Low Threshold This field configures the threshold of the PAUSE timer at which the input flow control signal is checked for automatic retransmission of PAUSE Frame..

DZPQ

Bit 7: Disable Zero-Quanta Pause When set, this bit disables the automatic generation of Zero-Quanta Pause Control frames on the deassertion of the flow-control signal from the FIFO layer..

PT

Bits 16-31: Pause time This field holds the value to be used in the Pause Time field in the transmit control frame..

MAC_RX_FLOW_CTRL

Receive flow control register

Offset: 0x90, 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
UP
rw
RFE
rw
Toggle Fields

RFE

Bit 0: Receive Flow Control Enable When this bit is set and the MAC is operating in full-duplex mode, the MAC decodes the received Pause packet and disables its transmitter for a specified (Pause) time..

UP

Bit 1: Unicast Pause Packet Detect A pause packet is processed when it has the unique multicast address specified in the IEEE 802..

MAC_TXQ_PRIO_MAP

no description available

Offset: 0x98, 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
PSTQ1
rw
PSTQ0
rw
Toggle Fields

PSTQ0

Bits 0-7: Priorities Selected in Transmit Queue 0 This field holds the priorities assigned to Tx Queue 0 by the software..

PSTQ1

Bits 8-15: Priorities Selected in Transmit Queue 1 This bit is similar to the PSTQ0 bit..

MAC_RXQ_CTRL0

Receive Queue Control 0 register 0x0000

Offset: 0xa0, 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
RXQ1EN
rw
RXQ0EN
rw
Toggle Fields

RXQ0EN

Bits 0-1: Receive Queue 0 Enable..

RXQ1EN

Bits 2-3: Receive Queue 1 Enable..

MAC_RXQ_CTRL1

Receive Queue Control 0 register 0x0000

Offset: 0xa4, 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
MCBCQEN
rw
MCBCQ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UPQ
rw
AVPTPQ
rw
AVCPQ
rw
Toggle Fields

AVCPQ

Bits 0-2: AV Untagged Control Packets Queue..

AVPTPQ

Bits 4-6: AV PTP Packets Queue..

UPQ

Bits 12-14: Untagged Packet Queue..

MCBCQ

Bits 16-18: Multicast and Broadcast Queue..

MCBCQEN

Bit 20: Multicast and Broadcast Queue Enable..

MAC_RXQ_CTRL2

Receive Queue Control 0 register 0x0000

Offset: 0xa8, 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
PSRQ3
rw
PSRQ2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSRQ1
rw
PSRQ0
rw
Toggle Fields

PSRQ0

Bits 0-7: Priorities Selected in the Receive Queue 0..

PSRQ1

Bits 8-15: Priorities Selected in the Receive Queue 1..

PSRQ2

Bits 16-23: Priorities Selected in the Receive Queue 2..

PSRQ3

Bits 24-31: Priorities Selected in the Receive Queue 3..

MAC_INTR_STAT

Interrupt status register 0x0000

Offset: 0xb0, reset: 0, access: read-only

6/6 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
RXSTSIS
r
TXSTSIS
r
TSIS
r
LPIIS
r
PMTIS
r
PHYIS
r
Toggle Fields

PHYIS

Bit 3: PHY Interrupt..

PMTIS

Bit 4: PMT Interrupt Status..

LPIIS

Bit 5: LPI Interrupt Status..

TSIS

Bit 12: Timestamp interrupt status..

TXSTSIS

Bit 13: Transmit Status Interrupt..

RXSTSIS

Bit 14: Receive Status Interrupt..

MAC_INTR_EN

Interrupt enable register 0x0000

Offset: 0xb4, reset: 0, access: read-write

0/6 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
RXSTSIS
rw
TXSTSIE
rw
TSIE
rw
LPIIE
rw
PMTIE
rw
PHYIE
rw
Toggle Fields

PHYIE

Bit 3: PHY Interrupt Enable..

PMTIE

Bit 4: PMT Interrupt Enable..

LPIIE

Bit 5: LPI Interrupt Enable..

TSIE

Bit 12: Timestamp Interrupt Enable..

TXSTSIE

Bit 13: Transmit Status Interrupt Enable..

RXSTSIS

Bit 14: Receive Status Interrupt Enable..

MAC_RXTX_STAT

Receive Transmit Status register

Offset: 0xb8, reset: 0, access: read-only

7/7 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
RWT
r
EXCOL
r
LCOL
r
EXDEF
r
LCARR
r
NCARR
r
TJT
r
Toggle Fields

TJT

Bit 0: PHY Interrupt Enable When this bit is set, it enables the assertion of the interrupt signal because of the setting of PHYIS bit in MAC Interrupt Status register Table 731..

NCARR

Bit 1: No Carrier When the DTXSTS bit is set in the MTL Operation Mode register Table 758, this bit indicates that the carrier signal from the PHY is not present at the end of preamble transmission..

LCARR

Bit 2: Loss of Carrier When the DTXSTS bit is set in the MTL Operation Mode register Table 758, this bit indicates that the loss of carrier occurred during packet transmission, that is, the PHY Carrier signal was inactive for one or more transmission clock periods during packet transmission..

EXDEF

Bit 3: Excessive Deferral When the DTXSTS bit is set in the MTL Operation Mode register Table 758 and the DC bit is set in the MAC Configuration register Table 758, this bit indicates that the transmission ended because of excessive deferral of over 24,288 bit times (155,680 when Jumbo packet is enabled)..

LCOL

Bit 4: Late Collision When the DTXSTS bit is set in the MTL Operation Mode register Table 758, this bit indicates that the packet transmission aborted because a collision occurred after the collision window (64 bytes including Preamble in MII mode)..

EXCOL

Bit 5: Excessive Collisions When the DTXSTS bit is set in the MTL Operation Mode register Table 758, this bit indicates that the transmission aborted after 16 successive collisions while attempting to transmit the current packet..

RWT

Bit 8: Receive Watchdog Timeout This bit is set when a packet with length greater than 2,048 bytes is received (10,240 bytes when Jumbo Packet mode is enabled) and the WD bit is reset in the MAC Configuration register Table 722..

MAC_PMT_CRTL_STAT

no description available

Offset: 0xc0, reset: 0, access: read-write

5/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RWKFILTRST
rw
RWKPTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RWKPFE
rw
GLBLUCAST
rw
RWKPRCVD
r
MGKPRCVD
r
RWKPKTEN
r
MGKPKTEN
r
PWRDWN
r
Toggle Fields

PWRDWN

Bit 0: Transmit LPI Entry When this bit is set, it indicates that the MAC Transmitter has entered the LPI state because of the setting of the LPIEN bit..

MGKPKTEN

Bit 1: Magic Packet Enable..

RWKPKTEN

Bit 2: Remote Wake-Up Packet Enable When this bit is set, a power management event is generated when the MAC receives a remote wake-up packet..

MGKPRCVD

Bit 5: Magic Packet Received..

RWKPRCVD

Bit 6: Remote Wake-Up Packet Received..

GLBLUCAST

Bit 9: Global Unicast When this bit set, any unicast packet filtered by the MAC (DAF) address recognition is detected as a remote wake-up packet..

RWKPFE

Bit 10: Remote Wake-up Packet Forwarding Enable When this bit is set along with RWKPKTEN, the MAC receiver drops all received frames until it receives the expected wake-up frame..

RWKPTR

Bits 24-28: Remote Wake-up FIFO Pointer This field gives the current value (0 to 7) of the Remote Wake-up Packet Filter register pointer..

RWKFILTRST

Bit 31: Remote Wake-Up Packet Filter Register Pointer Reset When this bit is set, the remote wake-up packet filter register pointer is reset to 3'b000..

MAC_RWAKE_FRFLT

Remote wake-up frame filter

Offset: 0xc4, 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
ADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR
rw
Toggle Fields

ADDR

Bits 0-31: WKUPFMFILTER address..

MAC_LPI_CTRL_STAT

LPI Control and Status Register

Offset: 0xd0, reset: 0, access: read-write

6/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPITCSE
rw
LPIATE
rw
LPITXA
rw
PLS
rw
LPIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RLPIST
r
TLPIST
r
RLPIEX
r
RLPIEN
r
TLPIEX
r
TLPIEN
r
Toggle Fields

TLPIEN

Bit 0: Transmit LPI Entry When this bit is set, it indicates that the MAC Transmitter has entered the LPI state because of the setting of the LPIEN bit..

TLPIEX

Bit 1: Transmit LPI Exit When this bit is set, it indicates that the MAC transmitter exited the LPI state after the application cleared the LPIEN bit and the LPI TW Timer has expired..

RLPIEN

Bit 2: Receive LPI Entry When this bit is set, it indicates that the MAC Receiver has received an LPI pattern and entered the LPI state..

RLPIEX

Bit 3: Receive LPI Exit When this bit is set, it indicates that the MAC Receiver has stopped receiving the LPI pattern on the MII interface, exited the LPI state, and resumed the normal reception..

TLPIST

Bit 8: Transmit LPI State When this bit is set, it indicates that the MAC is transmitting the LPI pattern on the MII interface..

RLPIST

Bit 9: Receive LPI State When this bit is set, it indicates that the MAC is receiving the LPI pattern on the MII interface..

LPIEN

Bit 16: LPI Enable When this bit is set, it instructs the MAC Transmitter to enter the LPI state..

PLS

Bit 17: PHY Link Status This bit indicates the link status of the PHY..

LPITXA

Bit 19: LPI Tx Automate This bit controls the behavior of the MAC when it is entering or coming out of the LPI mode on the Transmit side..

LPIATE

Bit 20: LPI Timer Enable This bit controls the automatic entry of the MAC Transmitter into and exit out of the LPI state..

LPITCSE

Bit 21: LPI Tx Clock Stop Enable When this bit is set, the MAC asserts LPI Tx Clock Gating Control signal high after it enters Tx LPI mode to indicate that the Tx clock to MAC can be stopped..

MAC_LPI_TIMER_CTRL

LPI Timers Control register

Offset: 0xd4, 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
LST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TWT
rw
Toggle Fields

TWT

Bits 0-15: LPI TW Timer This field specifies the minimum time (in microseconds) for which the MAC waits after it stops transmitting the LPI pattern to the PHY and before it resumes the normal transmission..

LST

Bits 16-25: LPI LS Timer This field specifies the minimum time (in milliseconds) for which the link status from the PHY should be up (OKAY) before the LPI pattern can be transmitted to the PHY..

MAC_LPI_ENTR_TIMR

LPI entry Timer register

Offset: 0xd8, 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
LPIET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPIET
rw
Toggle Fields

LPIET

Bits 3-19: LPI Entry Timer This field specifies the time in microseconds the MAC will wait to enter LPI mode, after it has transmitted all the frames..

MAC_1US_TIC_COUNTR

no description available

Offset: 0xdc, 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
TIC_1US_CNTR
rw
Toggle Fields

TIC_1US_CNTR

Bits 0-11: 1US TIC Counter The application must program this counter so that the number of clock cycles of CSR clock is 1us..

MAC_VERSION

MAC version register

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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USERVER
rw
SNPVER
rw
Toggle Fields

SNPVER

Bits 0-7: NXP defined version..

USERVER

Bits 8-15: User defined version..

MAC_DBG

MAC debug register

Offset: 0x114, 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
TFCSTS
r
TPESTS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RFCFCSTS
r
REPESTS
r
Toggle Fields

REPESTS

Bit 0: MAC MII Receive Protocol Engine Status When this bit is set, it indicates that the MAC MII receive protocol engine is actively receiving data, and it is not in the Idle state..

RFCFCSTS

Bits 1-2: MAC Receive Packet Controller FIFO Status When this bit is set, this field indicates the active state of the small FIFO Read and Write controllers of the MAC Receive Packet Controller module..

TPESTS

Bit 16: MAC MII Transmit Protocol Engine Status When this bit is set, it indicates that the MAC or MII transmit protocol engine is actively transmitting data, and it is not in the Idle state..

TFCSTS

Bits 17-18: MAC Transmit Packet Controller Status This field indicates the state of the MAC Transmit Packet Controller module..

MAC_HW_FEAT0

MAC hardware feature register 0x0201

Offset: 0x11c, reset: 0, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ACTPHYSEL
r
TSSTSSEL
r
RXCOESEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCOESEL
r
EEESEL
r
TSSEL
r
ARPOFFSEL
r
MMCSEL
r
MGKSEL
rw
RWKSEL
r
SMASEL
r
VLHASH
r
HDSEL
r
MIISEL
r
Toggle Fields

MIISEL

Bit 0: 10 or 100 Mbps Support..

HDSEL

Bit 2: Half-duplex Support..

VLHASH

Bit 4: Hash Table Based Filtering option..

SMASEL

Bit 5: SMA (MDIO) Interface..

RWKSEL

Bit 6: PMT Remote Wake-up Packet Detection..

MGKSEL

Bit 7: PMT magic packet detection..

MMCSEL

Bit 8: RMON Module Enable..

ARPOFFSEL

Bit 9: ARP Offload Enabled..

TSSEL

Bit 12: IEEE 1588-2008 Timestamp support ..

EEESEL

Bit 13: Energy Efficient Ethernet Support ..

TXCOESEL

Bit 14: Transmit Checksum Offload Support..

RXCOESEL

Bit 16: Receive Checksum Offload Support..

TSSTSSEL

Bits 25-26: Timestamp System Time Source..

ACTPHYSEL

Bits 28-30: Active PHY Selected..

MAC_HW_FEAT1

MAC hardware feature register 0x0201

Offset: 0x120, reset: 0, access: read-only

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
L3_L4_FILTER
r
HASHTBLSZ
r
LPMODEEN
r
AVSEL
r
DBGMEMA
r
TSOEN
r
SPEN
r
DCBEN
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR64
r
ADVTHWORD
r
PTOEN
r
OSTEN
r
TXFIFOSIZE
r
RXFIFOSIZE
r
Toggle Fields

RXFIFOSIZE

Bits 0-4: MTL Receive FIFO Size..

TXFIFOSIZE

Bits 6-10: MTL Transmit FIFO Size..

OSTEN

Bit 11: One-Step Timestamping Feature..

PTOEN

Bit 12: PTP OffLoad Feature..

ADVTHWORD

Bit 13: IEEE 1588 High Word Register Feature..

ADDR64

Bits 14-15: Address width..

DCBEN

Bit 16: Data Center Bridging feature..

SPEN

Bit 17: Split Header Structure feature..

TSOEN

Bit 18: TCP Segment Offload Feature..

DBGMEMA

Bit 19: DMA Debug Register Feature..

AVSEL

Bit 20: Audio Video Bridging Feature..

LPMODEEN

Bit 23: Low Power Mode Feature Support ..

HASHTBLSZ

Bits 24-25: Hash Table Size..

L3_L4_FILTER

Bits 27-30: Total Number of L3 and L4 Filters ..

MAC_HW_FEAT2

MAC hardware feature register 0x0201

Offset: 0x124, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AUXSNAPNUM
r
PPSOUTNUM
r
TXCHCNT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCHCNT
r
TXQCNT
r
RXQCNT
r
Toggle Fields

RXQCNT

Bits 0-3: Number of MTL Receive Queues..

TXQCNT

Bits 6-9: Number of MTL Transmit Queues..

RXCHCNT

Bits 12-15: Number of DMA Receive Channels..

TXCHCNT

Bits 18-21: Number of DMA Transmit Channels..

PPSOUTNUM

Bits 24-26: Number of PPS Outputs..

AUXSNAPNUM

Bits 28-30: Number of Auxiliary Snapshot Inputs..

MAC_MDIO_ADDR

MIDO address Register

Offset: 0x200, reset: 0, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PSE
rw
BTB
rw
PA
rw
RDA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NTC
rw
CR
rw
MOC
rw
MB
rw
Toggle Fields

MB

Bit 0: MII busy..

MOC

Bits 2-3: MII Operation Command..

CR

Bits 8-11: CSR Clock Range..

NTC

Bits 12-14: Number of Training Clocks This field controls the number of trailing clock cycles generated on MDC after the end of transmission of MDIO frame..

RDA

Bits 16-20: Register/Device Address These bits select the PHY register in selected PHY device..

PA

Bits 21-25: Physical Layer Address This field indicates which PHY devices (out of 32 devices) the MAC is accessing..

BTB

Bit 26: Back to Back transactions When this bit is set and the NTC has value greater than 0, then the MAC will inform the completion of a read or write command at the end of frame transfer (before the trailing clocks are transmitted)..

PSE

Bit 27: Preamble Suppression Enable When this bit is set, the SMA will suppress the 32-bit preamble and transmit MDIO frames with only 1 preamble bit..

MAC_MDIO_DATA

MDIO Data register

Offset: 0x204, 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
MD
rw
Toggle Fields

MD

Bits 0-15: MII Data This field contains the 16-bit data value read from the PHY after a Management Read operation or the 16-bit data value to be written to the PHY before a Management Write operation..

MAC_ADDR_HIGH

MAC address0 high register

Offset: 0x300, reset: 0x8000FFFF, access: read-write

1/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AE
r
DCS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
A47_32
rw
Toggle Fields

A47_32

Bits 0-15: MAC Address0 [47:32] This field contains the upper 16 bits (47:32) of the 6-byte first MAC address..

DCS

Bit 16: DMA Channel Select This field contains the DMA Channel number to which the Rx packet whose DA matches the MAC Address content is routed..

AE

Bit 31: Address Enable..

MAC_ADDR_LOW

MAC address0 low register

Offset: 0x304, reset: 0xFFFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
A31_0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
A31_0
rw
Toggle Fields

A31_0

Bits 0-31: MAC Address0 [31:0] This field contains the lower 32 bits of the 6-byte first MAC address..

MAC_TIMESTAMP_CTRL

Time stamp control register

Offset: 0xb00, reset: 0x2000, access: read-write

0/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AV8021ASMEN
rw
TXTTSSTSM
rw
TSENMACADDR
rw
SNAPTYPSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSMSTRENA
rw
TSEVTENA
rw
TSIPV4ENA
rw
TSIPV6ENA
rw
TSIPENA
rw
TSVER2ENA
rw
TSCTRLSSR
rw
TSENALL
rw
TADDREG
rw
TSTRIG
rw
TSUPDT
rw
TSINIT
rw
TSCFUPDT
rw
TSENA
rw
Toggle Fields

TSENA

Bit 0: Enable Timestamp When this bit is set, the timestamp is added for Transmit and Receive packets..

TSCFUPDT

Bit 1: Fine or Coarse Timestamp Update When this bit is set, the Fine method is used to update system timestamp..

TSINIT

Bit 2: Initialize Timestamp When this bit is set, the system time is initialized (overwritten) with the value specified in the MAC Register 80 (System Time Seconds Update..

TSUPDT

Bit 3: Update Timestamp When this bit is set, the system time is updated (added or subtracted) with the value specified in MAC System Time Seconds Update Table 753 and MAC System Time Nanoseconds Update Table 754..

TSTRIG

Bit 4: Enable Timestamp Interrupt Trigger When this bit is set, the timestamp interrupt is generated when the System Time becomes greater than the value written in the Target Time register..

TADDREG

Bit 5: Update Addend Register When this bit is set, the content of the Timestamp Addend register is updated in the PTP block for fine correction..

TSENALL

Bit 8: Enable Timestamp for All Packets When this bit is set, the timestamp snapshot is enabled for all packets received by the MAC..

TSCTRLSSR

Bit 9: Timestamp Digital or Binary Rollover Control When this bit is set, the Timestamp Low register rolls over after 0x3B9AC9FF value (that is, 1 nanosecond accuracy) and increments the timestamp (High) seconds..

TSVER2ENA

Bit 10: Enable PTP Packet Processing for Version 2 Format When this bit is set, the IEEE 1588 version 2 format is used to process the PTP packets..

TSIPENA

Bit 11: Enable Processing of PTP over Ethernet Packets When this bit is set, the MAC receiver processes the PTP packets encapsulated directly in the Ethernet packets..

TSIPV6ENA

Bit 12: Enable Processing of PTP Packets Sent over 1Pv6-UDP When this bit is set, the MAC receiver processes the PTP packets encapsulated in IPv6-UDP packets..

TSIPV4ENA

Bit 13: Enable Processing of PTP Packets Sent over IPv4-UDP When this bit is set, the MAC receiver processes the PTP packets encapsulated in IPv4-UDP packets..

TSEVTENA

Bit 14: Enable Timestamp Snapshot for Event Messages When this bit is set, the timestamp snapshot is taken only for event messages (SYNC, Delay_Req, Pdelay_Req, or Pdelay_Resp)..

TSMSTRENA

Bit 15: Enable Snapshot for Messages Relevant to Master When this bit is set, the snapshot is taken only for the messages that are relevant to the master node..

SNAPTYPSEL

Bits 16-17: Select PTP packets for Taking Snapshots These bits, along with Bits 15 and 14, decide the set of PTP packet types for which snapshot needs to be taken..

TSENMACADDR

Bit 18: Enable MAC Address for PTP Packet Filtering When this bit is set, the DA MAC address (that matches any MAC Address register) is used to filter the PTP packets when PTP is directly sent over Ethernet..

TXTTSSTSM

Bit 24: Transmit Timestamp Status Mode When this bit is set, the MAC overwrites the earlier transmit timestamp status even if it is not read by the software..

AV8021ASMEN

Bit 28: AV 802..

MAC_SUB_SCND_INCR

Sub-second increment register

Offset: 0xb04, 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
SSINC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

SSINC

Bits 16-23: Sub-second increment value..

MAC_SYS_TIME_SCND

System time seconds register

Offset: 0xb08, 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
TSS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSS
r
Toggle Fields

TSS

Bits 0-31: Time stamp second The value in this field indicates the current value in seconds of the System Time maintained by the MAC..

MAC_SYS_TIME_NSCND

System time nanoseconds register

Offset: 0xb0c, 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
TSSS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSSS
r
Toggle Fields

TSSS

Bits 0-30: Time stamp sub seconds The value in this field has the sub second representation of time, with an accuracy of 0..

MAC_SYS_TIME_SCND_UPD

no description available

Offset: 0xb10, 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
TSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSS
rw
Toggle Fields

TSS

Bits 0-31: Time stamp second The value in this field indicates the time, in seconds, to be initialized or added to the system time..

MAC_SYS_TIME_NSCND_UPD

no description available

Offset: 0xb14, 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
ADDSUB
rw
TSSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSSS
rw
Toggle Fields

TSSS

Bits 0-30: Time stamp sub seconds The value in this field has the sub second representation of time, with an accuracy of 0..

ADDSUB

Bit 31: Add or subtract time When this bit is set, the time value is subtracted with the contents of the update register..

MAC_SYS_TIMESTMP_ADDEND

Time stamp addend register

Offset: 0xb18, 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
TSAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSAR
rw
Toggle Fields

TSAR

Bits 0-31: Time stamp addend This register indicates the 32-bit time value to be added to the Accumulator register to achieve time synchronization..

MAC_SYS_TIME_HWORD_SCND

no description available

Offset: 0xb1c, 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
TSHWR
rw
Toggle Fields

TSHWR

Bits 0-15: Time stamp higher word Contains the most significant 16-bits of the Time stamp seconds value..

MAC_SYS_TIMESTMP_STAT

Time stamp status register

Offset: 0xb20, 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
TSSOVF
r
Toggle Fields

TSSOVF

Bit 0: Time stamp seconds overflow When set, indicates that the seconds value of the Time stamp has overflowed beyond 0xFFFF_FFFF..

MAC_Tx_TIMESTAMP_STATUS_NANOSECONDS

Tx timestamp status nanoseconds

Offset: 0xb30, reset: 0, access: read-only

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXTSSTSMIS
r
TXTSSTSLO
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXTSSTSLO
r
Toggle Fields

TXTSSTSLO

Bits 0-30: Transmit timestamp status low..

TXTSSTSMIS

Bit 31: Transmit timestamp status missed..

MAC_Tx_TIMESTAMP_STATUS_SECONDS

Tx timestamp status seconds

Offset: 0xb34, 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
TXTSSTSHI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXTSSTSHI
r
Toggle Fields

TXTSSTSHI

Bits 0-31: Transmit timestamp status high..

MAC_TIMESTAMP_INGRESS_CORR_NANOSECOND

Timestamp ingress correction

Offset: 0xb58, 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
TSIC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSIC
rw
Toggle Fields

TSIC

Bits 0-31: Transmit ingress correction..

MAC_TIMESTAMP_EGRESS_CORR_NANOSECOND

Timestamp egress correction

Offset: 0xb5c, 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
TSEC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEC
rw
Toggle Fields

TSEC

Bits 0-31: Transmit egress correction..

MTL_OP_MODE

MTL Operation Mode Register

Offset: 0xc00, reset: 0, access: read-write

1/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
CNTCLR
rw
CNTPRST
rw
SCHALG
rw
RAA
r
DTXSTS
rw
Toggle Fields

DTXSTS

Bit 1: Drop Transmit Status When this bit is set, the Tx packet status received from the MAC is dropped in the MTL..

RAA

Bit 2: Receive Arbitration Algorithm This field is used to select the arbitration algorithm for the Rx side..

SCHALG

Bits 5-6: Tx Scheduling Algorithm This field indicates the algorithm for Tx scheduling: 0x00: WRR algorithm 0x1: Reserved 0x2: Reserved 0x3: Strict priority algorithm..

CNTPRST

Bit 8: Counters Preset When this bit is set, MTL TxQ0 Underflow register (Table 762) and MTL_TxQ1_Underflow (Table 762) registers are initialized/preset to 0x7F0..

CNTCLR

Bit 9: Counters Reset When this bit is set, all counters are reset..

MTL_INTR_STAT

MTL Interrupt Status register

Offset: 0xc20, reset: 0, access: read-only

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
Q1IS
r
Q0IS
r
Toggle Fields

Q0IS

Bit 0: Queue 0 Interrupt status This bit indicates that there is an interrupt from Queue 0..

Q1IS

Bit 1: Queue 1 Interrupt status This bit indicates that there is an interrupt from Queue 1..

MTL_RXQ_DMA_MAP

MTL Receive Queue and DMA Channel Mapping register

Offset: 0xc30, 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
Q1DDMACH
rw
Q1MDMACH
rw
Q0DDMACH
rw
Q0MDMACH
rw
Toggle Fields

Q0MDMACH

Bit 0: Queue 0 Mapped to DMA Channel This field controls the routing of the packet received in Queue 0 to the DMA channel: 0: DMA Channel 0 1: DMA Channel 1 This field is valid when the Q0DDMACH field is reset..

Q0DDMACH

Bit 4: Queue 0 Enabled for DA-based DMA Channel Selection When set, this bit indicates that the packets received in Queue 0 are routed to a particular DMA channel as decided in the MAC Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the Ethernet DA address..

Q1MDMACH

Bit 8: Queue 1 Mapped to DMA Channel This field controls the routing of the received packet in Queue 1 to the DMA channel: 0: DMA Channel 0 1: DMA Channel 1 This field is valid when the Q1DDMACH field is reset..

Q1DDMACH

Bit 12: Queue 1 Enabled for DA-based DMA Channel Selection When set, this bit indicates that the packets received in Queue 1 are routed to a particular DMA channel as decided in the MAC Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the Ethernet DA address..

MTL_TXQx_OP_MODE [0]

MTL TxQx Operation Mode register

Offset: 0xd00, 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
TQS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TTC
rw
TXQEN
rw
TSF
rw
FTQ
rw
Toggle Fields

FTQ

Bit 0: Flush Transmit Queue When this bit is set, the Tx queue controller logic is reset to its default values..

TSF

Bit 1: Transmit Store and Forward When this bit is set, the transmission starts when a full packet resides in the MTL Tx queue..

TXQEN

Bits 2-3: Transmit Queue Enable This field is used to enable/disable the transmit queue 0..

TTC

Bits 4-6: Transmit Threshold Control These bits control the threshold level of the MTL Tx Queue..

TQS

Bits 16-18: Transmit Queue Size This field indicates the size of the allocated Transmit queues in blocks of 256 bytes..

MTL_TXQx_UNDRFLW [0]

MTL TxQx Underflow register

Offset: 0xd04, reset: 0, access: read-only

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
UFCNTOVF
r
UFFRMCNT
r
Toggle Fields

UFFRMCNT

Bits 0-10: Underflow Packet Counter This field indicates the number of packets aborted by the controller because of Tx Queue Underflow..

UFCNTOVF

Bit 11: Overflow Bit for Underflow Packet Counter This bit is set every time the Tx queue Underflow Packet Counter field overflows, that is, it has crossed the maximum count..

MTL_TXQx_DBG [0]

MTL TxQx Debug register

Offset: 0xd08, reset: 0, access: read-only

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
STSXSTSF
r
PTXQ
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXSTSFSTS
r
TXQSTS
r
TWCSTS
r
TRCSTS
r
TXQPAUSED
r
Toggle Fields

TXQPAUSED

Bit 0: Transmit Queue in Pause When this bit is high and the Rx flow control is enabled, it indicates that the Tx Queue is in the Pause condition (in the full-duplex only mode) because of the following: - Reception of the PFC packet for the priorities assigned to the Tx Queue when PFC is enabled - Reception of 802..

TRCSTS

Bits 1-2: MTL Tx Queue Read Controller Status This field indicates the state of the Tx Queue Read Controller: 00: Idle state 01: Read state (transferring data to the MAC transmitter) 10: Waiting for pending Tx Status from the MAC transmitter 11: Flushing the Tx queue because of the Packet Abort request from the MAC..

TWCSTS

Bit 3: MTL Tx Queue Write Controller Status When high, this bit indicates that the MTL Tx Queue Write Controller is active, and it is transferring the data to the Tx Queue..

TXQSTS

Bit 4: MTL Tx Queue Not Empty Status When this bit is high, it indicates that the MTL Tx Queue is not empty and some data is left for transmission..

TXSTSFSTS

Bit 5: MTL Tx Status FIFO Full Status When high, this bit indicates that the MTL Tx Status FIFO is full..

PTXQ

Bits 16-18: Number of Packets in the Transmit Queue This field indicates the current number of packets in the Tx Queue..

STSXSTSF

Bits 20-22: Number of Status Words in Tx Status FIFO of Queue This field indicates the current number of status in the Tx Status FIFO of this queue..

MTL_TXQx_ETS_CTRL [0]

MTL TxQx ETS control register, only TxQ1 support

Offset: 0xd10, 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
SLC
r
CC
rw
AVALG
rw
Toggle Fields

AVALG

Bit 2: AV Algorithm..

CC

Bit 3: Credit Control..

SLC

Bits 4-6: Credit Control..

MTL_TXQx_ETS_STAT [0]

MTL TxQx ETS Status register

Offset: 0xd14, 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
ABS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABS
rw
Toggle Fields

ABS

Bits 0-23: Average Bits per Slot..

MTL_TXQx_QNTM_WGHT [0]

no description available

Offset: 0xd18, 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
ISCQW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ISCQW
rw
Toggle Fields

ISCQW

Bits 0-20: Average Bits per Slot..

MTL_TXQx_SNDSLP_CRDT [0]

MTL TxQx SendSlopCredit register, only TxQ1 support

Offset: 0xd1c, 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
SSC
rw
Toggle Fields

SSC

Bits 0-13: sendSlopeCredit..

MTL_TXQx_HI_CRDT [0]

MTL TxQx hiCredit register, only TxQ1 support

Offset: 0xd20, 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
HC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HC
rw
Toggle Fields

HC

Bits 0-28: hiCredit..

MTL_TXQx_LO_CRDT [0]

MTL TxQx loCredit register, only TxQ1 support

Offset: 0xd24, 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
LC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LC
rw
Toggle Fields

LC

Bits 0-28: loCredit..

MTL_TXQx_INTCTRL_STAT [0]

no description available

Offset: 0xd2c, reset: 0, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXOIE
rw
RXOVFIS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABPSIE
rw
TXUIE
rw
ABPSIS
rw
TXUNFIS
rw
Toggle Fields

TXUNFIS

Bit 0: Transmit Queue Underflow Interrupt Status This bit indicates that the Transmit Queue had an underflow while transmitting the packet..

ABPSIS

Bit 1: Average Bits Per Slot Interrupt Status When set, this bit indicates that the MAC has updated the ABS value..

TXUIE

Bit 8: Transmit Queue Underflow Interrupt Enable When this bit is set, the Transmit Queue Underflow interrupt is enabled..

ABPSIE

Bit 9: Average Bits Per Slot Interrupt Enable When this bit is set, the MAC asserts the interrupt when the average bits per slot status is updated..

RXOVFIS

Bit 16: Receive Queue Overflow Interrupt Status This bit indicates that the Receive Queue had an overflow while receiving the packet..

RXOIE

Bit 24: Receive Queue Overflow Interrupt Enable When this bit is set, the Receive Queue Overflow interrupt is enabled..

MTL_RXQx_OP_MODE [0]

MTL RxQx Operation Mode register

Offset: 0xd30, reset: 0, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RQS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIS_TCP_EF
rw
RSF
rw
FEP
rw
FUP
rw
RTC
rw
Toggle Fields

RTC

Bits 0-1: Receive Queue Threshold Control These bits control the threshold level of the MTL Rx queue (in bytes): 00: 64 01: 32 10: 96 11: 128 The packet received is transferred to the application or DMA when the packet size within the MTL Rx queue is larger than the threshold..

FUP

Bit 3: Forward Undersized Good Packets When this bit is set, the Rx queue forwards the undersized good packets (packets with no error and length less than 64 bytes), including pad-bytes and CRC..

FEP

Bit 4: Forward Error Packets When this bit is reset, the Rx queue drops packets with error status (CRC error, Mll_ER, watchdog timeout, or overflow)..

RSF

Bit 5: Receive Queue Store and Forward When this bit is set, the ethernet block on this chip reads a packet from the Rx queue only after the complete packet has been written to it, ignoring the RTC field of this register..

DIS_TCP_EF

Bit 6: Disable Dropping of TCP/IP Checksum Error Packets When this bit is set, the MAC does not drop the packets which only have the errors detected by the Receive Checksum Offload engine..

RQS

Bits 20-22: This field indicates the size of the allocated Receive queues in blocks of 256 bytes..

MTL_RXQx_MISSPKT_OVRFLW_CNT [0]

MTL RxQx Missed Packet Overflow Counter register

Offset: 0xd34, 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
OVFCNTOVF
r
OVFPKTCNT
rw
Toggle Fields

OVFPKTCNT

Bits 0-10: Overflow Packet Counter This field indicates the number of packets discarded by the Ethernet block because of Receive queue overflow..

OVFCNTOVF

Bit 11: Overflow Counter Overflow Bit When set, this bit indicates that the Rx Queue Overflow Packet Counter field crossed the maximum limit..

MTL_RXQx_DBG [0]

MTL RxQx Debug register

Offset: 0xd38, 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
PRXQ
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXQSTS
r
RRCSTS
r
RWCSTS
rw
Toggle Fields

RWCSTS

Bit 0: MTL Rx Queue Write Controller Active Status When high, this bit indicates that the MTL Rx queue Write controller is active, and it is transferring a received packet to the Rx Queue..

RRCSTS

Bits 1-2: MTL Rx Queue Read Controller State This field gives the state of the Rx queue Read controller: 00: Idle state 01: Reading packet data 10: Reading packet status (or timestamp) 11: Flushing the packet data and status..

RXQSTS

Bits 4-5: MTL Rx Queue Fill-Level Status This field gives the status of the fill-level of the Rx Queue: 0x0: Rx Queue empty 0x1: Rx Queue fill-level below flow-control deactivate threshold 0x2: Rx Queue fill-level above flow-control activate threshold 0x3: Rx Queue full..

PRXQ

Bits 16-29: Number of Packets in Receive Queue This field indicates the current number of packets in the Rx Queue..

MTL_RXQx_CTRL [0]

MTL RxQx Control register

Offset: 0xd3c, 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
RXQ_FRM_ARBIT
rw
RXQ_WEGT
rw
Toggle Fields

RXQ_WEGT

Bits 0-2: Receive Queue Weight This field indicates the weight assigned to the Rx Queue 0..

RXQ_FRM_ARBIT

Bit 3: Receive Queue Packet Arbitration When this bit is set, the The ethernet block drives the packet data to the ARI interface such that the entire packet data of currently-selected queue is transmitted before switching to other queue..

MTL_TXQx_OP_MODE [1]

MTL TxQx Operation Mode register

Offset: 0xd40, 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
TQS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TTC
rw
TXQEN
rw
TSF
rw
FTQ
rw
Toggle Fields

FTQ

Bit 0: Flush Transmit Queue When this bit is set, the Tx queue controller logic is reset to its default values..

TSF

Bit 1: Transmit Store and Forward When this bit is set, the transmission starts when a full packet resides in the MTL Tx queue..

TXQEN

Bits 2-3: Transmit Queue Enable This field is used to enable/disable the transmit queue 0..

TTC

Bits 4-6: Transmit Threshold Control These bits control the threshold level of the MTL Tx Queue..

TQS

Bits 16-18: Transmit Queue Size This field indicates the size of the allocated Transmit queues in blocks of 256 bytes..

MTL_TXQx_UNDRFLW [1]

MTL TxQx Underflow register

Offset: 0xd44, reset: 0, access: read-only

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
UFCNTOVF
r
UFFRMCNT
r
Toggle Fields

UFFRMCNT

Bits 0-10: Underflow Packet Counter This field indicates the number of packets aborted by the controller because of Tx Queue Underflow..

UFCNTOVF

Bit 11: Overflow Bit for Underflow Packet Counter This bit is set every time the Tx queue Underflow Packet Counter field overflows, that is, it has crossed the maximum count..

MTL_TXQx_DBG [1]

MTL TxQx Debug register

Offset: 0xd48, reset: 0, access: read-only

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
STSXSTSF
r
PTXQ
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXSTSFSTS
r
TXQSTS
r
TWCSTS
r
TRCSTS
r
TXQPAUSED
r
Toggle Fields

TXQPAUSED

Bit 0: Transmit Queue in Pause When this bit is high and the Rx flow control is enabled, it indicates that the Tx Queue is in the Pause condition (in the full-duplex only mode) because of the following: - Reception of the PFC packet for the priorities assigned to the Tx Queue when PFC is enabled - Reception of 802..

TRCSTS

Bits 1-2: MTL Tx Queue Read Controller Status This field indicates the state of the Tx Queue Read Controller: 00: Idle state 01: Read state (transferring data to the MAC transmitter) 10: Waiting for pending Tx Status from the MAC transmitter 11: Flushing the Tx queue because of the Packet Abort request from the MAC..

TWCSTS

Bit 3: MTL Tx Queue Write Controller Status When high, this bit indicates that the MTL Tx Queue Write Controller is active, and it is transferring the data to the Tx Queue..

TXQSTS

Bit 4: MTL Tx Queue Not Empty Status When this bit is high, it indicates that the MTL Tx Queue is not empty and some data is left for transmission..

TXSTSFSTS

Bit 5: MTL Tx Status FIFO Full Status When high, this bit indicates that the MTL Tx Status FIFO is full..

PTXQ

Bits 16-18: Number of Packets in the Transmit Queue This field indicates the current number of packets in the Tx Queue..

STSXSTSF

Bits 20-22: Number of Status Words in Tx Status FIFO of Queue This field indicates the current number of status in the Tx Status FIFO of this queue..

MTL_TXQx_ETS_CTRL [1]

MTL TxQx ETS control register, only TxQ1 support

Offset: 0xd50, 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
SLC
r
CC
rw
AVALG
rw
Toggle Fields

AVALG

Bit 2: AV Algorithm..

CC

Bit 3: Credit Control..

SLC

Bits 4-6: Credit Control..

MTL_TXQx_ETS_STAT [1]

MTL TxQx ETS Status register

Offset: 0xd54, 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
ABS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABS
rw
Toggle Fields

ABS

Bits 0-23: Average Bits per Slot..

MTL_TXQx_QNTM_WGHT [1]

no description available

Offset: 0xd58, 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
ISCQW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ISCQW
rw
Toggle Fields

ISCQW

Bits 0-20: Average Bits per Slot..

MTL_TXQx_SNDSLP_CRDT [1]

MTL TxQx SendSlopCredit register, only TxQ1 support

Offset: 0xd5c, 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
SSC
rw
Toggle Fields

SSC

Bits 0-13: sendSlopeCredit..

MTL_TXQx_HI_CRDT [1]

MTL TxQx hiCredit register, only TxQ1 support

Offset: 0xd60, 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
HC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HC
rw
Toggle Fields

HC

Bits 0-28: hiCredit..

MTL_TXQx_LO_CRDT [1]

MTL TxQx loCredit register, only TxQ1 support

Offset: 0xd64, 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
LC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LC
rw
Toggle Fields

LC

Bits 0-28: loCredit..

MTL_TXQx_INTCTRL_STAT [1]

no description available

Offset: 0xd6c, reset: 0, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXOIE
rw
RXOVFIS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABPSIE
rw
TXUIE
rw
ABPSIS
rw
TXUNFIS
rw
Toggle Fields

TXUNFIS

Bit 0: Transmit Queue Underflow Interrupt Status This bit indicates that the Transmit Queue had an underflow while transmitting the packet..

ABPSIS

Bit 1: Average Bits Per Slot Interrupt Status When set, this bit indicates that the MAC has updated the ABS value..

TXUIE

Bit 8: Transmit Queue Underflow Interrupt Enable When this bit is set, the Transmit Queue Underflow interrupt is enabled..

ABPSIE

Bit 9: Average Bits Per Slot Interrupt Enable When this bit is set, the MAC asserts the interrupt when the average bits per slot status is updated..

RXOVFIS

Bit 16: Receive Queue Overflow Interrupt Status This bit indicates that the Receive Queue had an overflow while receiving the packet..

RXOIE

Bit 24: Receive Queue Overflow Interrupt Enable When this bit is set, the Receive Queue Overflow interrupt is enabled..

MTL_RXQx_OP_MODE [1]

MTL RxQx Operation Mode register

Offset: 0xd70, reset: 0, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RQS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIS_TCP_EF
rw
RSF
rw
FEP
rw
FUP
rw
RTC
rw
Toggle Fields

RTC

Bits 0-1: Receive Queue Threshold Control These bits control the threshold level of the MTL Rx queue (in bytes): 00: 64 01: 32 10: 96 11: 128 The packet received is transferred to the application or DMA when the packet size within the MTL Rx queue is larger than the threshold..

FUP

Bit 3: Forward Undersized Good Packets When this bit is set, the Rx queue forwards the undersized good packets (packets with no error and length less than 64 bytes), including pad-bytes and CRC..

FEP

Bit 4: Forward Error Packets When this bit is reset, the Rx queue drops packets with error status (CRC error, Mll_ER, watchdog timeout, or overflow)..

RSF

Bit 5: Receive Queue Store and Forward When this bit is set, the ethernet block on this chip reads a packet from the Rx queue only after the complete packet has been written to it, ignoring the RTC field of this register..

DIS_TCP_EF

Bit 6: Disable Dropping of TCP/IP Checksum Error Packets When this bit is set, the MAC does not drop the packets which only have the errors detected by the Receive Checksum Offload engine..

RQS

Bits 20-22: This field indicates the size of the allocated Receive queues in blocks of 256 bytes..

MTL_RXQx_MISSPKT_OVRFLW_CNT [1]

MTL RxQx Missed Packet Overflow Counter register

Offset: 0xd74, 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
OVFCNTOVF
r
OVFPKTCNT
rw
Toggle Fields

OVFPKTCNT

Bits 0-10: Overflow Packet Counter This field indicates the number of packets discarded by the Ethernet block because of Receive queue overflow..

OVFCNTOVF

Bit 11: Overflow Counter Overflow Bit When set, this bit indicates that the Rx Queue Overflow Packet Counter field crossed the maximum limit..

MTL_RXQx_DBG [1]

MTL RxQx Debug register

Offset: 0xd78, 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
PRXQ
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXQSTS
r
RRCSTS
r
RWCSTS
rw
Toggle Fields

RWCSTS

Bit 0: MTL Rx Queue Write Controller Active Status When high, this bit indicates that the MTL Rx queue Write controller is active, and it is transferring a received packet to the Rx Queue..

RRCSTS

Bits 1-2: MTL Rx Queue Read Controller State This field gives the state of the Rx queue Read controller: 00: Idle state 01: Reading packet data 10: Reading packet status (or timestamp) 11: Flushing the packet data and status..

RXQSTS

Bits 4-5: MTL Rx Queue Fill-Level Status This field gives the status of the fill-level of the Rx Queue: 0x0: Rx Queue empty 0x1: Rx Queue fill-level below flow-control deactivate threshold 0x2: Rx Queue fill-level above flow-control activate threshold 0x3: Rx Queue full..

PRXQ

Bits 16-29: Number of Packets in Receive Queue This field indicates the current number of packets in the Rx Queue..

MTL_RXQx_CTRL [1]

MTL RxQx Control register

Offset: 0xd7c, 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
RXQ_FRM_ARBIT
rw
RXQ_WEGT
rw
Toggle Fields

RXQ_WEGT

Bits 0-2: Receive Queue Weight This field indicates the weight assigned to the Rx Queue 0..

RXQ_FRM_ARBIT

Bit 3: Receive Queue Packet Arbitration When this bit is set, the The ethernet block drives the packet data to the ARI interface such that the entire packet data of currently-selected queue is transmitted before switching to other queue..

DMA_MODE

DMA mode register

Offset: 0x1000, 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
PR
rw
TXPR
rw
TAA
rw
DA
rw
SWR
rw
Toggle Fields

SWR

Bit 0: Software Reset When this bit is set, the MAC and the OMA controller reset the logic and all internal registers of the OMA, MTL, and MAC..

DA

Bit 1: DMA Tx or Rx Arbitration Scheme This bit specifies the arbitration scheme between the Transmit and Receive paths of all channels: The Tx path has priority over the Rx path when the TXPR bit is set..

TAA

Bits 2-4: Transmit Arbitration Algorithm This field is used to select the arbitration algorithm for the Transmit side when multiple Tx DMAs are selected..

TXPR

Bit 11: Transmit Priority When set, this bit indicates that the Tx DMA has higher priority than the Rx DMA during arbitration for the system-side bus..

PR

Bits 12-14: Priority Ratio These bits control the priority ratio in weighted round-robin arbitration between the Rx DMA and Tx DMA..

DMA_SYSBUS_MODE

DMA System Bus mode

Offset: 0x1004, 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
RB
rw
MB
rw
AAL
rw
FB
rw
Toggle Fields

FB

Bit 0: Fixed Burst Length When this bit is set to 1, the AHB master will initiate burst transfers of specified length (INCRx or SINGLE)..

AAL

Bit 12: Address-Aligned Beats When this bit is set to 1, the AHB master performs address-aligned burst transfers on Read and Write channels..

MB

Bit 14: Mixed Burst When this bit is set high and the FB bit is low, the AHB master performs undefined bursts transfers (INCR) for burst length of 16 or more..

RB

Bit 15: Rebuild INCRx Burst When this bit is set high and the AHB master gets SPLIT, RETRY, or EarlyBurst Termination (EBT) response, the AHB master interface rebuilds the pending beats of any initiated burst transfer with INCRx and SINGLEtransfers..

DMA_INTR_STAT

DMA Interrupt status

Offset: 0x1008, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MACIS
r
MTLIS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DC1IS
rw
DC0IS
rw
Toggle Fields

DC0IS

Bit 0: DMA Channel 0 Interrupt Status This bit indicates an interrupt event in DMA Channel 0..

DC1IS

Bit 1: DMA Channel 1 Interrupt Status This bit indicates an interrupt event in DMA Channel 1..

MTLIS

Bit 16: MTL Interrupt Status This bit indicates an interrupt event in the MTL..

MACIS

Bit 17: MAC Interrupt Status This bit indicates an interrupt event in the MAC..

DMA_DBG_STAT

DMA Debug Status

Offset: 0x100c, 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
TPS1
r
RPS1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TPS0
r
RPS0
r
AHSTS
rw
Toggle Fields

AHSTS

Bit 0: AHB Master Status When high, this bit indicates that the AHB master FSMs are in the non-idle state..

RPS0

Bits 8-11: DMA Channel 0 Receive Process State This field indicates the Rx DMA FSM state for Channel 0: 0x0: Stopped (Reset or Stop Receive Command issued) 0x1: Running (Fetching Rx Transfer ) 0x2: Reserved 0x3: Running (Waiting for Rx packet) 0x4: Suspended (Rx Unavailable) 0x5: Running (Closing the Rx) 0x6: Timestamp write state 0x7: Running (Transferring the received packet data from the Rx buffer to the system memory) This field does not generate an interrupt..

TPS0

Bits 12-15: DMA Channel 0 Transmit Process State This field indicates the Tx DMA FSM state for Channel 0: 000: Stopped (Reset or Stop Transmit Command issued) 0x1: Running (Fetching Tx Transfer) 0x2: Running (Waiting for status) 0x3: Running (Reading Data from system memory buffer and queuing it to the Tx buffer (Tx FIFO)) 0x4: Timestamp write state 0x5: Reserved for future use 0x6: Suspended (Tx Unavailable or Tx Buffer Underflow) 0x7: Running (Closing Tx ) This field does not generate an interrupt..

RPS1

Bits 16-19: DMA Channel 1 Receive Process State This field indicates the Rx DMA FSM state for Channel 1..

TPS1

Bits 20-23: DMA Channel 1 Transmit Process State This field indicates the Tx DMA FSM state for Channel 1..

DMA_CHx_CTRL [0]

DMA Channelx Control

Offset: 0x1100, 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
DSL
rw
PBLx8
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

PBLx8

Bit 16: 8xPBL mode When this bit is set, the PBL value programmed in Bits[21:16] in DMA Channel Transmit Control Table 780 is multiplied eight times..

DSL

Bits 18-20: Skip Length This bit specifies the Word, Dword, or Lword number (depending on the 32- bit, 64-bit, or 128-bit bus) to skip between two unchained s..

DMA_CHx_TX_CTRL [0]

DMA Channelx Transmit Control

Offset: 0x1104, 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
TxPBL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OSF
rw
TCW
rw
ST
rw
Toggle Fields

ST

Bit 0: Start or Stop Transmission Command When this bit is set, transmission is placed in the Running state..

TCW

Bits 1-3: Transmit Channel Weight This field indicates the weight assigned to the corresponding Transmit channel..

OSF

Bit 4: Operate on Second Frame When this bit is set, it instructs the DMA to process the second packet of the Transmit data even before the status for the first packet is obtained..

TxPBL

Bits 16-21: Transmit Programmable Burst Length These bits indicate the maximum number of beats to be transferred in one DMA data transfer..

DMA_CHx_RX_CTRL [0]

DMA Channelx Receive Control

Offset: 0x1108, 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
RPF
rw
RxPBL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RBSZ
rw
SR
rw
Toggle Fields

SR

Bit 0: Start or Stop Receive When this bit is set, the DMA tries to acquire the from the receive list and processes the incoming packets..

RBSZ

Bits 3-14: Receive Buffer size This field indicates the size of the Rx buffers specified in bytes..

RxPBL

Bits 16-21: Receive Programmable Burst Length These bits indicate the maximum number of beats to be transferred in one DMA data transfer..

RPF

Bit 31: DMA Rx Channel 0 Packet Flush When this bit is set to 1, the DMA will automatically flush the packet from the Rx Queues destined to DMA Rx Channel 0 when the DMA Rx Channel 0 is stopped after a system bus error has occurred..

DMA_CHx_TXDESC_LIST_ADDR [0]

no description available

Offset: 0x1114, 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
STL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STL
rw
Toggle Fields

STL

Bits 2-31: Start of transmit list This field contains the base address of the first in the Transmit list..

DMA_CHx_RXDESC_LIST_ADDR [0]

no description available

Offset: 0x111c, 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
SRL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRL
rw
Toggle Fields

SRL

Bits 2-31: Start of receive list This field contains the base address of the First in the Receive list..

DMA_CHx_TXDESC_TAIL_PTR [0]

no description available

Offset: 0x1120, 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
TDTP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDTP
rw
Toggle Fields

TDTP

Bits 2-31: Transmit Tail Pointer This field contains the tail pointer for the Tx ring..

DMA_CHx_RXDESC_TAIL_PTR [0]

no description available

Offset: 0x1128, 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
RDTP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDTP
rw
Toggle Fields

RDTP

Bits 2-31: Receive Tail Pointer This field contains the tail pointer for the Rx ring..

DMA_CHx_TXDESC_RING_LENGTH [0]

no description available

Offset: 0x112c, 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
TDRL
rw
Toggle Fields

TDRL

Bits 0-9: Transmit Ring Length This field sets the maximum number of Tx descriptors in the circular ring..

DMA_CHx_RXDESC_RING_LENGTH [0]

Channelx Rx descriptor Ring Length

Offset: 0x1130, 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
RDRL
rw
Toggle Fields

RDRL

Bits 0-9: Receive Ring Length This register sets the maximum number of Rx descriptors in the circular ring..

DMA_CHx_INT_EN [0]

Channelx Interrupt Enable

Offset: 0x1134, reset: 0, access: read-write

0/12 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
NIE
rw
AIE
rw
FBEE
rw
ERIE
rw
ETIE
rw
RWTE
rw
RSE
rw
RBUE
rw
RIE
rw
TBUE
rw
TSE
rw
TIE
rw
Toggle Fields

TIE

Bit 0: Transmit interrupt enable When this bit is set with Normal Interrupt Summary Enable (bit 16 in this register), Transmit Interrupt is enabled..

TSE

Bit 1: Transmit stopped enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), Transmission Stopped Interrupt is enabled..

TBUE

Bit 2: Transmit buffer unavailable enable When this bit is set with Normal Interrupt Summary Enable (bit 16 in this register), Transmit Buffer Unavailable Interrupt is enabled..

RIE

Bit 6: Receive interrupt enable When this bit is set with Normal Interrupt Summary Enable (bit 16 in this register), Receive Interrupt is enabled..

RBUE

Bit 7: Receive buffer unavailable enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), Receive Buffer Unavailable Interrupt is enabled..

RSE

Bit 8: Received stopped enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), Receive Stopped Interrupt is enabled..

RWTE

Bit 9: Receive watchdog timeout enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), the Receive Watchdog Timeout Interrupt is enabled..

ETIE

Bit 10: Early transmit interrupt enable When this bit is set with an Abnormal Interrupt Summary Enable (bit 15 in this register), Early Transmit Interrupt is enabled..

ERIE

Bit 11: Early receive interrupt enable When this bit is set with Normal Interrupt Summary Enable (bit 16 in this register), Early Receive Interrupt is enabled..

FBEE

Bit 12: Fatal bus error enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), the Fatal Bus Error Interrupt is enabled..

AIE

Bit 14: Abnormal interrupt summary enable When this bit is set, an Abnormal Interrupt summary is enabled..

NIE

Bit 15: Normal interrupt summary enable When this bit is set, a normal interrupt is enabled..

DMA_CHx_RX_INT_WDTIMER [0]

Receive Interrupt Watchdog Timer

Offset: 0x1138, 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
RIWT
rw
Toggle Fields

RIWT

Bits 0-7: Receive Interrupt Watchdog Timer Count Indicates the number of system clock cycles multiplied by 256 for which the watchdog timer is set..

DMA_CHx_SLOT_FUNC_CTRL_STAT [0]

Slot Function Control and Status

Offset: 0x113c, 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
RSN
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASC
rw
ESC
rw
Toggle Fields

ESC

Bit 0: Enable Slot Comparison When set, this bit enables the checking of the slot numbers programmed in the Tx descriptor with the current reference given in the RSN field..

ASC

Bit 1: Advance Slot Check When set, this bit enables the D MA to fetch the data from the buffer when the slot number (SLOTNUM) programmed in the Tx descriptor is equal to the reference slot number given in the RSN field or, ahead of the reference slot number by up to two slots This bit is applicable only when the ESC bit is set..

RSN

Bits 16-19: Reference Slot Number This field gives the current value of the reference slot number in the DMA..

DMA_CHx_CUR_HST_TXDESC [0]

Channelx Current Host Transmit descriptor

Offset: 0x1144, 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
HTD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HTD
r
Toggle Fields

HTD

Bits 0-31: Host Transmit descriptor Address Pointer Cleared on Reset..

DMA_CHx_CUR_HST_RXDESC [0]

no description available

Offset: 0x114c, 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
HRD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HRD
r
Toggle Fields

HRD

Bits 0-31: Host Receive descriptor Address Pointer Cleared on Reset..

DMA_CHx_CUR_HST_TXBUF [0]

no description available

Offset: 0x1154, 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
HTB
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HTB
r
Toggle Fields

HTB

Bits 0-31: Host Transmit Buffer Address Pointer Cleared on Reset..

DMA_CHx_CUR_HST_RXBUF [0]

Channelx Current Application Receive Buffer Address

Offset: 0x115c, 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
HRB
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HRB
r
Toggle Fields

HRB

Bits 0-31: Host Receive Buffer Address Pointer Cleared on Reset..

DMA_CHx_STAT [0]

Channelx DMA status register

Offset: 0x1160, reset: 0, access: read-write

0/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NIS
rw
AIS
rw
FBE
rw
ERI
rw
ETI
rw
RWT
rw
RPS
rw
RBU
rw
RI
rw
TBU
rw
TPS
rw
TI
rw
Toggle Fields

TI

Bit 0: Transmit Interrupt This bit indicates that the packet transmission is complete..

TPS

Bit 1: Transmit Process Stopped This bit is set when the transmission is stopped..

TBU

Bit 2: Transmit Buffer Unavailable This bit indicates that the application owns the next descriptor in the transmit list, and the DMA cannot acquire it..

RI

Bit 6: Receive Interrupt This bit indicates that the packet reception is complete..

RBU

Bit 7: Receive Buffer Unavailable This bit indicates that the application owns the next in the receive list, and the DMA cannot acquire it..

RPS

Bit 8: Receive Process Stopped This bit is asserted when the Rx process enters the Stopped state..

RWT

Bit 9: Receive Watchdog time out This bit is asserted when a packet with length greater than 2,048 bytes (10,240 bytes when Jumbo Packet mode is enabled) is received..

ETI

Bit 10: Early Transmit Interrupt This bit indicates that the packet to be transmitted is fully transferred to the MTL Tx FIFO..

ERI

Bit 11: Early Receive Interrupt This bit indicates that the DMA filled the first data buffer of the packet..

FBE

Bit 12: Fatal Bus Error This bit indicates that a bus error occurred (as described in the EB field)..

AIS

Bit 14: Abnormal Interrupt Summary Abnormal Interrupt Summary bit value is the logical OR of the following when the corresponding interrupt bits are enabled in the DMA Channel Interrupt Enable register Table 778: Bit 1: Transmit Process Stopped Bit 7: Receive Buffer Unavailable Bit 8: Receive Process Stopped Bit 10: Ear1y Transmit Interrupt Bit 12: Fatal Bus Error Only unmasked bits affect the Abnormal Interrupt Summary bit..

NIS

Bit 15: Normal Interrupt Summary Normal Interrupt Summary bit value is the logical OR of the following bits when the corresponding interrupt bits are enabled in the DMA Channel Interrupt Enable register Table 778: Bit 0: Transmit Interrupt Bit 2: Transmit Buffer Unavailable Bit 6: Receive Interrupt Bit 11: Early Receive Interrupt Only unmasked bits (interrupts for which interrupt enable is set in DMA Channel Interrupt Enable register Table 778) affect the Normal Interrupt Summary bit..

EB

Bits 16-18: DMA Error Bits This field indicates the type of error that caused a Bus Error..

DMA_CHx_CTRL [1]

DMA Channelx Control

Offset: 0x1180, 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
DSL
rw
PBLx8
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

PBLx8

Bit 16: 8xPBL mode When this bit is set, the PBL value programmed in Bits[21:16] in DMA Channel Transmit Control Table 780 is multiplied eight times..

DSL

Bits 18-20: Skip Length This bit specifies the Word, Dword, or Lword number (depending on the 32- bit, 64-bit, or 128-bit bus) to skip between two unchained s..

DMA_CHx_TX_CTRL [1]

DMA Channelx Transmit Control

Offset: 0x1184, 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
TxPBL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OSF
rw
TCW
rw
ST
rw
Toggle Fields

ST

Bit 0: Start or Stop Transmission Command When this bit is set, transmission is placed in the Running state..

TCW

Bits 1-3: Transmit Channel Weight This field indicates the weight assigned to the corresponding Transmit channel..

OSF

Bit 4: Operate on Second Frame When this bit is set, it instructs the DMA to process the second packet of the Transmit data even before the status for the first packet is obtained..

TxPBL

Bits 16-21: Transmit Programmable Burst Length These bits indicate the maximum number of beats to be transferred in one DMA data transfer..

DMA_CHx_RX_CTRL [1]

DMA Channelx Receive Control

Offset: 0x1188, 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
RPF
rw
RxPBL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RBSZ
rw
SR
rw
Toggle Fields

SR

Bit 0: Start or Stop Receive When this bit is set, the DMA tries to acquire the from the receive list and processes the incoming packets..

RBSZ

Bits 3-14: Receive Buffer size This field indicates the size of the Rx buffers specified in bytes..

RxPBL

Bits 16-21: Receive Programmable Burst Length These bits indicate the maximum number of beats to be transferred in one DMA data transfer..

RPF

Bit 31: DMA Rx Channel 0 Packet Flush When this bit is set to 1, the DMA will automatically flush the packet from the Rx Queues destined to DMA Rx Channel 0 when the DMA Rx Channel 0 is stopped after a system bus error has occurred..

DMA_CHx_TXDESC_LIST_ADDR [1]

no description available

Offset: 0x1194, 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
STL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STL
rw
Toggle Fields

STL

Bits 2-31: Start of transmit list This field contains the base address of the first in the Transmit list..

DMA_CHx_RXDESC_LIST_ADDR [1]

no description available

Offset: 0x119c, 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
SRL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRL
rw
Toggle Fields

SRL

Bits 2-31: Start of receive list This field contains the base address of the First in the Receive list..

DMA_CHx_TXDESC_TAIL_PTR [1]

no description available

Offset: 0x11a0, 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
TDTP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDTP
rw
Toggle Fields

TDTP

Bits 2-31: Transmit Tail Pointer This field contains the tail pointer for the Tx ring..

DMA_CHx_RXDESC_TAIL_PTR [1]

no description available

Offset: 0x11a8, 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
RDTP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDTP
rw
Toggle Fields

RDTP

Bits 2-31: Receive Tail Pointer This field contains the tail pointer for the Rx ring..

DMA_CHx_TXDESC_RING_LENGTH [1]

no description available

Offset: 0x11ac, 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
TDRL
rw
Toggle Fields

TDRL

Bits 0-9: Transmit Ring Length This field sets the maximum number of Tx descriptors in the circular ring..

DMA_CHx_RXDESC_RING_LENGTH [1]

Channelx Rx descriptor Ring Length

Offset: 0x11b0, 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
RDRL
rw
Toggle Fields

RDRL

Bits 0-9: Receive Ring Length This register sets the maximum number of Rx descriptors in the circular ring..

DMA_CHx_INT_EN [1]

Channelx Interrupt Enable

Offset: 0x11b4, reset: 0, access: read-write

0/12 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
NIE
rw
AIE
rw
FBEE
rw
ERIE
rw
ETIE
rw
RWTE
rw
RSE
rw
RBUE
rw
RIE
rw
TBUE
rw
TSE
rw
TIE
rw
Toggle Fields

TIE

Bit 0: Transmit interrupt enable When this bit is set with Normal Interrupt Summary Enable (bit 16 in this register), Transmit Interrupt is enabled..

TSE

Bit 1: Transmit stopped enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), Transmission Stopped Interrupt is enabled..

TBUE

Bit 2: Transmit buffer unavailable enable When this bit is set with Normal Interrupt Summary Enable (bit 16 in this register), Transmit Buffer Unavailable Interrupt is enabled..

RIE

Bit 6: Receive interrupt enable When this bit is set with Normal Interrupt Summary Enable (bit 16 in this register), Receive Interrupt is enabled..

RBUE

Bit 7: Receive buffer unavailable enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), Receive Buffer Unavailable Interrupt is enabled..

RSE

Bit 8: Received stopped enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), Receive Stopped Interrupt is enabled..

RWTE

Bit 9: Receive watchdog timeout enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), the Receive Watchdog Timeout Interrupt is enabled..

ETIE

Bit 10: Early transmit interrupt enable When this bit is set with an Abnormal Interrupt Summary Enable (bit 15 in this register), Early Transmit Interrupt is enabled..

ERIE

Bit 11: Early receive interrupt enable When this bit is set with Normal Interrupt Summary Enable (bit 16 in this register), Early Receive Interrupt is enabled..

FBEE

Bit 12: Fatal bus error enable When this bit is set with Abnormal Interrupt Summary Enable (bit 15 in this register), the Fatal Bus Error Interrupt is enabled..

AIE

Bit 14: Abnormal interrupt summary enable When this bit is set, an Abnormal Interrupt summary is enabled..

NIE

Bit 15: Normal interrupt summary enable When this bit is set, a normal interrupt is enabled..

DMA_CHx_RX_INT_WDTIMER [1]

Receive Interrupt Watchdog Timer

Offset: 0x11b8, 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
RIWT
rw
Toggle Fields

RIWT

Bits 0-7: Receive Interrupt Watchdog Timer Count Indicates the number of system clock cycles multiplied by 256 for which the watchdog timer is set..

DMA_CHx_SLOT_FUNC_CTRL_STAT [1]

Slot Function Control and Status

Offset: 0x11bc, 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
RSN
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASC
rw
ESC
rw
Toggle Fields

ESC

Bit 0: Enable Slot Comparison When set, this bit enables the checking of the slot numbers programmed in the Tx descriptor with the current reference given in the RSN field..

ASC

Bit 1: Advance Slot Check When set, this bit enables the D MA to fetch the data from the buffer when the slot number (SLOTNUM) programmed in the Tx descriptor is equal to the reference slot number given in the RSN field or, ahead of the reference slot number by up to two slots This bit is applicable only when the ESC bit is set..

RSN

Bits 16-19: Reference Slot Number This field gives the current value of the reference slot number in the DMA..

DMA_CHx_CUR_HST_TXDESC [1]

Channelx Current Host Transmit descriptor

Offset: 0x11c4, 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
HTD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HTD
r
Toggle Fields

HTD

Bits 0-31: Host Transmit descriptor Address Pointer Cleared on Reset..

DMA_CHx_CUR_HST_RXDESC [1]

no description available

Offset: 0x11cc, 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
HRD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HRD
r
Toggle Fields

HRD

Bits 0-31: Host Receive descriptor Address Pointer Cleared on Reset..

DMA_CHx_CUR_HST_TXBUF [1]

no description available

Offset: 0x11d4, 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
HTB
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HTB
r
Toggle Fields

HTB

Bits 0-31: Host Transmit Buffer Address Pointer Cleared on Reset..

DMA_CHx_CUR_HST_RXBUF [1]

Channelx Current Application Receive Buffer Address

Offset: 0x11dc, 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
HRB
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HRB
r
Toggle Fields

HRB

Bits 0-31: Host Receive Buffer Address Pointer Cleared on Reset..

DMA_CHx_STAT [1]

Channelx DMA status register

Offset: 0x11e0, reset: 0, access: read-write

0/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NIS
rw
AIS
rw
FBE
rw
ERI
rw
ETI
rw
RWT
rw
RPS
rw
RBU
rw
RI
rw
TBU
rw
TPS
rw
TI
rw
Toggle Fields

TI

Bit 0: Transmit Interrupt This bit indicates that the packet transmission is complete..

TPS

Bit 1: Transmit Process Stopped This bit is set when the transmission is stopped..

TBU

Bit 2: Transmit Buffer Unavailable This bit indicates that the application owns the next descriptor in the transmit list, and the DMA cannot acquire it..

RI

Bit 6: Receive Interrupt This bit indicates that the packet reception is complete..

RBU

Bit 7: Receive Buffer Unavailable This bit indicates that the application owns the next in the receive list, and the DMA cannot acquire it..

RPS

Bit 8: Receive Process Stopped This bit is asserted when the Rx process enters the Stopped state..

RWT

Bit 9: Receive Watchdog time out This bit is asserted when a packet with length greater than 2,048 bytes (10,240 bytes when Jumbo Packet mode is enabled) is received..

ETI

Bit 10: Early Transmit Interrupt This bit indicates that the packet to be transmitted is fully transferred to the MTL Tx FIFO..

ERI

Bit 11: Early Receive Interrupt This bit indicates that the DMA filled the first data buffer of the packet..

FBE

Bit 12: Fatal Bus Error This bit indicates that a bus error occurred (as described in the EB field)..

AIS

Bit 14: Abnormal Interrupt Summary Abnormal Interrupt Summary bit value is the logical OR of the following when the corresponding interrupt bits are enabled in the DMA Channel Interrupt Enable register Table 778: Bit 1: Transmit Process Stopped Bit 7: Receive Buffer Unavailable Bit 8: Receive Process Stopped Bit 10: Ear1y Transmit Interrupt Bit 12: Fatal Bus Error Only unmasked bits affect the Abnormal Interrupt Summary bit..

NIS

Bit 15: Normal Interrupt Summary Normal Interrupt Summary bit value is the logical OR of the following bits when the corresponding interrupt bits are enabled in the DMA Channel Interrupt Enable register Table 778: Bit 0: Transmit Interrupt Bit 2: Transmit Buffer Unavailable Bit 6: Receive Interrupt Bit 11: Early Receive Interrupt Only unmasked bits (interrupts for which interrupt enable is set in DMA Channel Interrupt Enable register Table 778) affect the Normal Interrupt Summary bit..

EB

Bits 16-18: DMA Error Bits This field indicates the type of error that caused a Bus Error..

ETM

0xe0041000: Embedded Trace Macrocell Registers

72/102 fields covered. Toggle Registers

Show register map

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 CR
0x4 CCR
0x8 TRIGGER
0x10 SR
0x14 SCR
0x20 EEVR
0x24 TECR1
0x28 FFLR
0x140 CNTRLDVR1
0x1e0 SYNCFR
0x1e4 IDR
0x1e8 CCER
0x1f0 TESSEICR
0x1f8 TSEVR
0x200 TRACEIDR
0x208 IDR2
0x314 PDSR
0xee0 _ITMISCIN
0xee8 _ITTRIGOUT
0xef0 _ITATBCTR2
0xef8 _ITATBCTR0
0xf00 ITCTRL
0xfa0 CLAIMSET
0xfa4 CLAIMCLR
0xfb0 LAR
0xfb4 LSR
0xfb8 AUTHSTATUS
0xfcc DEVTYPE
0xfd0 PIDR4
0xfd4 PIDR5
0xfd8 PIDR6
0xfdc PIDR7
0xfe0 PIDR0
0xfe4 PIDR1
0xfe8 PIDR2
0xfec PIDR3
0xff0 CIDR0
0xff4 CIDR1
0xff8 CIDR2
0xffc CIDR3

CR

Main Control Register

Offset: 0x0, reset: 0x411, access: read-write

1/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TE
rw
PS3
rw
PM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PM2
rw
ETMPS
rw
ETMP
rw
DRC
rw
BO
rw
SP
rw
PS
rw
ETMPD
rw
Toggle Fields

ETMPD

Bit 0: ETM power down. This bit can be used by an implementation to control if the ETM is in a low power state. This bit must be cleared by the trace software tools at the beginning of a debug session. When this bit is set to 1, writes to some registers and fields might be ignored..

PS

Bits 4-6: Port size. The ETM-M4 has no influence over the external pins used for trace. These bits are implemented but not used. On an ETM reset these bits reset to 0b001..

SP

Bit 7: Stall processor. The FIFOFULL output can be used to stall the processor to prevent overflow. The FIFOFULL output is only enabled when the stall processor bit is set to 1. When the bit is 0 the FIFOFULL output remains LOW at all times and the FIFO overflows if there are too many trace packets. Trace resumes without corruption once the FIFO has drained, if overflow does occur. An ETM reset sets this bit to 0..

BO

Bit 8: Branch output. When set to 1 all branch addresses are output, even if the branch was because of a direct branch instruction. Setting this bit enables reconstruction of the program flow without having access to the memory image of the code being executed. When this bit is set to 1, more trace data is generated, and this may affect the performance of the trace system. Information about the execution of a branch is traced regardless of the state of this bit. An ETM reset sets this bit to 0..

DRC

Bit 9: Debug request control. When set to 1 and the trigger event occurs, the DBGRQ output is asserted until DBGACK is observed. This enables the ARM processor to be forced into Debug state. An ETM reset sets this bit to 0..

ETMP

Bit 10: ETM programming. This bit must be set to 1 at the start of the ETM programming sequence. Tracing is prevented while this bit is set to 1. On an ETM reset this bit is set to b1..

ETMPS

Bit 11: ETM port selection. This bit can be used to control other trace components in an implementation. This bit must be set by the trace software tools to ensure that trace output is enabled from this ETM. An ETM reset sets this bit to 0..

Allowed values:
0: ETMPS_0: ETMEN is LOW.
0x1: ETMPS_1: ETMEN is HIGH.

PM2

Bit 13: This bit is implemented but has no function. An ETM reset sets this bit to 0..

PM

Bits 16-17: These bits are implemented but have no function. An ETM reset sets these bits to 0..

PS3

Bit 21: This bit is implemented but has no function. An ETM reset sets this bit to 0..

TE

Bit 28: When set, this bit enables timestamping. An ETM reset sets this bit to 0..

CCR

Configuration Code Register

Offset: 0x4, reset: 0x8C802000, access: read-only

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ETMIDRP
r
CMA
r
TSSBP
r
NCIDC
r
FFLP
r
NEO
r
NEI
r
SP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NC
r
NMMD
r
NDVC
r
NumberOfAddressComparatorPairs
r
Toggle Fields

NumberOfAddressComparatorPairs

Bits 0-3: Number of address comparator pairs. The value of these bits is b0000, indicating that address comparator pairs are not implemented..

NDVC

Bits 4-7: Number of data value comparators. The value of these bits is b0000, indicating that data value comparators are not implemented..

NMMD

Bits 8-12: Number of memory map decoders. The value of these bits is b00000, indicating that memory map decoder inputs are not implemented..

NC

Bits 13-15: Number of counters. The value of these bits is b001, indicating that one counter is implemented..

SP

Bit 16: Sequencer present. The value of this bit is 0, indicating that the sequencer is not implemented..

NEI

Bits 17-19: Number of external inputs. The value of these bits is between b000 and b010, indicating the number of external inputs, from 0 to 2, implemented in the system..

NEO

Bits 20-22: Number of external outputs. The value of these bits is b000, indicating that no external outputs are supported..

FFLP

Bit 23: FIFOFULL logic present. The value of this bit is 1, indicating that FIFOFULL logic is present in the ETM. To use FIFOFULL the system must also support the function, as indicated by bit [8] of ETMSCR..

NCIDC

Bits 24-25: Number of Context ID comparators. The value of these bits is b00, indicating that Context ID comparators are not implemented..

TSSBP

Bit 26: Trace start/stop block present. The value of this bit is 1, indicating that the Trace start/stop block is present..

CMA

Bit 27: Coprocessor and memory access. The value of this bit is 1, indicating that memory-mapped access to registers is supported..

ETMIDRP

Bit 31: The value of this bit is 1, indicating that the ETMIDR, register 0x79, is present and defines the ETM architecture version in use..

TRIGGER

Trigger Event Register

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
TriggerEvent
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TriggerEvent
rw
Toggle Fields

TriggerEvent

Bits 0-16: Trigger event.

SR

ETM Status Register

Offset: 0x10, reset: 0, access: read-write

2/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
Trigger
rw
Status
rw
Progbit
r
UOF
r
Toggle Fields

UOF

Bit 0: Untraced overflow flag. If set to 1, there is an overflow that has not yet been traced. This bit is cleared to 0 when either: - trace is restarted - the ETM Power Down bit, bit [0] of the ETM Control Register, 0x00, is set to 1. Note: Setting or clearing the ETM programming bit does not cause this bit to be cleared to 0..

Progbit

Bit 1: ETM programming bit value (Progbit). The current effective value of the ETM Programming bit (ETM Control Register bit [10]). Tou must wait for this bit to go to 1 before you start to program the ETM..

Status

Bit 2: Holds the current status of the trace start/stop resource. If set to 1, it indicates that a trace on address has been matched, without a corresponding trace off address match..

Trigger

Bit 3: Trigger bit. Set when the trigger occurs, and prevents the trigger from being output until the ETM is next programmed..

SCR

System Configuration Register

Offset: 0x14, reset: 0x20D09, access: read-only

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NoFetchComparisons
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
N
r
PortModeSupported
r
PortSizeSupported
r
MaximumPortSize3
r
FIFOFULLsupported
r
MaximumPortSize
r
Toggle Fields

MaximumPortSize

Bits 0-2: Maximum ETM port size bits [2:0]. These bits are used in conjunction with bit [9]. The value of these bits is b001..

FIFOFULLsupported

Bit 8: FIFOFULL supported. The value of this bit is 1, indicating that FIFOFULL is supported. This bit is used in conjunction with bit [23] of the ETMCCR..

MaximumPortSize3

Bit 9: Maximum ETM port size bit [3]. This bit is used in conjunction with bits [2:0]. Its value is 0. This has no effect on the TPIU trace port..

PortSizeSupported

Bit 10: Port size supported. This bit reads as 1 if the currently selected port size is supported. This has no effect on the TPIU trace port..

PortModeSupported

Bit 11: Port mode supported. This bit reads as 1 if the currently selected port mode is supported. This has no effect on the TPIU trace port..

N

Bits 12-14: These bits give the number of supported processors minus 1. The value of these bits is b000, indicating that there is only one processor connected..

NoFetchComparisons

Bit 17: No Fetch comparisons. The value of this bit is 1, indicating that fetch comparisons are not implemented..

EEVR

Trace Enable Event 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
TraceEnableEvent
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TraceEnableEvent
rw
Toggle Fields

TraceEnableEvent

Bits 0-16: Trace Enable event..

TECR1

Trace Enable Control 1 Register

Offset: 0x24, 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
TraceControlEnable
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

TraceControlEnable

Bit 25: Trace start/stop enable. The trace start/stop resource, resource 0x5F, is unaffected by the value of this bit..

Allowed values:
0: TraceControlEnable_0: Tracing is unaffected by the trace start/stop logic.
0x1: TraceControlEnable_1: Tracing is controlled by the trace on and off addresses configured for the trace start/stop logic.

FFLR

FIFOFULL Level 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
FIFOFullLevel
rw
Toggle Fields

FIFOFullLevel

Bits 0-7: FIFO full level. The number of bytes left in FIFO, below which the FIFOFULL or SupressData signal is asserted. For example, setting this value to 15 causes data trace suppression or processor stalling, if enabled, when there are less than 15 free bytes in the FIFO..

CNTRLDVR1

Free-running counter reload value

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
IntitialCount
rw
Toggle Fields

IntitialCount

Bits 0-15: Initial count..

SYNCFR

Synchronization Frequency Register

Offset: 0x1e0, reset: 0x400, 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
SyncFrequency
r
Toggle Fields

SyncFrequency

Bits 0-11: Synchronization frequency. Default value is 1024..

IDR

ID Register

Offset: 0x1e4, reset: 0x4114F250, access: read-only

9/9 fields covered.

ImplementationRevision

Bits 0-3: Implementation revision. The value of these bits is b0000, indicating implementation revision, 0..

MinorETMarchitectureVersion

Bits 4-7: Minor ETM architecture version. The value of these bits is 0b0101, indicating minor architecture version number 5..

MajorETMarchitectureVersion

Bits 8-11: Major ETM architecture version. The value of these bits is 0b0010, indicating major architecture version number 3, ETMv3..

ProcessorFamily

Bits 12-15: Processor family. The value of these bits is 0b1111, indicating that the processor family is not identified in this register..

LoadPCfirst

Bit 16: Load PC first. The value of this bit is 0, indicating that data tracing is not supported..

ThumbInstructionTracing

Bit 18: 32-bit Thumb instruction tracing. The value of this bit is 1, indicating that a 32-bit Thumb instruction is traced as a single instruction..

Allowed values:
0: ThumbInstructionTracing_0: A 32-bit Thumb instruction is traced as two instructions, and exceptions might occur between these two instructions.
0x1: ThumbInstructionTracing_1: A 32-bit Thimb instruction is traced as a single instruction.

SecurityExtensionSupport

Bit 19: Security Extensions support. The value of this bit is 0, indicating that the ETM behaves as if the processor is in Secure state at all times..

Allowed values:
0: SecurityExtensionSupport_0: The ETM behaves as if the processor is in Secure state at all times.
0x1: SecurityExtensionSupport_1: The ARM architecture Security Extensions are implemented by the processor.

BranchPacketEncoding

Bit 20: Branch packet encoding. The value of this bit is 1, indicating that alternative branch packet encoding is implemented..

Allowed values:
0: BranchPacketEncoding_0: The ETM implements the original branch packet encoding.
0x1: BranchPacketEncoding_1: The ETM implements the alternative branch packet encoding.

ImplementorCode

Bits 24-31: Implementor code. These bits identify ARM as the implementor of the processor. The value of these bits is 01000001..

CCER

Configuration Code Extension Register

Offset: 0x1e8, reset: 0x18541800, access: read-only

12/12 fields covered.

ExtendedExternalInputSelectors

Bits 0-2: Extended external input selectors. The value of these bits is 0, indicating that extended external input selectors are not implemented..

ExtendedExternalInputBus

Bits 3-10: Extended external input bus. The value of these bits is 0, indicating that the extended external input bus is not implemented..

ReadableRegisters

Bit 11: Readable registers. The value of this bit is 1, indicating that all registers are readable..

DataAddressComparisons

Bit 12: Data address comparisons. The value of this bit is 1, indicating that data address comparisons are not supported..

InstrumentationResources

Bits 13-15: Instrumentation resources. The value of these bits is 0b000, indicating that no Instrumentation resources are supported..

EmbeddedICEwatchpointInputs

Bits 16-19: EmbeddedICE watchpoint inputs. The value of these bits is 0b0100, indicating that the number of EmbeddedICE watchpoint inputs implemented is four. These inputs come from the DWT..

TraceStartStopBlockUsesEmbeddedICEwatchpointInputs

Bit 20: Trace Start/Stop block uses EmbeddedICE watchpoint inputs. The value of this bit is 1, indicating that the Trace Start/Stop block uses the EmbeddedICE watchpoint inputs..

EmbeddedICEbehaviorControlImplemented

Bit 21: EmbeddedICE behavior control implemented. The value of this bit is 0, indicating that the ETMEIBCR is not implemented..

TimestampingImplemented

Bit 22: Timestamping implemented. This bit is set to 1, indicating that timestamping is implemented..

ReducedFunctionCounter

Bit 27: Reduced function counter. Set to 1 to indicate that Counter 1 is a reduced function counter..

TimestampEncoding

Bit 28: Timestamp encoding. Set to 1 to indicate that the timestamp is encoded as a natural binary number..

TimestampSize

Bit 29: Timestamp size. Set to 0 to indicate a size of 48 bits..

TESSEICR

TraceEnable Start/Stop EmbeddedICE Control Register

Offset: 0x1f0, 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
StopResourceSelection
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
StartResourceSelection
rw
Toggle Fields

StartResourceSelection

Bits 0-3: Start resource selection. Setting any of these bits to 1 selects the corresponding EmbeddedICE watchpoint input as a TraceEnable start resource. Bit [0] corresponds to input 1, bit [1] corresponds to input 2, bit [2] corresponds to input 3, and bit [3] corresponds to input 4..

StopResourceSelection

Bits 16-19: Stop resource selection. Setting any of these bits to 1 selects the corresponding EmbeddedICE watchpoint input as a TraceEnable stop resource. Bit [16] corresponds to input 1, bit [17] corresponds to input 2, bit [18] corresponds to input 3, and bit [19] corresponds to input 4..

TSEVR

Timestamp Event Register

Offset: 0x1f8, 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
TimestampEvent
rw
Toggle Fields

TimestampEvent

Bits 0-11: Timestamp event..

TRACEIDR

CoreSight Trace ID Register

Offset: 0x200, 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
TraceID
rw
Toggle Fields

TraceID

Bits 0-6: Trace ID to output onto the trace bus. On an ETM reset this field is cleared to 0x00..

IDR2

ETM ID Register 2

Offset: 0x208, reset: 0, access: read-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
Toggle Fields

PDSR

Device Power-Down Status Register

Offset: 0x314, reset: 0x1, 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
ETMpoweredup
r
Toggle Fields

ETMpoweredup

Bit 0: The value of this bit indicates whether you can access the ETM Trace Registers. The value of this bit is always 1, indicating that the ETM Trace Registers can be accessed..

_ITMISCIN

Integration Test Miscelaneous Inputs Register

Offset: 0xee0, reset: 0, access: read-only

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
COREHALT
r
EXTIN
r
Toggle Fields

EXTIN

Bits 0-1: A read of these bits returns the value of the EXTIN[1:0] input pins..

COREHALT

Bit 4: A read of this bit returns the value of the COREHALT input pin..

_ITTRIGOUT

Integration Test Trigger Out Register

Offset: 0xee8, 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
TRIGGER
w
Toggle Fields

TRIGGER

Bit 0: A write to this bit sets the TRIGGER output..

_ITATBCTR2

ETM Integration Test ATB Control 2 Register

Offset: 0xef0, 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
ATREADY
r
Toggle Fields

ATREADY

Bit 0: A read of this bit returns the value of the ETM ATREADY input..

_ITATBCTR0

ETM Integration Test ATB Control 0 Register

Offset: 0xef8, 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
ATVALID
w
Toggle Fields

ATVALID

Bit 0: A write to this bit sets the value of the ETM ATVALID output..

ITCTRL

Integration Mode Control Register

Offset: 0xf00, 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
Mode
rw
Toggle Fields

Mode

Bit 0: Enable integration mode. When this bit is set to 1, the device enters integration mode to enable Topology Detection or Integration Testing to be checked. On an ETM reset this bit is cleared to 0..

CLAIMSET

Claim Tag Set Register

Offset: 0xfa0, 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
CLAIMSET
rw
Toggle Fields

CLAIMSET

Bits 0-3: A bit programmable register bank which sets the Claim Tag Value. Write 1 to set the bit in the claim tag. A read will return a logic 1 for all implemented locations..

CLAIMCLR

Claim Tag Clear Register

Offset: 0xfa4, 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
CLAIMCLR
rw
Toggle Fields

CLAIMCLR

Bits 0-3: A bit programmable register bank that is zero at reset. Write 1 to clear the bit in the claim tag. On reads, returns the current setting of the claim tag..

LAR

Lock Access Register

Offset: 0xfb0, 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
WriteAccessCode
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WriteAccessCode
rw
Toggle Fields

WriteAccessCode

Bits 0-31: Write Access Code. A write of 0xC5ACCE55 enables further write access to this device. An invalid write will have the affect of removing write access..

LSR

Lock Status Register

Offset: 0xfb4, reset: 0x1, access: read-only

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
s8BIT
r
STATUS
r
IMP
r
Toggle Fields

IMP

Bit 0: Lock mechanism is implemented. This bit always reads 1..

STATUS

Bit 1: Lock Status. This bit is HIGH when the device is locked, and LOW when unlocked..

Allowed values:
0: STATUS_0: Access permitted.
0x1: STATUS_1: Write access to the component is blocked. All writes to control registers are ignored. Reads are permitted.

s8BIT

Bit 2: Access Lock Register size. This bit reads 0 to indicate a 32-bit register is present..

AUTHSTATUS

Authentication Status Register

Offset: 0xfb8, 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
SNID
r
SID
r
NSNID
r
NSID
r
Toggle Fields

NSID

Bits 0-1: Reads as b00, Non-secure invasive debug not supported by the ETM..

NSNID

Bits 2-3: Permission for Non-secure non-invasive debug..

Allowed values:
0x2: NSNID_2: Non-secure non-invasive debug disabled
0x3: NSNID_3: Non-secure non-invasive debug enabled

SID

Bits 4-5: Reads as b00, Secure invasive debug not supported by the ETM..

SNID

Bits 6-7: Permission for Secure non-invasive debug..

DEVTYPE

CoreSight Device Type Register

Offset: 0xfcc, reset: 0x13, access: read-only

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
SubType
r
MajorType
r
Toggle Fields

MajorType

Bits 0-3: Major Type and Class.

Allowed values:
0x3: MajorType_3: Trace source

SubType

Bits 4-7: Sub Type.

Allowed values:
0x1: SubType_1: Processor trace

PIDR4

Peripheral Identification Register 4

Offset: 0xfd0, reset: 0x4, access: read-only

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
c4KB
r
JEP106
r
Toggle Fields

JEP106

Bits 0-3: JEP106 continuation code..

c4KB

Bits 4-7: 4KB Count.

PIDR5

Peripheral Identification Register 5

Offset: 0xfd4, reset: 0, access: read-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
Toggle Fields

PIDR6

Peripheral Identification Register 6

Offset: 0xfd8, reset: 0, access: read-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
Toggle Fields

PIDR7

Peripheral Identification Register 7

Offset: 0xfdc, reset: 0, access: read-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
Toggle Fields

PIDR0

Peripheral Identification Register 0

Offset: 0xfe0, reset: 0x25, 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
PartNumber
r
Toggle Fields

PartNumber

Bits 0-7: Part Number [7:0].

PIDR1

Peripheral Identification Register 1

Offset: 0xfe4, reset: 0xB9, access: read-only

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
JEP106_identity_code
r
PartNumber
r
Toggle Fields

PartNumber

Bits 0-3: Part Number [11:8].

JEP106_identity_code

Bits 4-7: JEP106 identity code [3:0].

PIDR2

Peripheral Identification Register 2

Offset: 0xfe8, reset: 0xB, access: read-only

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
Revision
r
JEP106_identity_code
r
Toggle Fields

JEP106_identity_code

Bits 0-2: JEP106 identity code [6:4].

Revision

Bits 4-7: Revision.

PIDR3

Peripheral Identification Register 3

Offset: 0xfec, reset: 0, access: read-only

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
RevAnd
r
CustomerModified
r
Toggle Fields

CustomerModified

Bits 0-3: Customer Modified..

RevAnd

Bits 4-7: RevAnd.

CIDR0

Component Identification Register 0

Offset: 0xff0, reset: 0xD, 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
Preamble
r
Toggle Fields

Preamble

Bits 0-7: Preamble.

CIDR1

Component Identification Register 1

Offset: 0xff4, reset: 0x90, access: read-only

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
ComponentClass
r
Preamble
r
Toggle Fields

Preamble

Bits 0-3: Preamble.

ComponentClass

Bits 4-7: Component class.

Allowed values:
0x1: ComponentClass_1: ROM table.
0x9: ComponentClass_9: CoreSight component.
0xF: ComponentClass_15: PrimeCell of system component with no standardized register layout, for backward compatibility.

CIDR2

Component Identification Register 2

Offset: 0xff8, reset: 0x5, 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
Preamble
r
Toggle Fields

Preamble

Bits 0-7: Preamble.

CIDR3

Component Identification Register 3

Offset: 0xffc, reset: 0xB1, 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
Preamble
r
Toggle Fields

Preamble

Bits 0-7: Preamble.

FLEXCOMM0

0x40086000: LPC5411x Flexcomm serial communication

9/10 fields covered. Toggle Registers

Show register map

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
0xff8 PSELID
0xffc PID

PSELID

Peripheral Select and Flexcomm ID register.

Offset: 0xff8, reset: 0x101000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID
r
I2SPRESENT
r
I2CPRESENT
r
SPIPRESENT
r
USARTPRESENT
r
LOCK
rw
PERSEL
rw
Toggle Fields

PERSEL

Bits 0-2: Peripheral Select. This field is writable by software..

Allowed values:
0: NO_PERIPH_SELECTED: No peripheral selected.
0x1: USART: USART function selected.
0x2: SPI: SPI function selected.
0x3: I2C: I2C function selected.
0x4: I2S_TRANSMIT: I2S transmit function selected.
0x5: I2S_RECEIVE: I2S receive function selected.

LOCK

Bit 3: Lock the peripheral select. This field is writable by software..

Allowed values:
0: UNLOCKED: Peripheral select can be changed by software.
0x1: LOCKED: Peripheral select is locked and cannot be changed until this Flexcomm or the entire device is reset.

USARTPRESENT

Bit 4: USART present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the USART function.
0x1: PRESENT: This Flexcomm includes the USART function.

SPIPRESENT

Bit 5: SPI present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the SPI function.
0x1: PRESENT: This Flexcomm includes the SPI function.

I2CPRESENT

Bit 6: I2C present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2C function.
0x1: PRESENT: This Flexcomm includes the I2C function.

I2SPRESENT

Bit 7: I 2S present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2S function.
0x1: PRESENT: This Flexcomm includes the I2S function.

ID

Bits 12-31: Flexcomm ID..

PID

Peripheral identification register.

Offset: 0xffc, 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
ID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Major_Rev
r
Minor_Rev
r
Toggle Fields

Minor_Rev

Bits 8-11: Minor revision of module implementation..

Major_Rev

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

FLEXCOMM1

0x40087000: LPC5411x Flexcomm serial communication

9/10 fields covered. Toggle Registers

Show register map

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
0xff8 PSELID
0xffc PID

PSELID

Peripheral Select and Flexcomm ID register.

Offset: 0xff8, reset: 0x101000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID
r
I2SPRESENT
r
I2CPRESENT
r
SPIPRESENT
r
USARTPRESENT
r
LOCK
rw
PERSEL
rw
Toggle Fields

PERSEL

Bits 0-2: Peripheral Select. This field is writable by software..

Allowed values:
0: NO_PERIPH_SELECTED: No peripheral selected.
0x1: USART: USART function selected.
0x2: SPI: SPI function selected.
0x3: I2C: I2C function selected.
0x4: I2S_TRANSMIT: I2S transmit function selected.
0x5: I2S_RECEIVE: I2S receive function selected.

LOCK

Bit 3: Lock the peripheral select. This field is writable by software..

Allowed values:
0: UNLOCKED: Peripheral select can be changed by software.
0x1: LOCKED: Peripheral select is locked and cannot be changed until this Flexcomm or the entire device is reset.

USARTPRESENT

Bit 4: USART present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the USART function.
0x1: PRESENT: This Flexcomm includes the USART function.

SPIPRESENT

Bit 5: SPI present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the SPI function.
0x1: PRESENT: This Flexcomm includes the SPI function.

I2CPRESENT

Bit 6: I2C present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2C function.
0x1: PRESENT: This Flexcomm includes the I2C function.

I2SPRESENT

Bit 7: I 2S present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2S function.
0x1: PRESENT: This Flexcomm includes the I2S function.

ID

Bits 12-31: Flexcomm ID..

PID

Peripheral identification register.

Offset: 0xffc, 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
ID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Major_Rev
r
Minor_Rev
r
Toggle Fields

Minor_Rev

Bits 8-11: Minor revision of module implementation..

Major_Rev

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

FLEXCOMM2

0x40088000: LPC5411x Flexcomm serial communication

9/10 fields covered. Toggle Registers

Show register map

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
0xff8 PSELID
0xffc PID

PSELID

Peripheral Select and Flexcomm ID register.

Offset: 0xff8, reset: 0x101000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID
r
I2SPRESENT
r
I2CPRESENT
r
SPIPRESENT
r
USARTPRESENT
r
LOCK
rw
PERSEL
rw
Toggle Fields

PERSEL

Bits 0-2: Peripheral Select. This field is writable by software..

Allowed values:
0: NO_PERIPH_SELECTED: No peripheral selected.
0x1: USART: USART function selected.
0x2: SPI: SPI function selected.
0x3: I2C: I2C function selected.
0x4: I2S_TRANSMIT: I2S transmit function selected.
0x5: I2S_RECEIVE: I2S receive function selected.

LOCK

Bit 3: Lock the peripheral select. This field is writable by software..

Allowed values:
0: UNLOCKED: Peripheral select can be changed by software.
0x1: LOCKED: Peripheral select is locked and cannot be changed until this Flexcomm or the entire device is reset.

USARTPRESENT

Bit 4: USART present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the USART function.
0x1: PRESENT: This Flexcomm includes the USART function.

SPIPRESENT

Bit 5: SPI present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the SPI function.
0x1: PRESENT: This Flexcomm includes the SPI function.

I2CPRESENT

Bit 6: I2C present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2C function.
0x1: PRESENT: This Flexcomm includes the I2C function.

I2SPRESENT

Bit 7: I 2S present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2S function.
0x1: PRESENT: This Flexcomm includes the I2S function.

ID

Bits 12-31: Flexcomm ID..

PID

Peripheral identification register.

Offset: 0xffc, 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
ID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Major_Rev
r
Minor_Rev
r
Toggle Fields

Minor_Rev

Bits 8-11: Minor revision of module implementation..

Major_Rev

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

FLEXCOMM3

0x40089000: LPC5411x Flexcomm serial communication

9/10 fields covered. Toggle Registers

Show register map

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
0xff8 PSELID
0xffc PID

PSELID

Peripheral Select and Flexcomm ID register.

Offset: 0xff8, reset: 0x101000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID
r
I2SPRESENT
r
I2CPRESENT
r
SPIPRESENT
r
USARTPRESENT
r
LOCK
rw
PERSEL
rw
Toggle Fields

PERSEL

Bits 0-2: Peripheral Select. This field is writable by software..

Allowed values:
0: NO_PERIPH_SELECTED: No peripheral selected.
0x1: USART: USART function selected.
0x2: SPI: SPI function selected.
0x3: I2C: I2C function selected.
0x4: I2S_TRANSMIT: I2S transmit function selected.
0x5: I2S_RECEIVE: I2S receive function selected.

LOCK

Bit 3: Lock the peripheral select. This field is writable by software..

Allowed values:
0: UNLOCKED: Peripheral select can be changed by software.
0x1: LOCKED: Peripheral select is locked and cannot be changed until this Flexcomm or the entire device is reset.

USARTPRESENT

Bit 4: USART present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the USART function.
0x1: PRESENT: This Flexcomm includes the USART function.

SPIPRESENT

Bit 5: SPI present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the SPI function.
0x1: PRESENT: This Flexcomm includes the SPI function.

I2CPRESENT

Bit 6: I2C present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2C function.
0x1: PRESENT: This Flexcomm includes the I2C function.

I2SPRESENT

Bit 7: I 2S present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2S function.
0x1: PRESENT: This Flexcomm includes the I2S function.

ID

Bits 12-31: Flexcomm ID..

PID

Peripheral identification register.

Offset: 0xffc, 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
ID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Major_Rev
r
Minor_Rev
r
Toggle Fields

Minor_Rev

Bits 8-11: Minor revision of module implementation..

Major_Rev

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

FLEXCOMM4

0x4008a000: LPC5411x Flexcomm serial communication

9/10 fields covered. Toggle Registers

Show register map

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
0xff8 PSELID
0xffc PID

PSELID

Peripheral Select and Flexcomm ID register.

Offset: 0xff8, reset: 0x101000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID
r
I2SPRESENT
r
I2CPRESENT
r
SPIPRESENT
r
USARTPRESENT
r
LOCK
rw
PERSEL
rw
Toggle Fields

PERSEL

Bits 0-2: Peripheral Select. This field is writable by software..

Allowed values:
0: NO_PERIPH_SELECTED: No peripheral selected.
0x1: USART: USART function selected.
0x2: SPI: SPI function selected.
0x3: I2C: I2C function selected.
0x4: I2S_TRANSMIT: I2S transmit function selected.
0x5: I2S_RECEIVE: I2S receive function selected.

LOCK

Bit 3: Lock the peripheral select. This field is writable by software..

Allowed values:
0: UNLOCKED: Peripheral select can be changed by software.
0x1: LOCKED: Peripheral select is locked and cannot be changed until this Flexcomm or the entire device is reset.

USARTPRESENT

Bit 4: USART present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the USART function.
0x1: PRESENT: This Flexcomm includes the USART function.

SPIPRESENT

Bit 5: SPI present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the SPI function.
0x1: PRESENT: This Flexcomm includes the SPI function.

I2CPRESENT

Bit 6: I2C present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2C function.
0x1: PRESENT: This Flexcomm includes the I2C function.

I2SPRESENT

Bit 7: I 2S present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2S function.
0x1: PRESENT: This Flexcomm includes the I2S function.

ID

Bits 12-31: Flexcomm ID..

PID

Peripheral identification register.

Offset: 0xffc, 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
ID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Major_Rev
r
Minor_Rev
r
Toggle Fields

Minor_Rev

Bits 8-11: Minor revision of module implementation..

Major_Rev

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

FLEXCOMM5

0x40096000: LPC5411x Flexcomm serial communication

9/10 fields covered. Toggle Registers

Show register map

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
0xff8 PSELID
0xffc PID

PSELID

Peripheral Select and Flexcomm ID register.

Offset: 0xff8, reset: 0x101000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID
r
I2SPRESENT
r
I2CPRESENT
r
SPIPRESENT
r
USARTPRESENT
r
LOCK
rw
PERSEL
rw
Toggle Fields

PERSEL

Bits 0-2: Peripheral Select. This field is writable by software..

Allowed values:
0: NO_PERIPH_SELECTED: No peripheral selected.
0x1: USART: USART function selected.
0x2: SPI: SPI function selected.
0x3: I2C: I2C function selected.
0x4: I2S_TRANSMIT: I2S transmit function selected.
0x5: I2S_RECEIVE: I2S receive function selected.

LOCK

Bit 3: Lock the peripheral select. This field is writable by software..

Allowed values:
0: UNLOCKED: Peripheral select can be changed by software.
0x1: LOCKED: Peripheral select is locked and cannot be changed until this Flexcomm or the entire device is reset.

USARTPRESENT

Bit 4: USART present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the USART function.
0x1: PRESENT: This Flexcomm includes the USART function.

SPIPRESENT

Bit 5: SPI present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the SPI function.
0x1: PRESENT: This Flexcomm includes the SPI function.

I2CPRESENT

Bit 6: I2C present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2C function.
0x1: PRESENT: This Flexcomm includes the I2C function.

I2SPRESENT

Bit 7: I 2S present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2S function.
0x1: PRESENT: This Flexcomm includes the I2S function.

ID

Bits 12-31: Flexcomm ID..

PID

Peripheral identification register.

Offset: 0xffc, 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
ID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Major_Rev
r
Minor_Rev
r
Toggle Fields

Minor_Rev

Bits 8-11: Minor revision of module implementation..

Major_Rev

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

FLEXCOMM6

0x40097000: LPC5411x Flexcomm serial communication

9/10 fields covered. Toggle Registers

Show register map

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
0xff8 PSELID
0xffc PID

PSELID

Peripheral Select and Flexcomm ID register.

Offset: 0xff8, reset: 0x101000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID
r
I2SPRESENT
r
I2CPRESENT
r
SPIPRESENT
r
USARTPRESENT
r
LOCK
rw
PERSEL
rw
Toggle Fields

PERSEL

Bits 0-2: Peripheral Select. This field is writable by software..

Allowed values:
0: NO_PERIPH_SELECTED: No peripheral selected.
0x1: USART: USART function selected.
0x2: SPI: SPI function selected.
0x3: I2C: I2C function selected.
0x4: I2S_TRANSMIT: I2S transmit function selected.
0x5: I2S_RECEIVE: I2S receive function selected.

LOCK

Bit 3: Lock the peripheral select. This field is writable by software..

Allowed values:
0: UNLOCKED: Peripheral select can be changed by software.
0x1: LOCKED: Peripheral select is locked and cannot be changed until this Flexcomm or the entire device is reset.

USARTPRESENT

Bit 4: USART present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the USART function.
0x1: PRESENT: This Flexcomm includes the USART function.

SPIPRESENT

Bit 5: SPI present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the SPI function.
0x1: PRESENT: This Flexcomm includes the SPI function.

I2CPRESENT

Bit 6: I2C present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2C function.
0x1: PRESENT: This Flexcomm includes the I2C function.

I2SPRESENT

Bit 7: I 2S present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2S function.
0x1: PRESENT: This Flexcomm includes the I2S function.

ID

Bits 12-31: Flexcomm ID..

PID

Peripheral identification register.

Offset: 0xffc, 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
ID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Major_Rev
r
Minor_Rev
r
Toggle Fields

Minor_Rev

Bits 8-11: Minor revision of module implementation..

Major_Rev

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

FLEXCOMM7

0x40098000: LPC5411x Flexcomm serial communication

9/10 fields covered. Toggle Registers

Show register map

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
0xff8 PSELID
0xffc PID

PSELID

Peripheral Select and Flexcomm ID register.

Offset: 0xff8, reset: 0x101000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID
r
I2SPRESENT
r
I2CPRESENT
r
SPIPRESENT
r
USARTPRESENT
r
LOCK
rw
PERSEL
rw
Toggle Fields

PERSEL

Bits 0-2: Peripheral Select. This field is writable by software..

Allowed values:
0: NO_PERIPH_SELECTED: No peripheral selected.
0x1: USART: USART function selected.
0x2: SPI: SPI function selected.
0x3: I2C: I2C function selected.
0x4: I2S_TRANSMIT: I2S transmit function selected.
0x5: I2S_RECEIVE: I2S receive function selected.

LOCK

Bit 3: Lock the peripheral select. This field is writable by software..

Allowed values:
0: UNLOCKED: Peripheral select can be changed by software.
0x1: LOCKED: Peripheral select is locked and cannot be changed until this Flexcomm or the entire device is reset.

USARTPRESENT

Bit 4: USART present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the USART function.
0x1: PRESENT: This Flexcomm includes the USART function.

SPIPRESENT

Bit 5: SPI present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the SPI function.
0x1: PRESENT: This Flexcomm includes the SPI function.

I2CPRESENT

Bit 6: I2C present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2C function.
0x1: PRESENT: This Flexcomm includes the I2C function.

I2SPRESENT

Bit 7: I 2S present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2S function.
0x1: PRESENT: This Flexcomm includes the I2S function.

ID

Bits 12-31: Flexcomm ID..

PID

Peripheral identification register.

Offset: 0xffc, 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
ID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Major_Rev
r
Minor_Rev
r
Toggle Fields

Minor_Rev

Bits 8-11: Minor revision of module implementation..

Major_Rev

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

FLEXCOMM8

0x40099000: LPC5411x Flexcomm serial communication

9/10 fields covered. Toggle Registers

Show register map

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
0xff8 PSELID
0xffc PID

PSELID

Peripheral Select and Flexcomm ID register.

Offset: 0xff8, reset: 0x101000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID
r
I2SPRESENT
r
I2CPRESENT
r
SPIPRESENT
r
USARTPRESENT
r
LOCK
rw
PERSEL
rw
Toggle Fields

PERSEL

Bits 0-2: Peripheral Select. This field is writable by software..

Allowed values:
0: NO_PERIPH_SELECTED: No peripheral selected.
0x1: USART: USART function selected.
0x2: SPI: SPI function selected.
0x3: I2C: I2C function selected.
0x4: I2S_TRANSMIT: I2S transmit function selected.
0x5: I2S_RECEIVE: I2S receive function selected.

LOCK

Bit 3: Lock the peripheral select. This field is writable by software..

Allowed values:
0: UNLOCKED: Peripheral select can be changed by software.
0x1: LOCKED: Peripheral select is locked and cannot be changed until this Flexcomm or the entire device is reset.

USARTPRESENT

Bit 4: USART present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the USART function.
0x1: PRESENT: This Flexcomm includes the USART function.

SPIPRESENT

Bit 5: SPI present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the SPI function.
0x1: PRESENT: This Flexcomm includes the SPI function.

I2CPRESENT

Bit 6: I2C present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2C function.
0x1: PRESENT: This Flexcomm includes the I2C function.

I2SPRESENT

Bit 7: I 2S present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2S function.
0x1: PRESENT: This Flexcomm includes the I2S function.

ID

Bits 12-31: Flexcomm ID..

PID

Peripheral identification register.

Offset: 0xffc, 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
ID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Major_Rev
r
Minor_Rev
r
Toggle Fields

Minor_Rev

Bits 8-11: Minor revision of module implementation..

Major_Rev

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

FLEXCOMM9

0x4009a000: LPC5411x Flexcomm serial communication

9/10 fields covered. Toggle Registers

Show register map

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
0xff8 PSELID
0xffc PID

PSELID

Peripheral Select and Flexcomm ID register.

Offset: 0xff8, reset: 0x101000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID
r
I2SPRESENT
r
I2CPRESENT
r
SPIPRESENT
r
USARTPRESENT
r
LOCK
rw
PERSEL
rw
Toggle Fields

PERSEL

Bits 0-2: Peripheral Select. This field is writable by software..

Allowed values:
0: NO_PERIPH_SELECTED: No peripheral selected.
0x1: USART: USART function selected.
0x2: SPI: SPI function selected.
0x3: I2C: I2C function selected.
0x4: I2S_TRANSMIT: I2S transmit function selected.
0x5: I2S_RECEIVE: I2S receive function selected.

LOCK

Bit 3: Lock the peripheral select. This field is writable by software..

Allowed values:
0: UNLOCKED: Peripheral select can be changed by software.
0x1: LOCKED: Peripheral select is locked and cannot be changed until this Flexcomm or the entire device is reset.

USARTPRESENT

Bit 4: USART present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the USART function.
0x1: PRESENT: This Flexcomm includes the USART function.

SPIPRESENT

Bit 5: SPI present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the SPI function.
0x1: PRESENT: This Flexcomm includes the SPI function.

I2CPRESENT

Bit 6: I2C present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2C function.
0x1: PRESENT: This Flexcomm includes the I2C function.

I2SPRESENT

Bit 7: I 2S present indicator. This field is Read-only..

Allowed values:
0: NOT_PRESENT: This Flexcomm does not include the I2S function.
0x1: PRESENT: This Flexcomm includes the I2S function.

ID

Bits 12-31: Flexcomm ID..

PID

Peripheral identification register.

Offset: 0xffc, 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
ID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Major_Rev
r
Minor_Rev
r
Toggle Fields

Minor_Rev

Bits 8-11: Minor revision of module implementation..

Major_Rev

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

FMC

0x40034000: LPC5460x Flash signature generator

5/12 fields covered. Toggle Registers

Show register map

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 FCTR
0x10 FBWST
0x20 FMSSTART
0x24 FMSSTOP
0x2c FMSW[[0]]
0x30 FMSW[[1]]
0x34 FMSW[[2]]
0x38 FMSW[[3]]
0xfe0 FMSTAT
0xfe8 FMSTATCLR

FCTR

Control register

Offset: 0x0, reset: 0x200005, 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
FS_RD1
rw
FS_RD0
rw
Toggle Fields

FS_RD0

Bit 3: Value must be 0 for signature generation..

FS_RD1

Bit 4: Value must be 1 for signature generation..

FBWST

Wait state register

Offset: 0x10, reset: 0xC005, 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
WAITSTATES
rw
Toggle Fields

WAITSTATES

Bits 0-7: Wait states for signature generation..

FMSSTART

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
Toggle Fields

START

Bits 0-16: Signature generation start address (corresponds to AHB byte address bits[20:4])..

FMSSTOP

Signature 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
SIG_START
rw
STOP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STOP
rw
Toggle Fields

STOP

Bits 0-16: Stop address for signature generation (the word specified by STOP is included in the address range)..

SIG_START

Bit 17: When this bit is written to 1, signature generation starts..

FMSW[[0]]

Words of 128-bit signature word

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
SW
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SW
r
Toggle Fields

SW

Bits 0-31: Words of 128-bit signature (bits)..

FMSW[[1]]

Words of 128-bit signature word

Offset: 0x30, 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
SW
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SW
r
Toggle Fields

SW

Bits 0-31: Words of 128-bit signature (bits)..

FMSW[[2]]

Words of 128-bit signature word

Offset: 0x34, 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
SW
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SW
r
Toggle Fields

SW

Bits 0-31: Words of 128-bit signature (bits)..

FMSW[[3]]

Words of 128-bit signature word

Offset: 0x38, 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
SW
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SW
r
Toggle Fields

SW

Bits 0-31: Words of 128-bit signature (bits)..

FMSTAT

Signature generation status register

Offset: 0xfe0, 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
SIG_DONE
r
Toggle Fields

SIG_DONE

Bit 2: When 1, a previously started signature generation has completed..

FMSTATCLR

Signature generation status clear register

Offset: 0xfe8, 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
SIG_DONE_CLR
w
Toggle Fields

SIG_DONE_CLR

Bit 2: Writing a 1 to this bits clears the signature generation completion flag (SIG_DONE) in the FMSTAT register..

GINT0

0x40002000: LPC5411x Group GPIO input interrupt (GINT0/1)

3/7 fields covered. Toggle Registers

Show register map

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
0x20 PORT_POL[[0]]
0x24 PORT_POL[[1]]
0x40 PORT_ENA[[0]]
0x44 PORT_ENA[[1]]

CTRL

GPIO grouped interrupt 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
TRIG
rw
COMB
rw
INT
rw
Toggle Fields

INT

Bit 0: Group interrupt status. This bit is cleared by writing a one to it. Writing zero has no effect..

Allowed values:
0: NO_REQUEST: No request. No interrupt request is pending.
0x1: REQUEST_ACTIVE: Request active. Interrupt request is active.

COMB

Bit 1: Combine enabled inputs for group interrupt.

Allowed values:
0: OR: Or. OR functionality: A grouped interrupt is generated when any one of the enabled inputs is active (based on its programmed polarity).
0x1: AND: And. AND functionality: An interrupt is generated when all enabled bits are active (based on their programmed polarity).

TRIG

Bit 2: Group interrupt trigger.

Allowed values:
0: EDGE_TRIGGERED: Edge-triggered.
0x1: LEVEL_TRIGGERED: Level-triggered.

PORT_POL[[0]]

GPIO grouped interrupt port 0 polarity register

Offset: 0x20, reset: 0xFFFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
POL
rw
Toggle Fields

POL

Bits 0-31: Configure pin polarity of port m pins for group interrupt. Bit n corresponds to pin PIOm_n of port m. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt..

PORT_POL[[1]]

GPIO grouped interrupt port 0 polarity register

Offset: 0x24, reset: 0xFFFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
POL
rw
Toggle Fields

POL

Bits 0-31: Configure pin polarity of port m pins for group interrupt. Bit n corresponds to pin PIOm_n of port m. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt..

PORT_ENA[[0]]

GPIO grouped interrupt port 0 enable register

Offset: 0x40, 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
ENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ENA
rw
Toggle Fields

ENA

Bits 0-31: Enable port 0 pin for group interrupt. Bit n corresponds to pin Pm_n of port m. 0 = the port 0 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0 pin is enabled and contributes to the grouped interrupt..

PORT_ENA[[1]]

GPIO grouped interrupt port 0 enable 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
ENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ENA
rw
Toggle Fields

ENA

Bits 0-31: Enable port 0 pin for group interrupt. Bit n corresponds to pin Pm_n of port m. 0 = the port 0 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0 pin is enabled and contributes to the grouped interrupt..

GINT1

0x40003000: LPC5411x Group GPIO input interrupt (GINT0/1)

3/7 fields covered. Toggle Registers

Show register map

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
0x20 PORT_POL[[0]]
0x24 PORT_POL[[1]]
0x40 PORT_ENA[[0]]
0x44 PORT_ENA[[1]]

CTRL

GPIO grouped interrupt 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
TRIG
rw
COMB
rw
INT
rw
Toggle Fields

INT

Bit 0: Group interrupt status. This bit is cleared by writing a one to it. Writing zero has no effect..

Allowed values:
0: NO_REQUEST: No request. No interrupt request is pending.
0x1: REQUEST_ACTIVE: Request active. Interrupt request is active.

COMB

Bit 1: Combine enabled inputs for group interrupt.

Allowed values:
0: OR: Or. OR functionality: A grouped interrupt is generated when any one of the enabled inputs is active (based on its programmed polarity).
0x1: AND: And. AND functionality: An interrupt is generated when all enabled bits are active (based on their programmed polarity).

TRIG

Bit 2: Group interrupt trigger.

Allowed values:
0: EDGE_TRIGGERED: Edge-triggered.
0x1: LEVEL_TRIGGERED: Level-triggered.

PORT_POL[[0]]

GPIO grouped interrupt port 0 polarity register

Offset: 0x20, reset: 0xFFFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
POL
rw
Toggle Fields

POL

Bits 0-31: Configure pin polarity of port m pins for group interrupt. Bit n corresponds to pin PIOm_n of port m. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt..

PORT_POL[[1]]

GPIO grouped interrupt port 0 polarity register

Offset: 0x24, reset: 0xFFFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
POL
rw
Toggle Fields

POL

Bits 0-31: Configure pin polarity of port m pins for group interrupt. Bit n corresponds to pin PIOm_n of port m. 0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to the group interrupt. 1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to the group interrupt..

PORT_ENA[[0]]

GPIO grouped interrupt port 0 enable register

Offset: 0x40, 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
ENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ENA
rw
Toggle Fields

ENA

Bits 0-31: Enable port 0 pin for group interrupt. Bit n corresponds to pin Pm_n of port m. 0 = the port 0 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0 pin is enabled and contributes to the grouped interrupt..

PORT_ENA[[1]]

GPIO grouped interrupt port 0 enable 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
ENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ENA
rw
Toggle Fields

ENA

Bits 0-31: Enable port 0 pin for group interrupt. Bit n corresponds to pin Pm_n of port m. 0 = the port 0 pin is disabled and does not contribute to the grouped interrupt. 1 = the port 0 pin is enabled and contributes to the grouped interrupt..

GPIO

0x4008c000: LPC5411x General Purpose I/O (GPIO)

0/72 fields covered. Toggle Registers

Show register map

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 B_[%s] [0]
0x20 B_[%s] [1]
0x40 B_[%s] [2]
0x60 B_[%s] [3]
0x80 B_[%s] [4]
0xa0 B_[%s] [5]
0x1000 W_[%s] [0]
0x1080 W_[%s] [1]
0x1100 W_[%s] [2]
0x1180 W_[%s] [3]
0x1200 W_[%s] [4]
0x1280 W_[%s] [5]
0x2000 DIR[[0]]
0x2004 DIR[[1]]
0x2008 DIR[[2]]
0x200c DIR[[3]]
0x2010 DIR[[4]]
0x2014 DIR[[5]]
0x2080 MASK[[0]]
0x2084 MASK[[1]]
0x2088 MASK[[2]]
0x208c MASK[[3]]
0x2090 MASK[[4]]
0x2094 MASK[[5]]
0x2100 PIN[[0]]
0x2104 PIN[[1]]
0x2108 PIN[[2]]
0x210c PIN[[3]]
0x2110 PIN[[4]]
0x2114 PIN[[5]]
0x2180 MPIN[[0]]
0x2184 MPIN[[1]]
0x2188 MPIN[[2]]
0x218c MPIN[[3]]
0x2190 MPIN[[4]]
0x2194 MPIN[[5]]
0x2200 SET[[0]]
0x2204 SET[[1]]
0x2208 SET[[2]]
0x220c SET[[3]]
0x2210 SET[[4]]
0x2214 SET[[5]]
0x2280 CLR[[0]]
0x2284 CLR[[1]]
0x2288 CLR[[2]]
0x228c CLR[[3]]
0x2290 CLR[[4]]
0x2294 CLR[[5]]
0x2300 NOT[[0]]
0x2304 NOT[[1]]
0x2308 NOT[[2]]
0x230c NOT[[3]]
0x2310 NOT[[4]]
0x2314 NOT[[5]]
0x2380 DIRSET[[0]]
0x2384 DIRSET[[1]]
0x2388 DIRSET[[2]]
0x238c DIRSET[[3]]
0x2390 DIRSET[[4]]
0x2394 DIRSET[[5]]
0x2400 DIRCLR[[0]]
0x2404 DIRCLR[[1]]
0x2408 DIRCLR[[2]]
0x240c DIRCLR[[3]]
0x2410 DIRCLR[[4]]
0x2414 DIRCLR[[5]]
0x2480 DIRNOT[[0]]
0x2484 DIRNOT[[1]]
0x2488 DIRNOT[[2]]
0x248c DIRNOT[[3]]
0x2490 DIRNOT[[4]]
0x2494 DIRNOT[[5]]

B_[%s] [0]

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
Toggle Fields

PBYTE

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..

B_[%s] [1]

Byte pin registers for all port 0 and 1 GPIO pins

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
PBYTE
rw
Toggle Fields

PBYTE

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..

B_[%s] [2]

Byte pin registers for all port 0 and 1 GPIO pins

Offset: 0x40, 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
Toggle Fields

PBYTE

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..

B_[%s] [3]

Byte pin registers for all port 0 and 1 GPIO pins

Offset: 0x60, 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
Toggle Fields

PBYTE

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..

B_[%s] [4]

Byte pin registers for all port 0 and 1 GPIO pins

Offset: 0x80, 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
Toggle Fields

PBYTE

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..

B_[%s] [5]

Byte pin registers for all port 0 and 1 GPIO pins

Offset: 0xa0, 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
Toggle Fields

PBYTE

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..

W_[%s] [0]

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
Toggle Fields

PWORD

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..

W_[%s] [1]

Word pin registers for all port 0 and 1 GPIO pins

Offset: 0x1080, 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
Toggle Fields

PWORD

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..

W_[%s] [2]

Word pin registers for all port 0 and 1 GPIO pins

Offset: 0x1100, 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
Toggle Fields

PWORD

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..

W_[%s] [3]

Word pin registers for all port 0 and 1 GPIO pins

Offset: 0x1180, 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
Toggle Fields

PWORD

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..

W_[%s] [4]

Word pin registers for all port 0 and 1 GPIO pins

Offset: 0x1200, 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
Toggle Fields

PWORD

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..

W_[%s] [5]

Word pin registers for all port 0 and 1 GPIO pins

Offset: 0x1280, 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
Toggle Fields

PWORD

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..

DIR[[0]]

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
Toggle Fields

DIRP

Bits 0-31: Selects pin direction for pin PIOm_n (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = input. 1 = output..

DIR[[1]]

Direction registers

Offset: 0x2004, 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
Toggle Fields

DIRP

Bits 0-31: Selects pin direction for pin PIOm_n (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = input. 1 = output..

DIR[[2]]

Direction registers

Offset: 0x2008, 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
Toggle Fields

DIRP

Bits 0-31: Selects pin direction for pin PIOm_n (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = input. 1 = output..

DIR[[3]]

Direction registers

Offset: 0x200c, 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
Toggle Fields

DIRP

Bits 0-31: Selects pin direction for pin PIOm_n (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = input. 1 = output..

DIR[[4]]

Direction registers

Offset: 0x2010, 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
Toggle Fields

DIRP

Bits 0-31: Selects pin direction for pin PIOm_n (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = input. 1 = output..

DIR[[5]]

Direction registers

Offset: 0x2014, 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
Toggle Fields

DIRP

Bits 0-31: Selects pin direction for pin PIOm_n (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = input. 1 = output..

MASK[[0]]

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
Toggle Fields

MASKP

Bits 0-31: 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..

MASK[[1]]

Mask register

Offset: 0x2084, 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
Toggle Fields

MASKP

Bits 0-31: 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..

MASK[[2]]

Mask register

Offset: 0x2088, 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
Toggle Fields

MASKP

Bits 0-31: 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..

MASK[[3]]

Mask register

Offset: 0x208c, 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
Toggle Fields

MASKP

Bits 0-31: 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..

MASK[[4]]

Mask register

Offset: 0x2090, 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
Toggle Fields

MASKP

Bits 0-31: 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..

MASK[[5]]

Mask register

Offset: 0x2094, 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
Toggle Fields

MASKP

Bits 0-31: 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..

PIN[[0]]

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
Toggle Fields

PORT

Bits 0-31: Reads pin states or loads output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit..

PIN[[1]]

Port pin register

Offset: 0x2104, 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
Toggle Fields

PORT

Bits 0-31: Reads pin states or loads output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit..

PIN[[2]]

Port pin register

Offset: 0x2108, 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
Toggle Fields

PORT

Bits 0-31: Reads pin states or loads output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit..

PIN[[3]]

Port pin register

Offset: 0x210c, 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
Toggle Fields

PORT

Bits 0-31: Reads pin states or loads output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit..

PIN[[4]]

Port pin register

Offset: 0x2110, 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
Toggle Fields

PORT

Bits 0-31: Reads pin states or loads output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit..

PIN[[5]]

Port pin register

Offset: 0x2114, 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
Toggle Fields

PORT

Bits 0-31: Reads pin states or loads output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit..

MPIN[[0]]

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
Toggle Fields

MPORTP

Bits 0-31: 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..

MPIN[[1]]

Masked port register

Offset: 0x2184, 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
Toggle Fields

MPORTP

Bits 0-31: 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..

MPIN[[2]]

Masked port register

Offset: 0x2188, 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
Toggle Fields

MPORTP

Bits 0-31: 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..

MPIN[[3]]

Masked port register

Offset: 0x218c, 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
Toggle Fields

MPORTP

Bits 0-31: 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..

MPIN[[4]]

Masked port register

Offset: 0x2190, 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
Toggle Fields

MPORTP

Bits 0-31: 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..

MPIN[[5]]

Masked port register

Offset: 0x2194, 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
Toggle Fields

MPORTP

Bits 0-31: 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..

SET[[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
Toggle Fields

SETP

Bits 0-31: Read or set output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: output bit: write: no operation. 1 = Read: output bit; write: set output bit..

SET[[1]]

Write: Set register for port Read: output bits for port

Offset: 0x2204, 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
Toggle Fields

SETP

Bits 0-31: Read or set output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: output bit: write: no operation. 1 = Read: output bit; write: set output bit..

SET[[2]]

Write: Set register for port Read: output bits for port

Offset: 0x2208, 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
Toggle Fields

SETP

Bits 0-31: Read or set output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: output bit: write: no operation. 1 = Read: output bit; write: set output bit..

SET[[3]]

Write: Set register for port Read: output bits for port

Offset: 0x220c, 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
Toggle Fields

SETP

Bits 0-31: Read or set output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: output bit: write: no operation. 1 = Read: output bit; write: set output bit..

SET[[4]]

Write: Set register for port Read: output bits for port

Offset: 0x2210, 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
Toggle Fields

SETP

Bits 0-31: Read or set output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: output bit: write: no operation. 1 = Read: output bit; write: set output bit..

SET[[5]]

Write: Set register for port Read: output bits for port

Offset: 0x2214, 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
Toggle Fields

SETP

Bits 0-31: Read or set output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: output bit: write: no operation. 1 = Read: output bit; write: set output bit..

CLR[[0]]

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 Fields

CLRP

Bits 0-31: Clear output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Clear output bit..

CLR[[1]]

Clear port

Offset: 0x2284, 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 Fields

CLRP

Bits 0-31: Clear output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Clear output bit..

CLR[[2]]

Clear port

Offset: 0x2288, 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 Fields

CLRP

Bits 0-31: Clear output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Clear output bit..

CLR[[3]]

Clear port

Offset: 0x228c, 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 Fields

CLRP

Bits 0-31: Clear output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Clear output bit..

CLR[[4]]

Clear port

Offset: 0x2290, 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 Fields

CLRP

Bits 0-31: Clear output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Clear output bit..

CLR[[5]]

Clear port

Offset: 0x2294, 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 Fields

CLRP

Bits 0-31: Clear output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Clear output bit..

NOT[[0]]

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
Toggle Fields

NOTP

Bits 0-31: Toggle output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = no operation. 1 = Toggle output bit..

NOT[[1]]

Toggle port

Offset: 0x2304, 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
Toggle Fields

NOTP

Bits 0-31: Toggle output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = no operation. 1 = Toggle output bit..

NOT[[2]]

Toggle port

Offset: 0x2308, 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
Toggle Fields

NOTP

Bits 0-31: Toggle output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = no operation. 1 = Toggle output bit..

NOT[[3]]

Toggle port

Offset: 0x230c, 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
Toggle Fields

NOTP

Bits 0-31: Toggle output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = no operation. 1 = Toggle output bit..

NOT[[4]]

Toggle port

Offset: 0x2310, 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
Toggle Fields

NOTP

Bits 0-31: Toggle output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = no operation. 1 = Toggle output bit..

NOT[[5]]

Toggle port

Offset: 0x2314, 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
Toggle Fields

NOTP

Bits 0-31: Toggle output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = no operation. 1 = Toggle output bit..

DIRSET[[0]]

Set pin direction bits for port

Offset: 0x2380, 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
DIRSETP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRSETP
w
Toggle Fields

DIRSETP

Bits 0-28: Set direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Set direction bit..

DIRSET[[1]]

Set pin direction bits for port

Offset: 0x2384, 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
DIRSETP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRSETP
w
Toggle Fields

DIRSETP

Bits 0-28: Set direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Set direction bit..

DIRSET[[2]]

Set pin direction bits for port

Offset: 0x2388, 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
DIRSETP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRSETP
w
Toggle Fields

DIRSETP

Bits 0-28: Set direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Set direction bit..

DIRSET[[3]]

Set pin direction bits for port

Offset: 0x238c, 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
DIRSETP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRSETP
w
Toggle Fields

DIRSETP

Bits 0-28: Set direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Set direction bit..

DIRSET[[4]]

Set pin direction bits for port

Offset: 0x2390, 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
DIRSETP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRSETP
w
Toggle Fields

DIRSETP

Bits 0-28: Set direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Set direction bit..

DIRSET[[5]]

Set pin direction bits for port

Offset: 0x2394, 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
DIRSETP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRSETP
w
Toggle Fields

DIRSETP

Bits 0-28: Set direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Set direction bit..

DIRCLR[[0]]

Clear pin direction bits for port

Offset: 0x2400, 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
DIRCLRP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRCLRP
w
Toggle Fields

DIRCLRP

Bits 0-28: Clear direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Clear direction bit..

DIRCLR[[1]]

Clear pin direction bits for port

Offset: 0x2404, 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
DIRCLRP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRCLRP
w
Toggle Fields

DIRCLRP

Bits 0-28: Clear direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Clear direction bit..

DIRCLR[[2]]

Clear pin direction bits for port

Offset: 0x2408, 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
DIRCLRP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRCLRP
w
Toggle Fields

DIRCLRP

Bits 0-28: Clear direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Clear direction bit..

DIRCLR[[3]]

Clear pin direction bits for port

Offset: 0x240c, 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
DIRCLRP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRCLRP
w
Toggle Fields

DIRCLRP

Bits 0-28: Clear direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Clear direction bit..

DIRCLR[[4]]

Clear pin direction bits for port

Offset: 0x2410, 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
DIRCLRP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRCLRP
w
Toggle Fields

DIRCLRP

Bits 0-28: Clear direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Clear direction bit..

DIRCLR[[5]]

Clear pin direction bits for port

Offset: 0x2414, 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
DIRCLRP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRCLRP
w
Toggle Fields

DIRCLRP

Bits 0-28: Clear direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Clear direction bit..

DIRNOT[[0]]

Toggle pin direction bits for port

Offset: 0x2480, 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
DIRNOTP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRNOTP
w
Toggle Fields

DIRNOTP

Bits 0-28: Toggle direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = no operation. 1 = Toggle direction bit..

DIRNOT[[1]]

Toggle pin direction bits for port

Offset: 0x2484, 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
DIRNOTP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRNOTP
w
Toggle Fields

DIRNOTP

Bits 0-28: Toggle direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = no operation. 1 = Toggle direction bit..

DIRNOT[[2]]

Toggle pin direction bits for port

Offset: 0x2488, 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
DIRNOTP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRNOTP
w
Toggle Fields

DIRNOTP

Bits 0-28: Toggle direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = no operation. 1 = Toggle direction bit..

DIRNOT[[3]]

Toggle pin direction bits for port

Offset: 0x248c, 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
DIRNOTP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRNOTP
w
Toggle Fields

DIRNOTP

Bits 0-28: Toggle direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = no operation. 1 = Toggle direction bit..

DIRNOT[[4]]

Toggle pin direction bits for port

Offset: 0x2490, 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
DIRNOTP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRNOTP
w
Toggle Fields

DIRNOTP

Bits 0-28: Toggle direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = no operation. 1 = Toggle direction bit..

DIRNOT[[5]]

Toggle pin direction bits for port

Offset: 0x2494, 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
DIRNOTP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRNOTP
w
Toggle Fields

DIRNOTP

Bits 0-28: Toggle direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = no operation. 1 = Toggle direction bit..

I2C0

0x40086000: LPC5411x I2C-bus interfaces

72/93 fields covered. Toggle Registers

Show register map

CFG

Configuration for shared functions.

Offset: 0x800, reset: 0, access: read-write

6/6 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
HSCAPABLE
rw
MONCLKSTR
rw
TIMEOUTEN
rw
MONEN
rw
SLVEN
rw
MSTEN
rw
Toggle Fields

MSTEN

Bit 0: Master Enable. When disabled, configurations settings for the Master function are not changed, but the Master function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Master function is disabled.
0x1: ENABLED: Enabled. The I2C Master function is enabled.

SLVEN

Bit 1: Slave Enable. When disabled, configurations settings for the Slave function are not changed, but the Slave function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C slave function is disabled.
0x1: ENABLED: Enabled. The I2C slave function is enabled.

MONEN

Bit 2: Monitor Enable. When disabled, configurations settings for the Monitor function are not changed, but the Monitor function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Monitor function is disabled.
0x1: ENABLED: Enabled. The I2C Monitor function is enabled.

TIMEOUTEN

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.

MONCLKSTR

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.

HSCAPABLE

Bit 5: High-speed mode Capable enable. Since High Speed mode alters the way I2C pins drive and filter, as well as the timing for certain I2C signalling, enabling High-speed mode applies to all functions: Master, Slave, and Monitor..

Allowed values:
0: FAST_MODE_PLUS: Fast-mode plus. The I 2C interface will support Standard-mode, Fast-mode, and Fast-mode Plus, to the extent that the pin electronics support these modes. Any changes that need to be made to the pin controls, such as changing the drive strength or filtering, must be made by software via the IOCON register associated with each I2C pin,
0x1: HIGH_SPEED: High-speed. In addition to Standard-mode, Fast-mode, and Fast-mode Plus, the I 2C interface will support High-speed mode to the extent that the pin electronics support these modes. See Section 25.7.2.2 for more information.

STAT

Status register for Master, Slave, and Monitor functions.

Offset: 0x804, 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
Toggle Fields

MSTPENDING

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.

MSTSTATE

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.

MSTARBLOSS

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.

MSTSTSTPERR

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.

SLVPENDING

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.

SLVSTATE

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).

SLVNOTSTR

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.

SLVIDX

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.

SLVSEL

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.

SLVDESEL

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.

MONRDY

Bit 16: Monitor Ready. This flag is cleared when the MONRXDAT register is read..

Allowed values:
0: NO_DATA: No data. The Monitor function does not currently have data available.
0x1: DATA_WAITING: Data waiting. The Monitor function has data waiting to be read.

MONOV

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.

MONACTIVE

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.

MONIDLE

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.

EVENTTIMEOUT

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.

SCLTIMEOUT

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.

INTENSET

Interrupt Enable Set and read register.

Offset: 0x808, 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
Toggle Fields

MSTPENDINGEN

Bit 0: Master Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstPending interrupt is disabled.
0x1: ENABLED: Enabled. The MstPending interrupt is enabled.

MSTARBLOSSEN

Bit 4: Master Arbitration Loss interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstArbLoss interrupt is disabled.
0x1: ENABLED: Enabled. The MstArbLoss interrupt is enabled.

MSTSTSTPERREN

Bit 6: Master Start/Stop Error interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstStStpErr interrupt is disabled.
0x1: ENABLED: Enabled. The MstStStpErr interrupt is enabled.

SLVPENDINGEN

Bit 8: Slave Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvPending interrupt is disabled.
0x1: ENABLED: Enabled. The SlvPending interrupt is enabled.

SLVNOTSTREN

Bit 11: Slave Not Stretching interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvNotStr interrupt is disabled.
0x1: ENABLED: Enabled. The SlvNotStr interrupt is enabled.

SLVDESELEN

Bit 15: Slave Deselect interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvDeSel interrupt is disabled.
0x1: ENABLED: Enabled. The SlvDeSel interrupt is enabled.

MONRDYEN

Bit 16: Monitor data Ready interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonRdy interrupt is disabled.
0x1: ENABLED: Enabled. The MonRdy interrupt is enabled.

MONOVEN

Bit 17: Monitor Overrun interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonOv interrupt is disabled.
0x1: ENABLED: Enabled. The MonOv interrupt is enabled.

MONIDLEEN

Bit 19: Monitor Idle interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonIdle interrupt is disabled.
0x1: ENABLED: Enabled. The MonIdle interrupt is enabled.

EVENTTIMEOUTEN

Bit 24: Event time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The Event time-out interrupt is disabled.
0x1: ENABLED: Enabled. The Event time-out interrupt is enabled.

SCLTIMEOUTEN

Bit 25: SCL time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SCL time-out interrupt is disabled.
0x1: ENABLED: Enabled. The SCL time-out interrupt is enabled.

INTENCLR

Interrupt Enable Clear register.

Offset: 0x80c, 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
Toggle Fields

MSTPENDINGCLR

Bit 0: Master Pending interrupt clear. Writing 1 to this bit clears the corresponding bit in the INTENSET register if implemented..

MSTARBLOSSCLR

Bit 4: Master Arbitration Loss interrupt clear..

MSTSTSTPERRCLR

Bit 6: Master Start/Stop Error interrupt clear..

SLVPENDINGCLR

Bit 8: Slave Pending interrupt clear..

SLVNOTSTRCLR

Bit 11: Slave Not Stretching interrupt clear..

SLVDESELCLR

Bit 15: Slave Deselect interrupt clear..

MONRDYCLR

Bit 16: Monitor data Ready interrupt clear..

MONOVCLR

Bit 17: Monitor Overrun interrupt clear..

MONIDLECLR

Bit 19: Monitor Idle interrupt clear..

EVENTTIMEOUTCLR

Bit 24: Event time-out interrupt clear..

SCLTIMEOUTCLR

Bit 25: SCL time-out interrupt clear..

TIMEOUT

Time-out value register.

Offset: 0x810, 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
Toggle Fields

TOMIN

Bits 0-3: Time-out time value, bottom four bits. These are hard-wired to 0xF. This gives a minimum time-out of 16 I2C function clocks and also a time-out resolution of 16 I2C function clocks..

TO

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..

CLKDIV

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: 0x814, 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
Toggle Fields

DIVVAL

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..

INTSTAT

Interrupt Status register for Master, Slave, and Monitor functions.

Offset: 0x818, 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
Toggle Fields

MSTPENDING

Bit 0: Master Pending..

MSTARBLOSS

Bit 4: Master Arbitration Loss flag..

MSTSTSTPERR

Bit 6: Master Start/Stop Error flag..

SLVPENDING

Bit 8: Slave Pending..

SLVNOTSTR

Bit 11: Slave Not Stretching status..

SLVDESEL

Bit 15: Slave Deselected flag..

MONRDY

Bit 16: Monitor Ready..

MONOV

Bit 17: Monitor Overflow flag..

MONIDLE

Bit 19: Monitor Idle flag..

EVENTTIMEOUT

Bit 24: Event time-out Interrupt flag..

SCLTIMEOUT

Bit 25: SCL time-out Interrupt flag..

MSTCTL

Master control register.

Offset: 0x820, 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
MSTDMA
rw
MSTSTOP
rw
MSTSTART
rw
MSTCONTINUE
w
Toggle Fields

MSTCONTINUE

Bit 0: Master Continue. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Master function to continue to the next operation. This must done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation.

MSTSTART

Bit 1: Master Start control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: START: Start. A Start will be generated on the I2C bus at the next allowed time.

MSTSTOP

Bit 2: Master Stop control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: STOP: Stop. A Stop will be generated on the I2C bus at the next allowed time, preceded by a NACK to the slave if the master is receiving data from the slave (Master Receiver mode).

MSTDMA

Bit 3: Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write..

Allowed values:
0: DISABLED: Disable. No DMA requests are generated for master operation.
0x1: ENABLED: Enable. A DMA request is generated for I2C master data operations. When this I2C master is generating Acknowledge bits in Master Receiver mode, the acknowledge is generated automatically.

MSTTIME

Master timing configuration.

Offset: 0x824, 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
Toggle Fields

MSTSCLLOW

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.

MSTSCLHIGH

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.

MSTDAT

Combined Master receiver and transmitter data register.

Offset: 0x828, 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
Toggle Fields

DATA

Bits 0-7: Master function data register. Read: read the most recently received data for the Master function. Write: transmit data using the Master function..

SLVCTL

Slave control register.

Offset: 0x840, reset: 0, access: read-write

5/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
AUTOMATCHREAD
rw
AUTOACK
rw
SLVDMA
rw
SLVNACK
rw
SLVCONTINUE
rw
Toggle Fields

SLVCONTINUE

Bit 0: Slave Continue..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Slave function to continue to the next operation, by clearing the SLVPENDING flag in the STAT register. This must be done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation. Automatic Operation has different requirements. SLVCONTINUE should not be set unless SLVPENDING = 1.

SLVNACK

Bit 1: Slave NACK..

Allowed values:
0: NO_EFFECT: No effect.
0x1: NACK: NACK. Causes the Slave function to NACK the master when the slave is receiving data from the master (Slave Receiver mode).

SLVDMA

Bit 3: Slave DMA enable..

Allowed values:
0: DISABLED: Disabled. No DMA requests are issued for Slave mode operation.
0x1: ENABLED: Enabled. DMA requests are issued for I2C slave data transmission and reception.

AUTOACK

Bit 8: Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt..

Allowed values:
0: NORMAL: Normal, non-automatic operation. If AUTONACK = 0, an SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, received addresses are NACKed (ignored).
0x1: AUTOMATIC_ACK: A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, the behavior will depend on the AUTONACK bit in the SLVADR0 register: if AUTONACK is set, then it will be Nacked; else if AUTONACK is clear, then a SlvPending interrupt is generated.

AUTOMATCHREAD

Bit 9: When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation..

Allowed values:
0: I2C_WRITE: The expected next operation in Automatic Mode is an I2C write.
0x1: I2C_READ: The expected next operation in Automatic Mode is an I2C read.

SLVDAT

Combined Slave receiver and transmitter data register.

Offset: 0x844, 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
Toggle Fields

DATA

Bits 0-7: Slave function data register. Read: read the most recently received data for the Slave function. Write: transmit data using the Slave function..

SLVADR[[0]]

Slave address register.

Offset: 0x848, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[1]]

Slave address register.

Offset: 0x84c, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[2]]

Slave address register.

Offset: 0x850, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[3]]

Slave address register.

Offset: 0x854, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVQUAL0

Slave Qualification for address 0.

Offset: 0x858, 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
Toggle Fields

QUALMODE0

Bit 0: Qualify mode for slave address 0..

Allowed values:
0: MASK: Mask. The SLVQUAL0 field is used as a logical mask for matching address 0.
0x1: EXTEND: Extend. The SLVQUAL0 field is used to extend address 0 matching in a range of addresses.

SLVQUAL0

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])..

MONRXDAT

Monitor receiver data register.

Offset: 0x880, 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
Toggle Fields

MONRXDAT

Bits 0-7: Monitor function Receiver Data. This reflects every data byte that passes on the I2C pins..

MONSTART

Bit 8: Monitor Received Start..

Allowed values:
0: NO_START_DETECTED: No start detected. The Monitor function has not detected a Start event on the I2C bus.
0x1: START_DETECTED: Start detected. The Monitor function has detected a Start event on the I2C bus.

MONRESTART

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.

MONNACK

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.

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

I2C1

0x40087000: LPC5411x I2C-bus interfaces

72/93 fields covered. Toggle Registers

Show register map

CFG

Configuration for shared functions.

Offset: 0x800, reset: 0, access: read-write

6/6 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
HSCAPABLE
rw
MONCLKSTR
rw
TIMEOUTEN
rw
MONEN
rw
SLVEN
rw
MSTEN
rw
Toggle Fields

MSTEN

Bit 0: Master Enable. When disabled, configurations settings for the Master function are not changed, but the Master function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Master function is disabled.
0x1: ENABLED: Enabled. The I2C Master function is enabled.

SLVEN

Bit 1: Slave Enable. When disabled, configurations settings for the Slave function are not changed, but the Slave function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C slave function is disabled.
0x1: ENABLED: Enabled. The I2C slave function is enabled.

MONEN

Bit 2: Monitor Enable. When disabled, configurations settings for the Monitor function are not changed, but the Monitor function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Monitor function is disabled.
0x1: ENABLED: Enabled. The I2C Monitor function is enabled.

TIMEOUTEN

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.

MONCLKSTR

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.

HSCAPABLE

Bit 5: High-speed mode Capable enable. Since High Speed mode alters the way I2C pins drive and filter, as well as the timing for certain I2C signalling, enabling High-speed mode applies to all functions: Master, Slave, and Monitor..

Allowed values:
0: FAST_MODE_PLUS: Fast-mode plus. The I 2C interface will support Standard-mode, Fast-mode, and Fast-mode Plus, to the extent that the pin electronics support these modes. Any changes that need to be made to the pin controls, such as changing the drive strength or filtering, must be made by software via the IOCON register associated with each I2C pin,
0x1: HIGH_SPEED: High-speed. In addition to Standard-mode, Fast-mode, and Fast-mode Plus, the I 2C interface will support High-speed mode to the extent that the pin electronics support these modes. See Section 25.7.2.2 for more information.

STAT

Status register for Master, Slave, and Monitor functions.

Offset: 0x804, 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
Toggle Fields

MSTPENDING

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.

MSTSTATE

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.

MSTARBLOSS

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.

MSTSTSTPERR

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.

SLVPENDING

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.

SLVSTATE

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).

SLVNOTSTR

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.

SLVIDX

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.

SLVSEL

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.

SLVDESEL

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.

MONRDY

Bit 16: Monitor Ready. This flag is cleared when the MONRXDAT register is read..

Allowed values:
0: NO_DATA: No data. The Monitor function does not currently have data available.
0x1: DATA_WAITING: Data waiting. The Monitor function has data waiting to be read.

MONOV

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.

MONACTIVE

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.

MONIDLE

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.

EVENTTIMEOUT

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.

SCLTIMEOUT

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.

INTENSET

Interrupt Enable Set and read register.

Offset: 0x808, 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
Toggle Fields

MSTPENDINGEN

Bit 0: Master Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstPending interrupt is disabled.
0x1: ENABLED: Enabled. The MstPending interrupt is enabled.

MSTARBLOSSEN

Bit 4: Master Arbitration Loss interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstArbLoss interrupt is disabled.
0x1: ENABLED: Enabled. The MstArbLoss interrupt is enabled.

MSTSTSTPERREN

Bit 6: Master Start/Stop Error interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstStStpErr interrupt is disabled.
0x1: ENABLED: Enabled. The MstStStpErr interrupt is enabled.

SLVPENDINGEN

Bit 8: Slave Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvPending interrupt is disabled.
0x1: ENABLED: Enabled. The SlvPending interrupt is enabled.

SLVNOTSTREN

Bit 11: Slave Not Stretching interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvNotStr interrupt is disabled.
0x1: ENABLED: Enabled. The SlvNotStr interrupt is enabled.

SLVDESELEN

Bit 15: Slave Deselect interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvDeSel interrupt is disabled.
0x1: ENABLED: Enabled. The SlvDeSel interrupt is enabled.

MONRDYEN

Bit 16: Monitor data Ready interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonRdy interrupt is disabled.
0x1: ENABLED: Enabled. The MonRdy interrupt is enabled.

MONOVEN

Bit 17: Monitor Overrun interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonOv interrupt is disabled.
0x1: ENABLED: Enabled. The MonOv interrupt is enabled.

MONIDLEEN

Bit 19: Monitor Idle interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonIdle interrupt is disabled.
0x1: ENABLED: Enabled. The MonIdle interrupt is enabled.

EVENTTIMEOUTEN

Bit 24: Event time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The Event time-out interrupt is disabled.
0x1: ENABLED: Enabled. The Event time-out interrupt is enabled.

SCLTIMEOUTEN

Bit 25: SCL time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SCL time-out interrupt is disabled.
0x1: ENABLED: Enabled. The SCL time-out interrupt is enabled.

INTENCLR

Interrupt Enable Clear register.

Offset: 0x80c, 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
Toggle Fields

MSTPENDINGCLR

Bit 0: Master Pending interrupt clear. Writing 1 to this bit clears the corresponding bit in the INTENSET register if implemented..

MSTARBLOSSCLR

Bit 4: Master Arbitration Loss interrupt clear..

MSTSTSTPERRCLR

Bit 6: Master Start/Stop Error interrupt clear..

SLVPENDINGCLR

Bit 8: Slave Pending interrupt clear..

SLVNOTSTRCLR

Bit 11: Slave Not Stretching interrupt clear..

SLVDESELCLR

Bit 15: Slave Deselect interrupt clear..

MONRDYCLR

Bit 16: Monitor data Ready interrupt clear..

MONOVCLR

Bit 17: Monitor Overrun interrupt clear..

MONIDLECLR

Bit 19: Monitor Idle interrupt clear..

EVENTTIMEOUTCLR

Bit 24: Event time-out interrupt clear..

SCLTIMEOUTCLR

Bit 25: SCL time-out interrupt clear..

TIMEOUT

Time-out value register.

Offset: 0x810, 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
Toggle Fields

TOMIN

Bits 0-3: Time-out time value, bottom four bits. These are hard-wired to 0xF. This gives a minimum time-out of 16 I2C function clocks and also a time-out resolution of 16 I2C function clocks..

TO

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..

CLKDIV

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: 0x814, 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
Toggle Fields

DIVVAL

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..

INTSTAT

Interrupt Status register for Master, Slave, and Monitor functions.

Offset: 0x818, 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
Toggle Fields

MSTPENDING

Bit 0: Master Pending..

MSTARBLOSS

Bit 4: Master Arbitration Loss flag..

MSTSTSTPERR

Bit 6: Master Start/Stop Error flag..

SLVPENDING

Bit 8: Slave Pending..

SLVNOTSTR

Bit 11: Slave Not Stretching status..

SLVDESEL

Bit 15: Slave Deselected flag..

MONRDY

Bit 16: Monitor Ready..

MONOV

Bit 17: Monitor Overflow flag..

MONIDLE

Bit 19: Monitor Idle flag..

EVENTTIMEOUT

Bit 24: Event time-out Interrupt flag..

SCLTIMEOUT

Bit 25: SCL time-out Interrupt flag..

MSTCTL

Master control register.

Offset: 0x820, 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
MSTDMA
rw
MSTSTOP
rw
MSTSTART
rw
MSTCONTINUE
w
Toggle Fields

MSTCONTINUE

Bit 0: Master Continue. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Master function to continue to the next operation. This must done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation.

MSTSTART

Bit 1: Master Start control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: START: Start. A Start will be generated on the I2C bus at the next allowed time.

MSTSTOP

Bit 2: Master Stop control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: STOP: Stop. A Stop will be generated on the I2C bus at the next allowed time, preceded by a NACK to the slave if the master is receiving data from the slave (Master Receiver mode).

MSTDMA

Bit 3: Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write..

Allowed values:
0: DISABLED: Disable. No DMA requests are generated for master operation.
0x1: ENABLED: Enable. A DMA request is generated for I2C master data operations. When this I2C master is generating Acknowledge bits in Master Receiver mode, the acknowledge is generated automatically.

MSTTIME

Master timing configuration.

Offset: 0x824, 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
Toggle Fields

MSTSCLLOW

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.

MSTSCLHIGH

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.

MSTDAT

Combined Master receiver and transmitter data register.

Offset: 0x828, 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
Toggle Fields

DATA

Bits 0-7: Master function data register. Read: read the most recently received data for the Master function. Write: transmit data using the Master function..

SLVCTL

Slave control register.

Offset: 0x840, reset: 0, access: read-write

5/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
AUTOMATCHREAD
rw
AUTOACK
rw
SLVDMA
rw
SLVNACK
rw
SLVCONTINUE
rw
Toggle Fields

SLVCONTINUE

Bit 0: Slave Continue..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Slave function to continue to the next operation, by clearing the SLVPENDING flag in the STAT register. This must be done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation. Automatic Operation has different requirements. SLVCONTINUE should not be set unless SLVPENDING = 1.

SLVNACK

Bit 1: Slave NACK..

Allowed values:
0: NO_EFFECT: No effect.
0x1: NACK: NACK. Causes the Slave function to NACK the master when the slave is receiving data from the master (Slave Receiver mode).

SLVDMA

Bit 3: Slave DMA enable..

Allowed values:
0: DISABLED: Disabled. No DMA requests are issued for Slave mode operation.
0x1: ENABLED: Enabled. DMA requests are issued for I2C slave data transmission and reception.

AUTOACK

Bit 8: Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt..

Allowed values:
0: NORMAL: Normal, non-automatic operation. If AUTONACK = 0, an SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, received addresses are NACKed (ignored).
0x1: AUTOMATIC_ACK: A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, the behavior will depend on the AUTONACK bit in the SLVADR0 register: if AUTONACK is set, then it will be Nacked; else if AUTONACK is clear, then a SlvPending interrupt is generated.

AUTOMATCHREAD

Bit 9: When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation..

Allowed values:
0: I2C_WRITE: The expected next operation in Automatic Mode is an I2C write.
0x1: I2C_READ: The expected next operation in Automatic Mode is an I2C read.

SLVDAT

Combined Slave receiver and transmitter data register.

Offset: 0x844, 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
Toggle Fields

DATA

Bits 0-7: Slave function data register. Read: read the most recently received data for the Slave function. Write: transmit data using the Slave function..

SLVADR[[0]]

Slave address register.

Offset: 0x848, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[1]]

Slave address register.

Offset: 0x84c, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[2]]

Slave address register.

Offset: 0x850, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[3]]

Slave address register.

Offset: 0x854, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVQUAL0

Slave Qualification for address 0.

Offset: 0x858, 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
Toggle Fields

QUALMODE0

Bit 0: Qualify mode for slave address 0..

Allowed values:
0: MASK: Mask. The SLVQUAL0 field is used as a logical mask for matching address 0.
0x1: EXTEND: Extend. The SLVQUAL0 field is used to extend address 0 matching in a range of addresses.

SLVQUAL0

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])..

MONRXDAT

Monitor receiver data register.

Offset: 0x880, 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
Toggle Fields

MONRXDAT

Bits 0-7: Monitor function Receiver Data. This reflects every data byte that passes on the I2C pins..

MONSTART

Bit 8: Monitor Received Start..

Allowed values:
0: NO_START_DETECTED: No start detected. The Monitor function has not detected a Start event on the I2C bus.
0x1: START_DETECTED: Start detected. The Monitor function has detected a Start event on the I2C bus.

MONRESTART

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.

MONNACK

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.

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

I2C2

0x40088000: LPC5411x I2C-bus interfaces

72/93 fields covered. Toggle Registers

Show register map

CFG

Configuration for shared functions.

Offset: 0x800, reset: 0, access: read-write

6/6 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
HSCAPABLE
rw
MONCLKSTR
rw
TIMEOUTEN
rw
MONEN
rw
SLVEN
rw
MSTEN
rw
Toggle Fields

MSTEN

Bit 0: Master Enable. When disabled, configurations settings for the Master function are not changed, but the Master function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Master function is disabled.
0x1: ENABLED: Enabled. The I2C Master function is enabled.

SLVEN

Bit 1: Slave Enable. When disabled, configurations settings for the Slave function are not changed, but the Slave function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C slave function is disabled.
0x1: ENABLED: Enabled. The I2C slave function is enabled.

MONEN

Bit 2: Monitor Enable. When disabled, configurations settings for the Monitor function are not changed, but the Monitor function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Monitor function is disabled.
0x1: ENABLED: Enabled. The I2C Monitor function is enabled.

TIMEOUTEN

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.

MONCLKSTR

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.

HSCAPABLE

Bit 5: High-speed mode Capable enable. Since High Speed mode alters the way I2C pins drive and filter, as well as the timing for certain I2C signalling, enabling High-speed mode applies to all functions: Master, Slave, and Monitor..

Allowed values:
0: FAST_MODE_PLUS: Fast-mode plus. The I 2C interface will support Standard-mode, Fast-mode, and Fast-mode Plus, to the extent that the pin electronics support these modes. Any changes that need to be made to the pin controls, such as changing the drive strength or filtering, must be made by software via the IOCON register associated with each I2C pin,
0x1: HIGH_SPEED: High-speed. In addition to Standard-mode, Fast-mode, and Fast-mode Plus, the I 2C interface will support High-speed mode to the extent that the pin electronics support these modes. See Section 25.7.2.2 for more information.

STAT

Status register for Master, Slave, and Monitor functions.

Offset: 0x804, 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
Toggle Fields

MSTPENDING

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.

MSTSTATE

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.

MSTARBLOSS

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.

MSTSTSTPERR

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.

SLVPENDING

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.

SLVSTATE

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).

SLVNOTSTR

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.

SLVIDX

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.

SLVSEL

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.

SLVDESEL

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.

MONRDY

Bit 16: Monitor Ready. This flag is cleared when the MONRXDAT register is read..

Allowed values:
0: NO_DATA: No data. The Monitor function does not currently have data available.
0x1: DATA_WAITING: Data waiting. The Monitor function has data waiting to be read.

MONOV

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.

MONACTIVE

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.

MONIDLE

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.

EVENTTIMEOUT

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.

SCLTIMEOUT

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.

INTENSET

Interrupt Enable Set and read register.

Offset: 0x808, 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
Toggle Fields

MSTPENDINGEN

Bit 0: Master Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstPending interrupt is disabled.
0x1: ENABLED: Enabled. The MstPending interrupt is enabled.

MSTARBLOSSEN

Bit 4: Master Arbitration Loss interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstArbLoss interrupt is disabled.
0x1: ENABLED: Enabled. The MstArbLoss interrupt is enabled.

MSTSTSTPERREN

Bit 6: Master Start/Stop Error interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstStStpErr interrupt is disabled.
0x1: ENABLED: Enabled. The MstStStpErr interrupt is enabled.

SLVPENDINGEN

Bit 8: Slave Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvPending interrupt is disabled.
0x1: ENABLED: Enabled. The SlvPending interrupt is enabled.

SLVNOTSTREN

Bit 11: Slave Not Stretching interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvNotStr interrupt is disabled.
0x1: ENABLED: Enabled. The SlvNotStr interrupt is enabled.

SLVDESELEN

Bit 15: Slave Deselect interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvDeSel interrupt is disabled.
0x1: ENABLED: Enabled. The SlvDeSel interrupt is enabled.

MONRDYEN

Bit 16: Monitor data Ready interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonRdy interrupt is disabled.
0x1: ENABLED: Enabled. The MonRdy interrupt is enabled.

MONOVEN

Bit 17: Monitor Overrun interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonOv interrupt is disabled.
0x1: ENABLED: Enabled. The MonOv interrupt is enabled.

MONIDLEEN

Bit 19: Monitor Idle interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonIdle interrupt is disabled.
0x1: ENABLED: Enabled. The MonIdle interrupt is enabled.

EVENTTIMEOUTEN

Bit 24: Event time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The Event time-out interrupt is disabled.
0x1: ENABLED: Enabled. The Event time-out interrupt is enabled.

SCLTIMEOUTEN

Bit 25: SCL time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SCL time-out interrupt is disabled.
0x1: ENABLED: Enabled. The SCL time-out interrupt is enabled.

INTENCLR

Interrupt Enable Clear register.

Offset: 0x80c, 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
Toggle Fields

MSTPENDINGCLR

Bit 0: Master Pending interrupt clear. Writing 1 to this bit clears the corresponding bit in the INTENSET register if implemented..

MSTARBLOSSCLR

Bit 4: Master Arbitration Loss interrupt clear..

MSTSTSTPERRCLR

Bit 6: Master Start/Stop Error interrupt clear..

SLVPENDINGCLR

Bit 8: Slave Pending interrupt clear..

SLVNOTSTRCLR

Bit 11: Slave Not Stretching interrupt clear..

SLVDESELCLR

Bit 15: Slave Deselect interrupt clear..

MONRDYCLR

Bit 16: Monitor data Ready interrupt clear..

MONOVCLR

Bit 17: Monitor Overrun interrupt clear..

MONIDLECLR

Bit 19: Monitor Idle interrupt clear..

EVENTTIMEOUTCLR

Bit 24: Event time-out interrupt clear..

SCLTIMEOUTCLR

Bit 25: SCL time-out interrupt clear..

TIMEOUT

Time-out value register.

Offset: 0x810, 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
Toggle Fields

TOMIN

Bits 0-3: Time-out time value, bottom four bits. These are hard-wired to 0xF. This gives a minimum time-out of 16 I2C function clocks and also a time-out resolution of 16 I2C function clocks..

TO

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..

CLKDIV

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: 0x814, 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
Toggle Fields

DIVVAL

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..

INTSTAT

Interrupt Status register for Master, Slave, and Monitor functions.

Offset: 0x818, 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
Toggle Fields

MSTPENDING

Bit 0: Master Pending..

MSTARBLOSS

Bit 4: Master Arbitration Loss flag..

MSTSTSTPERR

Bit 6: Master Start/Stop Error flag..

SLVPENDING

Bit 8: Slave Pending..

SLVNOTSTR

Bit 11: Slave Not Stretching status..

SLVDESEL

Bit 15: Slave Deselected flag..

MONRDY

Bit 16: Monitor Ready..

MONOV

Bit 17: Monitor Overflow flag..

MONIDLE

Bit 19: Monitor Idle flag..

EVENTTIMEOUT

Bit 24: Event time-out Interrupt flag..

SCLTIMEOUT

Bit 25: SCL time-out Interrupt flag..

MSTCTL

Master control register.

Offset: 0x820, 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
MSTDMA
rw
MSTSTOP
rw
MSTSTART
rw
MSTCONTINUE
w
Toggle Fields

MSTCONTINUE

Bit 0: Master Continue. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Master function to continue to the next operation. This must done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation.

MSTSTART

Bit 1: Master Start control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: START: Start. A Start will be generated on the I2C bus at the next allowed time.

MSTSTOP

Bit 2: Master Stop control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: STOP: Stop. A Stop will be generated on the I2C bus at the next allowed time, preceded by a NACK to the slave if the master is receiving data from the slave (Master Receiver mode).

MSTDMA

Bit 3: Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write..

Allowed values:
0: DISABLED: Disable. No DMA requests are generated for master operation.
0x1: ENABLED: Enable. A DMA request is generated for I2C master data operations. When this I2C master is generating Acknowledge bits in Master Receiver mode, the acknowledge is generated automatically.

MSTTIME

Master timing configuration.

Offset: 0x824, 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
Toggle Fields

MSTSCLLOW

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.

MSTSCLHIGH

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.

MSTDAT

Combined Master receiver and transmitter data register.

Offset: 0x828, 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
Toggle Fields

DATA

Bits 0-7: Master function data register. Read: read the most recently received data for the Master function. Write: transmit data using the Master function..

SLVCTL

Slave control register.

Offset: 0x840, reset: 0, access: read-write

5/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
AUTOMATCHREAD
rw
AUTOACK
rw
SLVDMA
rw
SLVNACK
rw
SLVCONTINUE
rw
Toggle Fields

SLVCONTINUE

Bit 0: Slave Continue..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Slave function to continue to the next operation, by clearing the SLVPENDING flag in the STAT register. This must be done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation. Automatic Operation has different requirements. SLVCONTINUE should not be set unless SLVPENDING = 1.

SLVNACK

Bit 1: Slave NACK..

Allowed values:
0: NO_EFFECT: No effect.
0x1: NACK: NACK. Causes the Slave function to NACK the master when the slave is receiving data from the master (Slave Receiver mode).

SLVDMA

Bit 3: Slave DMA enable..

Allowed values:
0: DISABLED: Disabled. No DMA requests are issued for Slave mode operation.
0x1: ENABLED: Enabled. DMA requests are issued for I2C slave data transmission and reception.

AUTOACK

Bit 8: Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt..

Allowed values:
0: NORMAL: Normal, non-automatic operation. If AUTONACK = 0, an SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, received addresses are NACKed (ignored).
0x1: AUTOMATIC_ACK: A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, the behavior will depend on the AUTONACK bit in the SLVADR0 register: if AUTONACK is set, then it will be Nacked; else if AUTONACK is clear, then a SlvPending interrupt is generated.

AUTOMATCHREAD

Bit 9: When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation..

Allowed values:
0: I2C_WRITE: The expected next operation in Automatic Mode is an I2C write.
0x1: I2C_READ: The expected next operation in Automatic Mode is an I2C read.

SLVDAT

Combined Slave receiver and transmitter data register.

Offset: 0x844, 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
Toggle Fields

DATA

Bits 0-7: Slave function data register. Read: read the most recently received data for the Slave function. Write: transmit data using the Slave function..

SLVADR[[0]]

Slave address register.

Offset: 0x848, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[1]]

Slave address register.

Offset: 0x84c, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[2]]

Slave address register.

Offset: 0x850, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[3]]

Slave address register.

Offset: 0x854, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVQUAL0

Slave Qualification for address 0.

Offset: 0x858, 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
Toggle Fields

QUALMODE0

Bit 0: Qualify mode for slave address 0..

Allowed values:
0: MASK: Mask. The SLVQUAL0 field is used as a logical mask for matching address 0.
0x1: EXTEND: Extend. The SLVQUAL0 field is used to extend address 0 matching in a range of addresses.

SLVQUAL0

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])..

MONRXDAT

Monitor receiver data register.

Offset: 0x880, 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
Toggle Fields

MONRXDAT

Bits 0-7: Monitor function Receiver Data. This reflects every data byte that passes on the I2C pins..

MONSTART

Bit 8: Monitor Received Start..

Allowed values:
0: NO_START_DETECTED: No start detected. The Monitor function has not detected a Start event on the I2C bus.
0x1: START_DETECTED: Start detected. The Monitor function has detected a Start event on the I2C bus.

MONRESTART

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.

MONNACK

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.

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

I2C3

0x40089000: LPC5411x I2C-bus interfaces

72/93 fields covered. Toggle Registers

Show register map

CFG

Configuration for shared functions.

Offset: 0x800, reset: 0, access: read-write

6/6 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
HSCAPABLE
rw
MONCLKSTR
rw
TIMEOUTEN
rw
MONEN
rw
SLVEN
rw
MSTEN
rw
Toggle Fields

MSTEN

Bit 0: Master Enable. When disabled, configurations settings for the Master function are not changed, but the Master function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Master function is disabled.
0x1: ENABLED: Enabled. The I2C Master function is enabled.

SLVEN

Bit 1: Slave Enable. When disabled, configurations settings for the Slave function are not changed, but the Slave function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C slave function is disabled.
0x1: ENABLED: Enabled. The I2C slave function is enabled.

MONEN

Bit 2: Monitor Enable. When disabled, configurations settings for the Monitor function are not changed, but the Monitor function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Monitor function is disabled.
0x1: ENABLED: Enabled. The I2C Monitor function is enabled.

TIMEOUTEN

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.

MONCLKSTR

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.

HSCAPABLE

Bit 5: High-speed mode Capable enable. Since High Speed mode alters the way I2C pins drive and filter, as well as the timing for certain I2C signalling, enabling High-speed mode applies to all functions: Master, Slave, and Monitor..

Allowed values:
0: FAST_MODE_PLUS: Fast-mode plus. The I 2C interface will support Standard-mode, Fast-mode, and Fast-mode Plus, to the extent that the pin electronics support these modes. Any changes that need to be made to the pin controls, such as changing the drive strength or filtering, must be made by software via the IOCON register associated with each I2C pin,
0x1: HIGH_SPEED: High-speed. In addition to Standard-mode, Fast-mode, and Fast-mode Plus, the I 2C interface will support High-speed mode to the extent that the pin electronics support these modes. See Section 25.7.2.2 for more information.

STAT

Status register for Master, Slave, and Monitor functions.

Offset: 0x804, 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
Toggle Fields

MSTPENDING

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.

MSTSTATE

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.

MSTARBLOSS

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.

MSTSTSTPERR

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.

SLVPENDING

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.

SLVSTATE

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).

SLVNOTSTR

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.

SLVIDX

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.

SLVSEL

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.

SLVDESEL

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.

MONRDY

Bit 16: Monitor Ready. This flag is cleared when the MONRXDAT register is read..

Allowed values:
0: NO_DATA: No data. The Monitor function does not currently have data available.
0x1: DATA_WAITING: Data waiting. The Monitor function has data waiting to be read.

MONOV

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.

MONACTIVE

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.

MONIDLE

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.

EVENTTIMEOUT

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.

SCLTIMEOUT

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.

INTENSET

Interrupt Enable Set and read register.

Offset: 0x808, 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
Toggle Fields

MSTPENDINGEN

Bit 0: Master Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstPending interrupt is disabled.
0x1: ENABLED: Enabled. The MstPending interrupt is enabled.

MSTARBLOSSEN

Bit 4: Master Arbitration Loss interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstArbLoss interrupt is disabled.
0x1: ENABLED: Enabled. The MstArbLoss interrupt is enabled.

MSTSTSTPERREN

Bit 6: Master Start/Stop Error interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstStStpErr interrupt is disabled.
0x1: ENABLED: Enabled. The MstStStpErr interrupt is enabled.

SLVPENDINGEN

Bit 8: Slave Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvPending interrupt is disabled.
0x1: ENABLED: Enabled. The SlvPending interrupt is enabled.

SLVNOTSTREN

Bit 11: Slave Not Stretching interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvNotStr interrupt is disabled.
0x1: ENABLED: Enabled. The SlvNotStr interrupt is enabled.

SLVDESELEN

Bit 15: Slave Deselect interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvDeSel interrupt is disabled.
0x1: ENABLED: Enabled. The SlvDeSel interrupt is enabled.

MONRDYEN

Bit 16: Monitor data Ready interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonRdy interrupt is disabled.
0x1: ENABLED: Enabled. The MonRdy interrupt is enabled.

MONOVEN

Bit 17: Monitor Overrun interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonOv interrupt is disabled.
0x1: ENABLED: Enabled. The MonOv interrupt is enabled.

MONIDLEEN

Bit 19: Monitor Idle interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonIdle interrupt is disabled.
0x1: ENABLED: Enabled. The MonIdle interrupt is enabled.

EVENTTIMEOUTEN

Bit 24: Event time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The Event time-out interrupt is disabled.
0x1: ENABLED: Enabled. The Event time-out interrupt is enabled.

SCLTIMEOUTEN

Bit 25: SCL time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SCL time-out interrupt is disabled.
0x1: ENABLED: Enabled. The SCL time-out interrupt is enabled.

INTENCLR

Interrupt Enable Clear register.

Offset: 0x80c, 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
Toggle Fields

MSTPENDINGCLR

Bit 0: Master Pending interrupt clear. Writing 1 to this bit clears the corresponding bit in the INTENSET register if implemented..

MSTARBLOSSCLR

Bit 4: Master Arbitration Loss interrupt clear..

MSTSTSTPERRCLR

Bit 6: Master Start/Stop Error interrupt clear..

SLVPENDINGCLR

Bit 8: Slave Pending interrupt clear..

SLVNOTSTRCLR

Bit 11: Slave Not Stretching interrupt clear..

SLVDESELCLR

Bit 15: Slave Deselect interrupt clear..

MONRDYCLR

Bit 16: Monitor data Ready interrupt clear..

MONOVCLR

Bit 17: Monitor Overrun interrupt clear..

MONIDLECLR

Bit 19: Monitor Idle interrupt clear..

EVENTTIMEOUTCLR

Bit 24: Event time-out interrupt clear..

SCLTIMEOUTCLR

Bit 25: SCL time-out interrupt clear..

TIMEOUT

Time-out value register.

Offset: 0x810, 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
Toggle Fields

TOMIN

Bits 0-3: Time-out time value, bottom four bits. These are hard-wired to 0xF. This gives a minimum time-out of 16 I2C function clocks and also a time-out resolution of 16 I2C function clocks..

TO

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..

CLKDIV

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: 0x814, 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
Toggle Fields

DIVVAL

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..

INTSTAT

Interrupt Status register for Master, Slave, and Monitor functions.

Offset: 0x818, 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
Toggle Fields

MSTPENDING

Bit 0: Master Pending..

MSTARBLOSS

Bit 4: Master Arbitration Loss flag..

MSTSTSTPERR

Bit 6: Master Start/Stop Error flag..

SLVPENDING

Bit 8: Slave Pending..

SLVNOTSTR

Bit 11: Slave Not Stretching status..

SLVDESEL

Bit 15: Slave Deselected flag..

MONRDY

Bit 16: Monitor Ready..

MONOV

Bit 17: Monitor Overflow flag..

MONIDLE

Bit 19: Monitor Idle flag..

EVENTTIMEOUT

Bit 24: Event time-out Interrupt flag..

SCLTIMEOUT

Bit 25: SCL time-out Interrupt flag..

MSTCTL

Master control register.

Offset: 0x820, 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
MSTDMA
rw
MSTSTOP
rw
MSTSTART
rw
MSTCONTINUE
w
Toggle Fields

MSTCONTINUE

Bit 0: Master Continue. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Master function to continue to the next operation. This must done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation.

MSTSTART

Bit 1: Master Start control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: START: Start. A Start will be generated on the I2C bus at the next allowed time.

MSTSTOP

Bit 2: Master Stop control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: STOP: Stop. A Stop will be generated on the I2C bus at the next allowed time, preceded by a NACK to the slave if the master is receiving data from the slave (Master Receiver mode).

MSTDMA

Bit 3: Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write..

Allowed values:
0: DISABLED: Disable. No DMA requests are generated for master operation.
0x1: ENABLED: Enable. A DMA request is generated for I2C master data operations. When this I2C master is generating Acknowledge bits in Master Receiver mode, the acknowledge is generated automatically.

MSTTIME

Master timing configuration.

Offset: 0x824, 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
Toggle Fields

MSTSCLLOW

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.

MSTSCLHIGH

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.

MSTDAT

Combined Master receiver and transmitter data register.

Offset: 0x828, 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
Toggle Fields

DATA

Bits 0-7: Master function data register. Read: read the most recently received data for the Master function. Write: transmit data using the Master function..

SLVCTL

Slave control register.

Offset: 0x840, reset: 0, access: read-write

5/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
AUTOMATCHREAD
rw
AUTOACK
rw
SLVDMA
rw
SLVNACK
rw
SLVCONTINUE
rw
Toggle Fields

SLVCONTINUE

Bit 0: Slave Continue..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Slave function to continue to the next operation, by clearing the SLVPENDING flag in the STAT register. This must be done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation. Automatic Operation has different requirements. SLVCONTINUE should not be set unless SLVPENDING = 1.

SLVNACK

Bit 1: Slave NACK..

Allowed values:
0: NO_EFFECT: No effect.
0x1: NACK: NACK. Causes the Slave function to NACK the master when the slave is receiving data from the master (Slave Receiver mode).

SLVDMA

Bit 3: Slave DMA enable..

Allowed values:
0: DISABLED: Disabled. No DMA requests are issued for Slave mode operation.
0x1: ENABLED: Enabled. DMA requests are issued for I2C slave data transmission and reception.

AUTOACK

Bit 8: Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt..

Allowed values:
0: NORMAL: Normal, non-automatic operation. If AUTONACK = 0, an SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, received addresses are NACKed (ignored).
0x1: AUTOMATIC_ACK: A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, the behavior will depend on the AUTONACK bit in the SLVADR0 register: if AUTONACK is set, then it will be Nacked; else if AUTONACK is clear, then a SlvPending interrupt is generated.

AUTOMATCHREAD

Bit 9: When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation..

Allowed values:
0: I2C_WRITE: The expected next operation in Automatic Mode is an I2C write.
0x1: I2C_READ: The expected next operation in Automatic Mode is an I2C read.

SLVDAT

Combined Slave receiver and transmitter data register.

Offset: 0x844, 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
Toggle Fields

DATA

Bits 0-7: Slave function data register. Read: read the most recently received data for the Slave function. Write: transmit data using the Slave function..

SLVADR[[0]]

Slave address register.

Offset: 0x848, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[1]]

Slave address register.

Offset: 0x84c, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[2]]

Slave address register.

Offset: 0x850, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[3]]

Slave address register.

Offset: 0x854, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVQUAL0

Slave Qualification for address 0.

Offset: 0x858, 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
Toggle Fields

QUALMODE0

Bit 0: Qualify mode for slave address 0..

Allowed values:
0: MASK: Mask. The SLVQUAL0 field is used as a logical mask for matching address 0.
0x1: EXTEND: Extend. The SLVQUAL0 field is used to extend address 0 matching in a range of addresses.

SLVQUAL0

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])..

MONRXDAT

Monitor receiver data register.

Offset: 0x880, 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
Toggle Fields

MONRXDAT

Bits 0-7: Monitor function Receiver Data. This reflects every data byte that passes on the I2C pins..

MONSTART

Bit 8: Monitor Received Start..

Allowed values:
0: NO_START_DETECTED: No start detected. The Monitor function has not detected a Start event on the I2C bus.
0x1: START_DETECTED: Start detected. The Monitor function has detected a Start event on the I2C bus.

MONRESTART

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.

MONNACK

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.

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

I2C4

0x4008a000: LPC5411x I2C-bus interfaces

72/93 fields covered. Toggle Registers

Show register map

CFG

Configuration for shared functions.

Offset: 0x800, reset: 0, access: read-write

6/6 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
HSCAPABLE
rw
MONCLKSTR
rw
TIMEOUTEN
rw
MONEN
rw
SLVEN
rw
MSTEN
rw
Toggle Fields

MSTEN

Bit 0: Master Enable. When disabled, configurations settings for the Master function are not changed, but the Master function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Master function is disabled.
0x1: ENABLED: Enabled. The I2C Master function is enabled.

SLVEN

Bit 1: Slave Enable. When disabled, configurations settings for the Slave function are not changed, but the Slave function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C slave function is disabled.
0x1: ENABLED: Enabled. The I2C slave function is enabled.

MONEN

Bit 2: Monitor Enable. When disabled, configurations settings for the Monitor function are not changed, but the Monitor function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Monitor function is disabled.
0x1: ENABLED: Enabled. The I2C Monitor function is enabled.

TIMEOUTEN

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.

MONCLKSTR

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.

HSCAPABLE

Bit 5: High-speed mode Capable enable. Since High Speed mode alters the way I2C pins drive and filter, as well as the timing for certain I2C signalling, enabling High-speed mode applies to all functions: Master, Slave, and Monitor..

Allowed values:
0: FAST_MODE_PLUS: Fast-mode plus. The I 2C interface will support Standard-mode, Fast-mode, and Fast-mode Plus, to the extent that the pin electronics support these modes. Any changes that need to be made to the pin controls, such as changing the drive strength or filtering, must be made by software via the IOCON register associated with each I2C pin,
0x1: HIGH_SPEED: High-speed. In addition to Standard-mode, Fast-mode, and Fast-mode Plus, the I 2C interface will support High-speed mode to the extent that the pin electronics support these modes. See Section 25.7.2.2 for more information.

STAT

Status register for Master, Slave, and Monitor functions.

Offset: 0x804, 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
Toggle Fields

MSTPENDING

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.

MSTSTATE

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.

MSTARBLOSS

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.

MSTSTSTPERR

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.

SLVPENDING

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.

SLVSTATE

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).

SLVNOTSTR

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.

SLVIDX

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.

SLVSEL

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.

SLVDESEL

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.

MONRDY

Bit 16: Monitor Ready. This flag is cleared when the MONRXDAT register is read..

Allowed values:
0: NO_DATA: No data. The Monitor function does not currently have data available.
0x1: DATA_WAITING: Data waiting. The Monitor function has data waiting to be read.

MONOV

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.

MONACTIVE

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.

MONIDLE

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.

EVENTTIMEOUT

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.

SCLTIMEOUT

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.

INTENSET

Interrupt Enable Set and read register.

Offset: 0x808, 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
Toggle Fields

MSTPENDINGEN

Bit 0: Master Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstPending interrupt is disabled.
0x1: ENABLED: Enabled. The MstPending interrupt is enabled.

MSTARBLOSSEN

Bit 4: Master Arbitration Loss interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstArbLoss interrupt is disabled.
0x1: ENABLED: Enabled. The MstArbLoss interrupt is enabled.

MSTSTSTPERREN

Bit 6: Master Start/Stop Error interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstStStpErr interrupt is disabled.
0x1: ENABLED: Enabled. The MstStStpErr interrupt is enabled.

SLVPENDINGEN

Bit 8: Slave Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvPending interrupt is disabled.
0x1: ENABLED: Enabled. The SlvPending interrupt is enabled.

SLVNOTSTREN

Bit 11: Slave Not Stretching interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvNotStr interrupt is disabled.
0x1: ENABLED: Enabled. The SlvNotStr interrupt is enabled.

SLVDESELEN

Bit 15: Slave Deselect interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvDeSel interrupt is disabled.
0x1: ENABLED: Enabled. The SlvDeSel interrupt is enabled.

MONRDYEN

Bit 16: Monitor data Ready interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonRdy interrupt is disabled.
0x1: ENABLED: Enabled. The MonRdy interrupt is enabled.

MONOVEN

Bit 17: Monitor Overrun interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonOv interrupt is disabled.
0x1: ENABLED: Enabled. The MonOv interrupt is enabled.

MONIDLEEN

Bit 19: Monitor Idle interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonIdle interrupt is disabled.
0x1: ENABLED: Enabled. The MonIdle interrupt is enabled.

EVENTTIMEOUTEN

Bit 24: Event time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The Event time-out interrupt is disabled.
0x1: ENABLED: Enabled. The Event time-out interrupt is enabled.

SCLTIMEOUTEN

Bit 25: SCL time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SCL time-out interrupt is disabled.
0x1: ENABLED: Enabled. The SCL time-out interrupt is enabled.

INTENCLR

Interrupt Enable Clear register.

Offset: 0x80c, 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
Toggle Fields

MSTPENDINGCLR

Bit 0: Master Pending interrupt clear. Writing 1 to this bit clears the corresponding bit in the INTENSET register if implemented..

MSTARBLOSSCLR

Bit 4: Master Arbitration Loss interrupt clear..

MSTSTSTPERRCLR

Bit 6: Master Start/Stop Error interrupt clear..

SLVPENDINGCLR

Bit 8: Slave Pending interrupt clear..

SLVNOTSTRCLR

Bit 11: Slave Not Stretching interrupt clear..

SLVDESELCLR

Bit 15: Slave Deselect interrupt clear..

MONRDYCLR

Bit 16: Monitor data Ready interrupt clear..

MONOVCLR

Bit 17: Monitor Overrun interrupt clear..

MONIDLECLR

Bit 19: Monitor Idle interrupt clear..

EVENTTIMEOUTCLR

Bit 24: Event time-out interrupt clear..

SCLTIMEOUTCLR

Bit 25: SCL time-out interrupt clear..

TIMEOUT

Time-out value register.

Offset: 0x810, 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
Toggle Fields

TOMIN

Bits 0-3: Time-out time value, bottom four bits. These are hard-wired to 0xF. This gives a minimum time-out of 16 I2C function clocks and also a time-out resolution of 16 I2C function clocks..

TO

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..

CLKDIV

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: 0x814, 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
Toggle Fields

DIVVAL

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..

INTSTAT

Interrupt Status register for Master, Slave, and Monitor functions.

Offset: 0x818, 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
Toggle Fields

MSTPENDING

Bit 0: Master Pending..

MSTARBLOSS

Bit 4: Master Arbitration Loss flag..

MSTSTSTPERR

Bit 6: Master Start/Stop Error flag..

SLVPENDING

Bit 8: Slave Pending..

SLVNOTSTR

Bit 11: Slave Not Stretching status..

SLVDESEL

Bit 15: Slave Deselected flag..

MONRDY

Bit 16: Monitor Ready..

MONOV

Bit 17: Monitor Overflow flag..

MONIDLE

Bit 19: Monitor Idle flag..

EVENTTIMEOUT

Bit 24: Event time-out Interrupt flag..

SCLTIMEOUT

Bit 25: SCL time-out Interrupt flag..

MSTCTL

Master control register.

Offset: 0x820, 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
MSTDMA
rw
MSTSTOP
rw
MSTSTART
rw
MSTCONTINUE
w
Toggle Fields

MSTCONTINUE

Bit 0: Master Continue. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Master function to continue to the next operation. This must done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation.

MSTSTART

Bit 1: Master Start control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: START: Start. A Start will be generated on the I2C bus at the next allowed time.

MSTSTOP

Bit 2: Master Stop control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: STOP: Stop. A Stop will be generated on the I2C bus at the next allowed time, preceded by a NACK to the slave if the master is receiving data from the slave (Master Receiver mode).

MSTDMA

Bit 3: Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write..

Allowed values:
0: DISABLED: Disable. No DMA requests are generated for master operation.
0x1: ENABLED: Enable. A DMA request is generated for I2C master data operations. When this I2C master is generating Acknowledge bits in Master Receiver mode, the acknowledge is generated automatically.

MSTTIME

Master timing configuration.

Offset: 0x824, 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
Toggle Fields

MSTSCLLOW

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.

MSTSCLHIGH

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.

MSTDAT

Combined Master receiver and transmitter data register.

Offset: 0x828, 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
Toggle Fields

DATA

Bits 0-7: Master function data register. Read: read the most recently received data for the Master function. Write: transmit data using the Master function..

SLVCTL

Slave control register.

Offset: 0x840, reset: 0, access: read-write

5/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
AUTOMATCHREAD
rw
AUTOACK
rw
SLVDMA
rw
SLVNACK
rw
SLVCONTINUE
rw
Toggle Fields

SLVCONTINUE

Bit 0: Slave Continue..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Slave function to continue to the next operation, by clearing the SLVPENDING flag in the STAT register. This must be done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation. Automatic Operation has different requirements. SLVCONTINUE should not be set unless SLVPENDING = 1.

SLVNACK

Bit 1: Slave NACK..

Allowed values:
0: NO_EFFECT: No effect.
0x1: NACK: NACK. Causes the Slave function to NACK the master when the slave is receiving data from the master (Slave Receiver mode).

SLVDMA

Bit 3: Slave DMA enable..

Allowed values:
0: DISABLED: Disabled. No DMA requests are issued for Slave mode operation.
0x1: ENABLED: Enabled. DMA requests are issued for I2C slave data transmission and reception.

AUTOACK

Bit 8: Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt..

Allowed values:
0: NORMAL: Normal, non-automatic operation. If AUTONACK = 0, an SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, received addresses are NACKed (ignored).
0x1: AUTOMATIC_ACK: A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, the behavior will depend on the AUTONACK bit in the SLVADR0 register: if AUTONACK is set, then it will be Nacked; else if AUTONACK is clear, then a SlvPending interrupt is generated.

AUTOMATCHREAD

Bit 9: When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation..

Allowed values:
0: I2C_WRITE: The expected next operation in Automatic Mode is an I2C write.
0x1: I2C_READ: The expected next operation in Automatic Mode is an I2C read.

SLVDAT

Combined Slave receiver and transmitter data register.

Offset: 0x844, 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
Toggle Fields

DATA

Bits 0-7: Slave function data register. Read: read the most recently received data for the Slave function. Write: transmit data using the Slave function..

SLVADR[[0]]

Slave address register.

Offset: 0x848, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[1]]

Slave address register.

Offset: 0x84c, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[2]]

Slave address register.

Offset: 0x850, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[3]]

Slave address register.

Offset: 0x854, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVQUAL0

Slave Qualification for address 0.

Offset: 0x858, 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
Toggle Fields

QUALMODE0

Bit 0: Qualify mode for slave address 0..

Allowed values:
0: MASK: Mask. The SLVQUAL0 field is used as a logical mask for matching address 0.
0x1: EXTEND: Extend. The SLVQUAL0 field is used to extend address 0 matching in a range of addresses.

SLVQUAL0

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])..

MONRXDAT

Monitor receiver data register.

Offset: 0x880, 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
Toggle Fields

MONRXDAT

Bits 0-7: Monitor function Receiver Data. This reflects every data byte that passes on the I2C pins..

MONSTART

Bit 8: Monitor Received Start..

Allowed values:
0: NO_START_DETECTED: No start detected. The Monitor function has not detected a Start event on the I2C bus.
0x1: START_DETECTED: Start detected. The Monitor function has detected a Start event on the I2C bus.

MONRESTART

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.

MONNACK

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.

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

I2C5

0x40096000: LPC5411x I2C-bus interfaces

72/93 fields covered. Toggle Registers

Show register map

CFG

Configuration for shared functions.

Offset: 0x800, reset: 0, access: read-write

6/6 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
HSCAPABLE
rw
MONCLKSTR
rw
TIMEOUTEN
rw
MONEN
rw
SLVEN
rw
MSTEN
rw
Toggle Fields

MSTEN

Bit 0: Master Enable. When disabled, configurations settings for the Master function are not changed, but the Master function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Master function is disabled.
0x1: ENABLED: Enabled. The I2C Master function is enabled.

SLVEN

Bit 1: Slave Enable. When disabled, configurations settings for the Slave function are not changed, but the Slave function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C slave function is disabled.
0x1: ENABLED: Enabled. The I2C slave function is enabled.

MONEN

Bit 2: Monitor Enable. When disabled, configurations settings for the Monitor function are not changed, but the Monitor function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Monitor function is disabled.
0x1: ENABLED: Enabled. The I2C Monitor function is enabled.

TIMEOUTEN

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.

MONCLKSTR

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.

HSCAPABLE

Bit 5: High-speed mode Capable enable. Since High Speed mode alters the way I2C pins drive and filter, as well as the timing for certain I2C signalling, enabling High-speed mode applies to all functions: Master, Slave, and Monitor..

Allowed values:
0: FAST_MODE_PLUS: Fast-mode plus. The I 2C interface will support Standard-mode, Fast-mode, and Fast-mode Plus, to the extent that the pin electronics support these modes. Any changes that need to be made to the pin controls, such as changing the drive strength or filtering, must be made by software via the IOCON register associated with each I2C pin,
0x1: HIGH_SPEED: High-speed. In addition to Standard-mode, Fast-mode, and Fast-mode Plus, the I 2C interface will support High-speed mode to the extent that the pin electronics support these modes. See Section 25.7.2.2 for more information.

STAT

Status register for Master, Slave, and Monitor functions.

Offset: 0x804, 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
Toggle Fields

MSTPENDING

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.

MSTSTATE

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.

MSTARBLOSS

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.

MSTSTSTPERR

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.

SLVPENDING

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.

SLVSTATE

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).

SLVNOTSTR

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.

SLVIDX

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.

SLVSEL

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.

SLVDESEL

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.

MONRDY

Bit 16: Monitor Ready. This flag is cleared when the MONRXDAT register is read..

Allowed values:
0: NO_DATA: No data. The Monitor function does not currently have data available.
0x1: DATA_WAITING: Data waiting. The Monitor function has data waiting to be read.

MONOV

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.

MONACTIVE

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.

MONIDLE

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.

EVENTTIMEOUT

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.

SCLTIMEOUT

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.

INTENSET

Interrupt Enable Set and read register.

Offset: 0x808, 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
Toggle Fields

MSTPENDINGEN

Bit 0: Master Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstPending interrupt is disabled.
0x1: ENABLED: Enabled. The MstPending interrupt is enabled.

MSTARBLOSSEN

Bit 4: Master Arbitration Loss interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstArbLoss interrupt is disabled.
0x1: ENABLED: Enabled. The MstArbLoss interrupt is enabled.

MSTSTSTPERREN

Bit 6: Master Start/Stop Error interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstStStpErr interrupt is disabled.
0x1: ENABLED: Enabled. The MstStStpErr interrupt is enabled.

SLVPENDINGEN

Bit 8: Slave Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvPending interrupt is disabled.
0x1: ENABLED: Enabled. The SlvPending interrupt is enabled.

SLVNOTSTREN

Bit 11: Slave Not Stretching interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvNotStr interrupt is disabled.
0x1: ENABLED: Enabled. The SlvNotStr interrupt is enabled.

SLVDESELEN

Bit 15: Slave Deselect interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvDeSel interrupt is disabled.
0x1: ENABLED: Enabled. The SlvDeSel interrupt is enabled.

MONRDYEN

Bit 16: Monitor data Ready interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonRdy interrupt is disabled.
0x1: ENABLED: Enabled. The MonRdy interrupt is enabled.

MONOVEN

Bit 17: Monitor Overrun interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonOv interrupt is disabled.
0x1: ENABLED: Enabled. The MonOv interrupt is enabled.

MONIDLEEN

Bit 19: Monitor Idle interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonIdle interrupt is disabled.
0x1: ENABLED: Enabled. The MonIdle interrupt is enabled.

EVENTTIMEOUTEN

Bit 24: Event time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The Event time-out interrupt is disabled.
0x1: ENABLED: Enabled. The Event time-out interrupt is enabled.

SCLTIMEOUTEN

Bit 25: SCL time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SCL time-out interrupt is disabled.
0x1: ENABLED: Enabled. The SCL time-out interrupt is enabled.

INTENCLR

Interrupt Enable Clear register.

Offset: 0x80c, 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
Toggle Fields

MSTPENDINGCLR

Bit 0: Master Pending interrupt clear. Writing 1 to this bit clears the corresponding bit in the INTENSET register if implemented..

MSTARBLOSSCLR

Bit 4: Master Arbitration Loss interrupt clear..

MSTSTSTPERRCLR

Bit 6: Master Start/Stop Error interrupt clear..

SLVPENDINGCLR

Bit 8: Slave Pending interrupt clear..

SLVNOTSTRCLR

Bit 11: Slave Not Stretching interrupt clear..

SLVDESELCLR

Bit 15: Slave Deselect interrupt clear..

MONRDYCLR

Bit 16: Monitor data Ready interrupt clear..

MONOVCLR

Bit 17: Monitor Overrun interrupt clear..

MONIDLECLR

Bit 19: Monitor Idle interrupt clear..

EVENTTIMEOUTCLR

Bit 24: Event time-out interrupt clear..

SCLTIMEOUTCLR

Bit 25: SCL time-out interrupt clear..

TIMEOUT

Time-out value register.

Offset: 0x810, 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
Toggle Fields

TOMIN

Bits 0-3: Time-out time value, bottom four bits. These are hard-wired to 0xF. This gives a minimum time-out of 16 I2C function clocks and also a time-out resolution of 16 I2C function clocks..

TO

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..

CLKDIV

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: 0x814, 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
Toggle Fields

DIVVAL

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..

INTSTAT

Interrupt Status register for Master, Slave, and Monitor functions.

Offset: 0x818, 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
Toggle Fields

MSTPENDING

Bit 0: Master Pending..

MSTARBLOSS

Bit 4: Master Arbitration Loss flag..

MSTSTSTPERR

Bit 6: Master Start/Stop Error flag..

SLVPENDING

Bit 8: Slave Pending..

SLVNOTSTR

Bit 11: Slave Not Stretching status..

SLVDESEL

Bit 15: Slave Deselected flag..

MONRDY

Bit 16: Monitor Ready..

MONOV

Bit 17: Monitor Overflow flag..

MONIDLE

Bit 19: Monitor Idle flag..

EVENTTIMEOUT

Bit 24: Event time-out Interrupt flag..

SCLTIMEOUT

Bit 25: SCL time-out Interrupt flag..

MSTCTL

Master control register.

Offset: 0x820, 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
MSTDMA
rw
MSTSTOP
rw
MSTSTART
rw
MSTCONTINUE
w
Toggle Fields

MSTCONTINUE

Bit 0: Master Continue. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Master function to continue to the next operation. This must done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation.

MSTSTART

Bit 1: Master Start control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: START: Start. A Start will be generated on the I2C bus at the next allowed time.

MSTSTOP

Bit 2: Master Stop control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: STOP: Stop. A Stop will be generated on the I2C bus at the next allowed time, preceded by a NACK to the slave if the master is receiving data from the slave (Master Receiver mode).

MSTDMA

Bit 3: Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write..

Allowed values:
0: DISABLED: Disable. No DMA requests are generated for master operation.
0x1: ENABLED: Enable. A DMA request is generated for I2C master data operations. When this I2C master is generating Acknowledge bits in Master Receiver mode, the acknowledge is generated automatically.

MSTTIME

Master timing configuration.

Offset: 0x824, 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
Toggle Fields

MSTSCLLOW

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.

MSTSCLHIGH

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.

MSTDAT

Combined Master receiver and transmitter data register.

Offset: 0x828, 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
Toggle Fields

DATA

Bits 0-7: Master function data register. Read: read the most recently received data for the Master function. Write: transmit data using the Master function..

SLVCTL

Slave control register.

Offset: 0x840, reset: 0, access: read-write

5/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
AUTOMATCHREAD
rw
AUTOACK
rw
SLVDMA
rw
SLVNACK
rw
SLVCONTINUE
rw
Toggle Fields

SLVCONTINUE

Bit 0: Slave Continue..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Slave function to continue to the next operation, by clearing the SLVPENDING flag in the STAT register. This must be done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation. Automatic Operation has different requirements. SLVCONTINUE should not be set unless SLVPENDING = 1.

SLVNACK

Bit 1: Slave NACK..

Allowed values:
0: NO_EFFECT: No effect.
0x1: NACK: NACK. Causes the Slave function to NACK the master when the slave is receiving data from the master (Slave Receiver mode).

SLVDMA

Bit 3: Slave DMA enable..

Allowed values:
0: DISABLED: Disabled. No DMA requests are issued for Slave mode operation.
0x1: ENABLED: Enabled. DMA requests are issued for I2C slave data transmission and reception.

AUTOACK

Bit 8: Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt..

Allowed values:
0: NORMAL: Normal, non-automatic operation. If AUTONACK = 0, an SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, received addresses are NACKed (ignored).
0x1: AUTOMATIC_ACK: A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, the behavior will depend on the AUTONACK bit in the SLVADR0 register: if AUTONACK is set, then it will be Nacked; else if AUTONACK is clear, then a SlvPending interrupt is generated.

AUTOMATCHREAD

Bit 9: When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation..

Allowed values:
0: I2C_WRITE: The expected next operation in Automatic Mode is an I2C write.
0x1: I2C_READ: The expected next operation in Automatic Mode is an I2C read.

SLVDAT

Combined Slave receiver and transmitter data register.

Offset: 0x844, 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
Toggle Fields

DATA

Bits 0-7: Slave function data register. Read: read the most recently received data for the Slave function. Write: transmit data using the Slave function..

SLVADR[[0]]

Slave address register.

Offset: 0x848, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[1]]

Slave address register.

Offset: 0x84c, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[2]]

Slave address register.

Offset: 0x850, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[3]]

Slave address register.

Offset: 0x854, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVQUAL0

Slave Qualification for address 0.

Offset: 0x858, 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
Toggle Fields

QUALMODE0

Bit 0: Qualify mode for slave address 0..

Allowed values:
0: MASK: Mask. The SLVQUAL0 field is used as a logical mask for matching address 0.
0x1: EXTEND: Extend. The SLVQUAL0 field is used to extend address 0 matching in a range of addresses.

SLVQUAL0

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])..

MONRXDAT

Monitor receiver data register.

Offset: 0x880, 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
Toggle Fields

MONRXDAT

Bits 0-7: Monitor function Receiver Data. This reflects every data byte that passes on the I2C pins..

MONSTART

Bit 8: Monitor Received Start..

Allowed values:
0: NO_START_DETECTED: No start detected. The Monitor function has not detected a Start event on the I2C bus.
0x1: START_DETECTED: Start detected. The Monitor function has detected a Start event on the I2C bus.

MONRESTART

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.

MONNACK

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.

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

I2C6

0x40097000: LPC5411x I2C-bus interfaces

72/93 fields covered. Toggle Registers

Show register map

CFG

Configuration for shared functions.

Offset: 0x800, reset: 0, access: read-write

6/6 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
HSCAPABLE
rw
MONCLKSTR
rw
TIMEOUTEN
rw
MONEN
rw
SLVEN
rw
MSTEN
rw
Toggle Fields

MSTEN

Bit 0: Master Enable. When disabled, configurations settings for the Master function are not changed, but the Master function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Master function is disabled.
0x1: ENABLED: Enabled. The I2C Master function is enabled.

SLVEN

Bit 1: Slave Enable. When disabled, configurations settings for the Slave function are not changed, but the Slave function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C slave function is disabled.
0x1: ENABLED: Enabled. The I2C slave function is enabled.

MONEN

Bit 2: Monitor Enable. When disabled, configurations settings for the Monitor function are not changed, but the Monitor function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Monitor function is disabled.
0x1: ENABLED: Enabled. The I2C Monitor function is enabled.

TIMEOUTEN

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.

MONCLKSTR

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.

HSCAPABLE

Bit 5: High-speed mode Capable enable. Since High Speed mode alters the way I2C pins drive and filter, as well as the timing for certain I2C signalling, enabling High-speed mode applies to all functions: Master, Slave, and Monitor..

Allowed values:
0: FAST_MODE_PLUS: Fast-mode plus. The I 2C interface will support Standard-mode, Fast-mode, and Fast-mode Plus, to the extent that the pin electronics support these modes. Any changes that need to be made to the pin controls, such as changing the drive strength or filtering, must be made by software via the IOCON register associated with each I2C pin,
0x1: HIGH_SPEED: High-speed. In addition to Standard-mode, Fast-mode, and Fast-mode Plus, the I 2C interface will support High-speed mode to the extent that the pin electronics support these modes. See Section 25.7.2.2 for more information.

STAT

Status register for Master, Slave, and Monitor functions.

Offset: 0x804, 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
Toggle Fields

MSTPENDING

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.

MSTSTATE

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.

MSTARBLOSS

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.

MSTSTSTPERR

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.

SLVPENDING

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.

SLVSTATE

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).

SLVNOTSTR

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.

SLVIDX

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.

SLVSEL

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.

SLVDESEL

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.

MONRDY

Bit 16: Monitor Ready. This flag is cleared when the MONRXDAT register is read..

Allowed values:
0: NO_DATA: No data. The Monitor function does not currently have data available.
0x1: DATA_WAITING: Data waiting. The Monitor function has data waiting to be read.

MONOV

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.

MONACTIVE

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.

MONIDLE

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.

EVENTTIMEOUT

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.

SCLTIMEOUT

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.

INTENSET

Interrupt Enable Set and read register.

Offset: 0x808, 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
Toggle Fields

MSTPENDINGEN

Bit 0: Master Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstPending interrupt is disabled.
0x1: ENABLED: Enabled. The MstPending interrupt is enabled.

MSTARBLOSSEN

Bit 4: Master Arbitration Loss interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstArbLoss interrupt is disabled.
0x1: ENABLED: Enabled. The MstArbLoss interrupt is enabled.

MSTSTSTPERREN

Bit 6: Master Start/Stop Error interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstStStpErr interrupt is disabled.
0x1: ENABLED: Enabled. The MstStStpErr interrupt is enabled.

SLVPENDINGEN

Bit 8: Slave Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvPending interrupt is disabled.
0x1: ENABLED: Enabled. The SlvPending interrupt is enabled.

SLVNOTSTREN

Bit 11: Slave Not Stretching interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvNotStr interrupt is disabled.
0x1: ENABLED: Enabled. The SlvNotStr interrupt is enabled.

SLVDESELEN

Bit 15: Slave Deselect interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvDeSel interrupt is disabled.
0x1: ENABLED: Enabled. The SlvDeSel interrupt is enabled.

MONRDYEN

Bit 16: Monitor data Ready interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonRdy interrupt is disabled.
0x1: ENABLED: Enabled. The MonRdy interrupt is enabled.

MONOVEN

Bit 17: Monitor Overrun interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonOv interrupt is disabled.
0x1: ENABLED: Enabled. The MonOv interrupt is enabled.

MONIDLEEN

Bit 19: Monitor Idle interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonIdle interrupt is disabled.
0x1: ENABLED: Enabled. The MonIdle interrupt is enabled.

EVENTTIMEOUTEN

Bit 24: Event time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The Event time-out interrupt is disabled.
0x1: ENABLED: Enabled. The Event time-out interrupt is enabled.

SCLTIMEOUTEN

Bit 25: SCL time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SCL time-out interrupt is disabled.
0x1: ENABLED: Enabled. The SCL time-out interrupt is enabled.

INTENCLR

Interrupt Enable Clear register.

Offset: 0x80c, 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
Toggle Fields

MSTPENDINGCLR

Bit 0: Master Pending interrupt clear. Writing 1 to this bit clears the corresponding bit in the INTENSET register if implemented..

MSTARBLOSSCLR

Bit 4: Master Arbitration Loss interrupt clear..

MSTSTSTPERRCLR

Bit 6: Master Start/Stop Error interrupt clear..

SLVPENDINGCLR

Bit 8: Slave Pending interrupt clear..

SLVNOTSTRCLR

Bit 11: Slave Not Stretching interrupt clear..

SLVDESELCLR

Bit 15: Slave Deselect interrupt clear..

MONRDYCLR

Bit 16: Monitor data Ready interrupt clear..

MONOVCLR

Bit 17: Monitor Overrun interrupt clear..

MONIDLECLR

Bit 19: Monitor Idle interrupt clear..

EVENTTIMEOUTCLR

Bit 24: Event time-out interrupt clear..

SCLTIMEOUTCLR

Bit 25: SCL time-out interrupt clear..

TIMEOUT

Time-out value register.

Offset: 0x810, 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
Toggle Fields

TOMIN

Bits 0-3: Time-out time value, bottom four bits. These are hard-wired to 0xF. This gives a minimum time-out of 16 I2C function clocks and also a time-out resolution of 16 I2C function clocks..

TO

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..

CLKDIV

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: 0x814, 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
Toggle Fields

DIVVAL

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..

INTSTAT

Interrupt Status register for Master, Slave, and Monitor functions.

Offset: 0x818, 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
Toggle Fields

MSTPENDING

Bit 0: Master Pending..

MSTARBLOSS

Bit 4: Master Arbitration Loss flag..

MSTSTSTPERR

Bit 6: Master Start/Stop Error flag..

SLVPENDING

Bit 8: Slave Pending..

SLVNOTSTR

Bit 11: Slave Not Stretching status..

SLVDESEL

Bit 15: Slave Deselected flag..

MONRDY

Bit 16: Monitor Ready..

MONOV

Bit 17: Monitor Overflow flag..

MONIDLE

Bit 19: Monitor Idle flag..

EVENTTIMEOUT

Bit 24: Event time-out Interrupt flag..

SCLTIMEOUT

Bit 25: SCL time-out Interrupt flag..

MSTCTL

Master control register.

Offset: 0x820, 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
MSTDMA
rw
MSTSTOP
rw
MSTSTART
rw
MSTCONTINUE
w
Toggle Fields

MSTCONTINUE

Bit 0: Master Continue. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Master function to continue to the next operation. This must done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation.

MSTSTART

Bit 1: Master Start control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: START: Start. A Start will be generated on the I2C bus at the next allowed time.

MSTSTOP

Bit 2: Master Stop control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: STOP: Stop. A Stop will be generated on the I2C bus at the next allowed time, preceded by a NACK to the slave if the master is receiving data from the slave (Master Receiver mode).

MSTDMA

Bit 3: Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write..

Allowed values:
0: DISABLED: Disable. No DMA requests are generated for master operation.
0x1: ENABLED: Enable. A DMA request is generated for I2C master data operations. When this I2C master is generating Acknowledge bits in Master Receiver mode, the acknowledge is generated automatically.

MSTTIME

Master timing configuration.

Offset: 0x824, 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
Toggle Fields

MSTSCLLOW

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.

MSTSCLHIGH

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.

MSTDAT

Combined Master receiver and transmitter data register.

Offset: 0x828, 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
Toggle Fields

DATA

Bits 0-7: Master function data register. Read: read the most recently received data for the Master function. Write: transmit data using the Master function..

SLVCTL

Slave control register.

Offset: 0x840, reset: 0, access: read-write

5/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
AUTOMATCHREAD
rw
AUTOACK
rw
SLVDMA
rw
SLVNACK
rw
SLVCONTINUE
rw
Toggle Fields

SLVCONTINUE

Bit 0: Slave Continue..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Slave function to continue to the next operation, by clearing the SLVPENDING flag in the STAT register. This must be done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation. Automatic Operation has different requirements. SLVCONTINUE should not be set unless SLVPENDING = 1.

SLVNACK

Bit 1: Slave NACK..

Allowed values:
0: NO_EFFECT: No effect.
0x1: NACK: NACK. Causes the Slave function to NACK the master when the slave is receiving data from the master (Slave Receiver mode).

SLVDMA

Bit 3: Slave DMA enable..

Allowed values:
0: DISABLED: Disabled. No DMA requests are issued for Slave mode operation.
0x1: ENABLED: Enabled. DMA requests are issued for I2C slave data transmission and reception.

AUTOACK

Bit 8: Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt..

Allowed values:
0: NORMAL: Normal, non-automatic operation. If AUTONACK = 0, an SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, received addresses are NACKed (ignored).
0x1: AUTOMATIC_ACK: A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, the behavior will depend on the AUTONACK bit in the SLVADR0 register: if AUTONACK is set, then it will be Nacked; else if AUTONACK is clear, then a SlvPending interrupt is generated.

AUTOMATCHREAD

Bit 9: When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation..

Allowed values:
0: I2C_WRITE: The expected next operation in Automatic Mode is an I2C write.
0x1: I2C_READ: The expected next operation in Automatic Mode is an I2C read.

SLVDAT

Combined Slave receiver and transmitter data register.

Offset: 0x844, 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
Toggle Fields

DATA

Bits 0-7: Slave function data register. Read: read the most recently received data for the Slave function. Write: transmit data using the Slave function..

SLVADR[[0]]

Slave address register.

Offset: 0x848, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[1]]

Slave address register.

Offset: 0x84c, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[2]]

Slave address register.

Offset: 0x850, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[3]]

Slave address register.

Offset: 0x854, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVQUAL0

Slave Qualification for address 0.

Offset: 0x858, 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
Toggle Fields

QUALMODE0

Bit 0: Qualify mode for slave address 0..

Allowed values:
0: MASK: Mask. The SLVQUAL0 field is used as a logical mask for matching address 0.
0x1: EXTEND: Extend. The SLVQUAL0 field is used to extend address 0 matching in a range of addresses.

SLVQUAL0

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])..

MONRXDAT

Monitor receiver data register.

Offset: 0x880, 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
Toggle Fields

MONRXDAT

Bits 0-7: Monitor function Receiver Data. This reflects every data byte that passes on the I2C pins..

MONSTART

Bit 8: Monitor Received Start..

Allowed values:
0: NO_START_DETECTED: No start detected. The Monitor function has not detected a Start event on the I2C bus.
0x1: START_DETECTED: Start detected. The Monitor function has detected a Start event on the I2C bus.

MONRESTART

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.

MONNACK

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.

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

I2C7

0x40098000: LPC5411x I2C-bus interfaces

72/93 fields covered. Toggle Registers

Show register map

CFG

Configuration for shared functions.

Offset: 0x800, reset: 0, access: read-write

6/6 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
HSCAPABLE
rw
MONCLKSTR
rw
TIMEOUTEN
rw
MONEN
rw
SLVEN
rw
MSTEN
rw
Toggle Fields

MSTEN

Bit 0: Master Enable. When disabled, configurations settings for the Master function are not changed, but the Master function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Master function is disabled.
0x1: ENABLED: Enabled. The I2C Master function is enabled.

SLVEN

Bit 1: Slave Enable. When disabled, configurations settings for the Slave function are not changed, but the Slave function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C slave function is disabled.
0x1: ENABLED: Enabled. The I2C slave function is enabled.

MONEN

Bit 2: Monitor Enable. When disabled, configurations settings for the Monitor function are not changed, but the Monitor function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Monitor function is disabled.
0x1: ENABLED: Enabled. The I2C Monitor function is enabled.

TIMEOUTEN

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.

MONCLKSTR

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.

HSCAPABLE

Bit 5: High-speed mode Capable enable. Since High Speed mode alters the way I2C pins drive and filter, as well as the timing for certain I2C signalling, enabling High-speed mode applies to all functions: Master, Slave, and Monitor..

Allowed values:
0: FAST_MODE_PLUS: Fast-mode plus. The I 2C interface will support Standard-mode, Fast-mode, and Fast-mode Plus, to the extent that the pin electronics support these modes. Any changes that need to be made to the pin controls, such as changing the drive strength or filtering, must be made by software via the IOCON register associated with each I2C pin,
0x1: HIGH_SPEED: High-speed. In addition to Standard-mode, Fast-mode, and Fast-mode Plus, the I 2C interface will support High-speed mode to the extent that the pin electronics support these modes. See Section 25.7.2.2 for more information.

STAT

Status register for Master, Slave, and Monitor functions.

Offset: 0x804, 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
Toggle Fields

MSTPENDING

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.

MSTSTATE

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.

MSTARBLOSS

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.

MSTSTSTPERR

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.

SLVPENDING

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.

SLVSTATE

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).

SLVNOTSTR

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.

SLVIDX

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.

SLVSEL

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.

SLVDESEL

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.

MONRDY

Bit 16: Monitor Ready. This flag is cleared when the MONRXDAT register is read..

Allowed values:
0: NO_DATA: No data. The Monitor function does not currently have data available.
0x1: DATA_WAITING: Data waiting. The Monitor function has data waiting to be read.

MONOV

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.

MONACTIVE

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.

MONIDLE

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.

EVENTTIMEOUT

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.

SCLTIMEOUT

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.

INTENSET

Interrupt Enable Set and read register.

Offset: 0x808, 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
Toggle Fields

MSTPENDINGEN

Bit 0: Master Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstPending interrupt is disabled.
0x1: ENABLED: Enabled. The MstPending interrupt is enabled.

MSTARBLOSSEN

Bit 4: Master Arbitration Loss interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstArbLoss interrupt is disabled.
0x1: ENABLED: Enabled. The MstArbLoss interrupt is enabled.

MSTSTSTPERREN

Bit 6: Master Start/Stop Error interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstStStpErr interrupt is disabled.
0x1: ENABLED: Enabled. The MstStStpErr interrupt is enabled.

SLVPENDINGEN

Bit 8: Slave Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvPending interrupt is disabled.
0x1: ENABLED: Enabled. The SlvPending interrupt is enabled.

SLVNOTSTREN

Bit 11: Slave Not Stretching interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvNotStr interrupt is disabled.
0x1: ENABLED: Enabled. The SlvNotStr interrupt is enabled.

SLVDESELEN

Bit 15: Slave Deselect interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvDeSel interrupt is disabled.
0x1: ENABLED: Enabled. The SlvDeSel interrupt is enabled.

MONRDYEN

Bit 16: Monitor data Ready interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonRdy interrupt is disabled.
0x1: ENABLED: Enabled. The MonRdy interrupt is enabled.

MONOVEN

Bit 17: Monitor Overrun interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonOv interrupt is disabled.
0x1: ENABLED: Enabled. The MonOv interrupt is enabled.

MONIDLEEN

Bit 19: Monitor Idle interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonIdle interrupt is disabled.
0x1: ENABLED: Enabled. The MonIdle interrupt is enabled.

EVENTTIMEOUTEN

Bit 24: Event time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The Event time-out interrupt is disabled.
0x1: ENABLED: Enabled. The Event time-out interrupt is enabled.

SCLTIMEOUTEN

Bit 25: SCL time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SCL time-out interrupt is disabled.
0x1: ENABLED: Enabled. The SCL time-out interrupt is enabled.

INTENCLR

Interrupt Enable Clear register.

Offset: 0x80c, 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
Toggle Fields

MSTPENDINGCLR

Bit 0: Master Pending interrupt clear. Writing 1 to this bit clears the corresponding bit in the INTENSET register if implemented..

MSTARBLOSSCLR

Bit 4: Master Arbitration Loss interrupt clear..

MSTSTSTPERRCLR

Bit 6: Master Start/Stop Error interrupt clear..

SLVPENDINGCLR

Bit 8: Slave Pending interrupt clear..

SLVNOTSTRCLR

Bit 11: Slave Not Stretching interrupt clear..

SLVDESELCLR

Bit 15: Slave Deselect interrupt clear..

MONRDYCLR

Bit 16: Monitor data Ready interrupt clear..

MONOVCLR

Bit 17: Monitor Overrun interrupt clear..

MONIDLECLR

Bit 19: Monitor Idle interrupt clear..

EVENTTIMEOUTCLR

Bit 24: Event time-out interrupt clear..

SCLTIMEOUTCLR

Bit 25: SCL time-out interrupt clear..

TIMEOUT

Time-out value register.

Offset: 0x810, 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
Toggle Fields

TOMIN

Bits 0-3: Time-out time value, bottom four bits. These are hard-wired to 0xF. This gives a minimum time-out of 16 I2C function clocks and also a time-out resolution of 16 I2C function clocks..

TO

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..

CLKDIV

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: 0x814, 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
Toggle Fields

DIVVAL

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..

INTSTAT

Interrupt Status register for Master, Slave, and Monitor functions.

Offset: 0x818, 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
Toggle Fields

MSTPENDING

Bit 0: Master Pending..

MSTARBLOSS

Bit 4: Master Arbitration Loss flag..

MSTSTSTPERR

Bit 6: Master Start/Stop Error flag..

SLVPENDING

Bit 8: Slave Pending..

SLVNOTSTR

Bit 11: Slave Not Stretching status..

SLVDESEL

Bit 15: Slave Deselected flag..

MONRDY

Bit 16: Monitor Ready..

MONOV

Bit 17: Monitor Overflow flag..

MONIDLE

Bit 19: Monitor Idle flag..

EVENTTIMEOUT

Bit 24: Event time-out Interrupt flag..

SCLTIMEOUT

Bit 25: SCL time-out Interrupt flag..

MSTCTL

Master control register.

Offset: 0x820, 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
MSTDMA
rw
MSTSTOP
rw
MSTSTART
rw
MSTCONTINUE
w
Toggle Fields

MSTCONTINUE

Bit 0: Master Continue. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Master function to continue to the next operation. This must done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation.

MSTSTART

Bit 1: Master Start control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: START: Start. A Start will be generated on the I2C bus at the next allowed time.

MSTSTOP

Bit 2: Master Stop control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: STOP: Stop. A Stop will be generated on the I2C bus at the next allowed time, preceded by a NACK to the slave if the master is receiving data from the slave (Master Receiver mode).

MSTDMA

Bit 3: Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write..

Allowed values:
0: DISABLED: Disable. No DMA requests are generated for master operation.
0x1: ENABLED: Enable. A DMA request is generated for I2C master data operations. When this I2C master is generating Acknowledge bits in Master Receiver mode, the acknowledge is generated automatically.

MSTTIME

Master timing configuration.

Offset: 0x824, 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
Toggle Fields

MSTSCLLOW

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.

MSTSCLHIGH

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.

MSTDAT

Combined Master receiver and transmitter data register.

Offset: 0x828, 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
Toggle Fields

DATA

Bits 0-7: Master function data register. Read: read the most recently received data for the Master function. Write: transmit data using the Master function..

SLVCTL

Slave control register.

Offset: 0x840, reset: 0, access: read-write

5/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
AUTOMATCHREAD
rw
AUTOACK
rw
SLVDMA
rw
SLVNACK
rw
SLVCONTINUE
rw
Toggle Fields

SLVCONTINUE

Bit 0: Slave Continue..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Slave function to continue to the next operation, by clearing the SLVPENDING flag in the STAT register. This must be done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation. Automatic Operation has different requirements. SLVCONTINUE should not be set unless SLVPENDING = 1.

SLVNACK

Bit 1: Slave NACK..

Allowed values:
0: NO_EFFECT: No effect.
0x1: NACK: NACK. Causes the Slave function to NACK the master when the slave is receiving data from the master (Slave Receiver mode).

SLVDMA

Bit 3: Slave DMA enable..

Allowed values:
0: DISABLED: Disabled. No DMA requests are issued for Slave mode operation.
0x1: ENABLED: Enabled. DMA requests are issued for I2C slave data transmission and reception.

AUTOACK

Bit 8: Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt..

Allowed values:
0: NORMAL: Normal, non-automatic operation. If AUTONACK = 0, an SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, received addresses are NACKed (ignored).
0x1: AUTOMATIC_ACK: A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, the behavior will depend on the AUTONACK bit in the SLVADR0 register: if AUTONACK is set, then it will be Nacked; else if AUTONACK is clear, then a SlvPending interrupt is generated.

AUTOMATCHREAD

Bit 9: When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation..

Allowed values:
0: I2C_WRITE: The expected next operation in Automatic Mode is an I2C write.
0x1: I2C_READ: The expected next operation in Automatic Mode is an I2C read.

SLVDAT

Combined Slave receiver and transmitter data register.

Offset: 0x844, 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
Toggle Fields

DATA

Bits 0-7: Slave function data register. Read: read the most recently received data for the Slave function. Write: transmit data using the Slave function..

SLVADR[[0]]

Slave address register.

Offset: 0x848, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[1]]

Slave address register.

Offset: 0x84c, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[2]]

Slave address register.

Offset: 0x850, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[3]]

Slave address register.

Offset: 0x854, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVQUAL0

Slave Qualification for address 0.

Offset: 0x858, 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
Toggle Fields

QUALMODE0

Bit 0: Qualify mode for slave address 0..

Allowed values:
0: MASK: Mask. The SLVQUAL0 field is used as a logical mask for matching address 0.
0x1: EXTEND: Extend. The SLVQUAL0 field is used to extend address 0 matching in a range of addresses.

SLVQUAL0

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])..

MONRXDAT

Monitor receiver data register.

Offset: 0x880, 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
Toggle Fields

MONRXDAT

Bits 0-7: Monitor function Receiver Data. This reflects every data byte that passes on the I2C pins..

MONSTART

Bit 8: Monitor Received Start..

Allowed values:
0: NO_START_DETECTED: No start detected. The Monitor function has not detected a Start event on the I2C bus.
0x1: START_DETECTED: Start detected. The Monitor function has detected a Start event on the I2C bus.

MONRESTART

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.

MONNACK

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.

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

I2C8

0x40099000: LPC5411x I2C-bus interfaces

72/93 fields covered. Toggle Registers

Show register map

CFG

Configuration for shared functions.

Offset: 0x800, reset: 0, access: read-write

6/6 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
HSCAPABLE
rw
MONCLKSTR
rw
TIMEOUTEN
rw
MONEN
rw
SLVEN
rw
MSTEN
rw
Toggle Fields

MSTEN

Bit 0: Master Enable. When disabled, configurations settings for the Master function are not changed, but the Master function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Master function is disabled.
0x1: ENABLED: Enabled. The I2C Master function is enabled.

SLVEN

Bit 1: Slave Enable. When disabled, configurations settings for the Slave function are not changed, but the Slave function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C slave function is disabled.
0x1: ENABLED: Enabled. The I2C slave function is enabled.

MONEN

Bit 2: Monitor Enable. When disabled, configurations settings for the Monitor function are not changed, but the Monitor function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Monitor function is disabled.
0x1: ENABLED: Enabled. The I2C Monitor function is enabled.

TIMEOUTEN

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.

MONCLKSTR

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.

HSCAPABLE

Bit 5: High-speed mode Capable enable. Since High Speed mode alters the way I2C pins drive and filter, as well as the timing for certain I2C signalling, enabling High-speed mode applies to all functions: Master, Slave, and Monitor..

Allowed values:
0: FAST_MODE_PLUS: Fast-mode plus. The I 2C interface will support Standard-mode, Fast-mode, and Fast-mode Plus, to the extent that the pin electronics support these modes. Any changes that need to be made to the pin controls, such as changing the drive strength or filtering, must be made by software via the IOCON register associated with each I2C pin,
0x1: HIGH_SPEED: High-speed. In addition to Standard-mode, Fast-mode, and Fast-mode Plus, the I 2C interface will support High-speed mode to the extent that the pin electronics support these modes. See Section 25.7.2.2 for more information.

STAT

Status register for Master, Slave, and Monitor functions.

Offset: 0x804, 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
Toggle Fields

MSTPENDING

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.

MSTSTATE

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.

MSTARBLOSS

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.

MSTSTSTPERR

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.

SLVPENDING

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.

SLVSTATE

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).

SLVNOTSTR

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.

SLVIDX

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.

SLVSEL

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.

SLVDESEL

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.

MONRDY

Bit 16: Monitor Ready. This flag is cleared when the MONRXDAT register is read..

Allowed values:
0: NO_DATA: No data. The Monitor function does not currently have data available.
0x1: DATA_WAITING: Data waiting. The Monitor function has data waiting to be read.

MONOV

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.

MONACTIVE

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.

MONIDLE

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.

EVENTTIMEOUT

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.

SCLTIMEOUT

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.

INTENSET

Interrupt Enable Set and read register.

Offset: 0x808, 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
Toggle Fields

MSTPENDINGEN

Bit 0: Master Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstPending interrupt is disabled.
0x1: ENABLED: Enabled. The MstPending interrupt is enabled.

MSTARBLOSSEN

Bit 4: Master Arbitration Loss interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstArbLoss interrupt is disabled.
0x1: ENABLED: Enabled. The MstArbLoss interrupt is enabled.

MSTSTSTPERREN

Bit 6: Master Start/Stop Error interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstStStpErr interrupt is disabled.
0x1: ENABLED: Enabled. The MstStStpErr interrupt is enabled.

SLVPENDINGEN

Bit 8: Slave Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvPending interrupt is disabled.
0x1: ENABLED: Enabled. The SlvPending interrupt is enabled.

SLVNOTSTREN

Bit 11: Slave Not Stretching interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvNotStr interrupt is disabled.
0x1: ENABLED: Enabled. The SlvNotStr interrupt is enabled.

SLVDESELEN

Bit 15: Slave Deselect interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvDeSel interrupt is disabled.
0x1: ENABLED: Enabled. The SlvDeSel interrupt is enabled.

MONRDYEN

Bit 16: Monitor data Ready interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonRdy interrupt is disabled.
0x1: ENABLED: Enabled. The MonRdy interrupt is enabled.

MONOVEN

Bit 17: Monitor Overrun interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonOv interrupt is disabled.
0x1: ENABLED: Enabled. The MonOv interrupt is enabled.

MONIDLEEN

Bit 19: Monitor Idle interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonIdle interrupt is disabled.
0x1: ENABLED: Enabled. The MonIdle interrupt is enabled.

EVENTTIMEOUTEN

Bit 24: Event time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The Event time-out interrupt is disabled.
0x1: ENABLED: Enabled. The Event time-out interrupt is enabled.

SCLTIMEOUTEN

Bit 25: SCL time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SCL time-out interrupt is disabled.
0x1: ENABLED: Enabled. The SCL time-out interrupt is enabled.

INTENCLR

Interrupt Enable Clear register.

Offset: 0x80c, 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
Toggle Fields

MSTPENDINGCLR

Bit 0: Master Pending interrupt clear. Writing 1 to this bit clears the corresponding bit in the INTENSET register if implemented..

MSTARBLOSSCLR

Bit 4: Master Arbitration Loss interrupt clear..

MSTSTSTPERRCLR

Bit 6: Master Start/Stop Error interrupt clear..

SLVPENDINGCLR

Bit 8: Slave Pending interrupt clear..

SLVNOTSTRCLR

Bit 11: Slave Not Stretching interrupt clear..

SLVDESELCLR

Bit 15: Slave Deselect interrupt clear..

MONRDYCLR

Bit 16: Monitor data Ready interrupt clear..

MONOVCLR

Bit 17: Monitor Overrun interrupt clear..

MONIDLECLR

Bit 19: Monitor Idle interrupt clear..

EVENTTIMEOUTCLR

Bit 24: Event time-out interrupt clear..

SCLTIMEOUTCLR

Bit 25: SCL time-out interrupt clear..

TIMEOUT

Time-out value register.

Offset: 0x810, 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
Toggle Fields

TOMIN

Bits 0-3: Time-out time value, bottom four bits. These are hard-wired to 0xF. This gives a minimum time-out of 16 I2C function clocks and also a time-out resolution of 16 I2C function clocks..

TO

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..

CLKDIV

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: 0x814, 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
Toggle Fields

DIVVAL

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..

INTSTAT

Interrupt Status register for Master, Slave, and Monitor functions.

Offset: 0x818, 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
Toggle Fields

MSTPENDING

Bit 0: Master Pending..

MSTARBLOSS

Bit 4: Master Arbitration Loss flag..

MSTSTSTPERR

Bit 6: Master Start/Stop Error flag..

SLVPENDING

Bit 8: Slave Pending..

SLVNOTSTR

Bit 11: Slave Not Stretching status..

SLVDESEL

Bit 15: Slave Deselected flag..

MONRDY

Bit 16: Monitor Ready..

MONOV

Bit 17: Monitor Overflow flag..

MONIDLE

Bit 19: Monitor Idle flag..

EVENTTIMEOUT

Bit 24: Event time-out Interrupt flag..

SCLTIMEOUT

Bit 25: SCL time-out Interrupt flag..

MSTCTL

Master control register.

Offset: 0x820, 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
MSTDMA
rw
MSTSTOP
rw
MSTSTART
rw
MSTCONTINUE
w
Toggle Fields

MSTCONTINUE

Bit 0: Master Continue. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Master function to continue to the next operation. This must done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation.

MSTSTART

Bit 1: Master Start control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: START: Start. A Start will be generated on the I2C bus at the next allowed time.

MSTSTOP

Bit 2: Master Stop control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: STOP: Stop. A Stop will be generated on the I2C bus at the next allowed time, preceded by a NACK to the slave if the master is receiving data from the slave (Master Receiver mode).

MSTDMA

Bit 3: Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write..

Allowed values:
0: DISABLED: Disable. No DMA requests are generated for master operation.
0x1: ENABLED: Enable. A DMA request is generated for I2C master data operations. When this I2C master is generating Acknowledge bits in Master Receiver mode, the acknowledge is generated automatically.

MSTTIME

Master timing configuration.

Offset: 0x824, 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
Toggle Fields

MSTSCLLOW

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.

MSTSCLHIGH

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.

MSTDAT

Combined Master receiver and transmitter data register.

Offset: 0x828, 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
Toggle Fields

DATA

Bits 0-7: Master function data register. Read: read the most recently received data for the Master function. Write: transmit data using the Master function..

SLVCTL

Slave control register.

Offset: 0x840, reset: 0, access: read-write

5/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
AUTOMATCHREAD
rw
AUTOACK
rw
SLVDMA
rw
SLVNACK
rw
SLVCONTINUE
rw
Toggle Fields

SLVCONTINUE

Bit 0: Slave Continue..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Slave function to continue to the next operation, by clearing the SLVPENDING flag in the STAT register. This must be done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation. Automatic Operation has different requirements. SLVCONTINUE should not be set unless SLVPENDING = 1.

SLVNACK

Bit 1: Slave NACK..

Allowed values:
0: NO_EFFECT: No effect.
0x1: NACK: NACK. Causes the Slave function to NACK the master when the slave is receiving data from the master (Slave Receiver mode).

SLVDMA

Bit 3: Slave DMA enable..

Allowed values:
0: DISABLED: Disabled. No DMA requests are issued for Slave mode operation.
0x1: ENABLED: Enabled. DMA requests are issued for I2C slave data transmission and reception.

AUTOACK

Bit 8: Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt..

Allowed values:
0: NORMAL: Normal, non-automatic operation. If AUTONACK = 0, an SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, received addresses are NACKed (ignored).
0x1: AUTOMATIC_ACK: A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, the behavior will depend on the AUTONACK bit in the SLVADR0 register: if AUTONACK is set, then it will be Nacked; else if AUTONACK is clear, then a SlvPending interrupt is generated.

AUTOMATCHREAD

Bit 9: When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation..

Allowed values:
0: I2C_WRITE: The expected next operation in Automatic Mode is an I2C write.
0x1: I2C_READ: The expected next operation in Automatic Mode is an I2C read.

SLVDAT

Combined Slave receiver and transmitter data register.

Offset: 0x844, 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
Toggle Fields

DATA

Bits 0-7: Slave function data register. Read: read the most recently received data for the Slave function. Write: transmit data using the Slave function..

SLVADR[[0]]

Slave address register.

Offset: 0x848, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[1]]

Slave address register.

Offset: 0x84c, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[2]]

Slave address register.

Offset: 0x850, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[3]]

Slave address register.

Offset: 0x854, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVQUAL0

Slave Qualification for address 0.

Offset: 0x858, 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
Toggle Fields

QUALMODE0

Bit 0: Qualify mode for slave address 0..

Allowed values:
0: MASK: Mask. The SLVQUAL0 field is used as a logical mask for matching address 0.
0x1: EXTEND: Extend. The SLVQUAL0 field is used to extend address 0 matching in a range of addresses.

SLVQUAL0

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])..

MONRXDAT

Monitor receiver data register.

Offset: 0x880, 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
Toggle Fields

MONRXDAT

Bits 0-7: Monitor function Receiver Data. This reflects every data byte that passes on the I2C pins..

MONSTART

Bit 8: Monitor Received Start..

Allowed values:
0: NO_START_DETECTED: No start detected. The Monitor function has not detected a Start event on the I2C bus.
0x1: START_DETECTED: Start detected. The Monitor function has detected a Start event on the I2C bus.

MONRESTART

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.

MONNACK

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.

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

I2C9

0x4009a000: LPC5411x I2C-bus interfaces

72/93 fields covered. Toggle Registers

Show register map

CFG

Configuration for shared functions.

Offset: 0x800, reset: 0, access: read-write

6/6 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
HSCAPABLE
rw
MONCLKSTR
rw
TIMEOUTEN
rw
MONEN
rw
SLVEN
rw
MSTEN
rw
Toggle Fields

MSTEN

Bit 0: Master Enable. When disabled, configurations settings for the Master function are not changed, but the Master function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Master function is disabled.
0x1: ENABLED: Enabled. The I2C Master function is enabled.

SLVEN

Bit 1: Slave Enable. When disabled, configurations settings for the Slave function are not changed, but the Slave function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C slave function is disabled.
0x1: ENABLED: Enabled. The I2C slave function is enabled.

MONEN

Bit 2: Monitor Enable. When disabled, configurations settings for the Monitor function are not changed, but the Monitor function is internally reset..

Allowed values:
0: DISABLED: Disabled. The I2C Monitor function is disabled.
0x1: ENABLED: Enabled. The I2C Monitor function is enabled.

TIMEOUTEN

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.

MONCLKSTR

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.

HSCAPABLE

Bit 5: High-speed mode Capable enable. Since High Speed mode alters the way I2C pins drive and filter, as well as the timing for certain I2C signalling, enabling High-speed mode applies to all functions: Master, Slave, and Monitor..

Allowed values:
0: FAST_MODE_PLUS: Fast-mode plus. The I 2C interface will support Standard-mode, Fast-mode, and Fast-mode Plus, to the extent that the pin electronics support these modes. Any changes that need to be made to the pin controls, such as changing the drive strength or filtering, must be made by software via the IOCON register associated with each I2C pin,
0x1: HIGH_SPEED: High-speed. In addition to Standard-mode, Fast-mode, and Fast-mode Plus, the I 2C interface will support High-speed mode to the extent that the pin electronics support these modes. See Section 25.7.2.2 for more information.

STAT

Status register for Master, Slave, and Monitor functions.

Offset: 0x804, 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
Toggle Fields

MSTPENDING

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.

MSTSTATE

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.

MSTARBLOSS

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.

MSTSTSTPERR

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.

SLVPENDING

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.

SLVSTATE

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).

SLVNOTSTR

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.

SLVIDX

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.

SLVSEL

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.

SLVDESEL

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.

MONRDY

Bit 16: Monitor Ready. This flag is cleared when the MONRXDAT register is read..

Allowed values:
0: NO_DATA: No data. The Monitor function does not currently have data available.
0x1: DATA_WAITING: Data waiting. The Monitor function has data waiting to be read.

MONOV

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.

MONACTIVE

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.

MONIDLE

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.

EVENTTIMEOUT

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.

SCLTIMEOUT

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.

INTENSET

Interrupt Enable Set and read register.

Offset: 0x808, 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
Toggle Fields

MSTPENDINGEN

Bit 0: Master Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstPending interrupt is disabled.
0x1: ENABLED: Enabled. The MstPending interrupt is enabled.

MSTARBLOSSEN

Bit 4: Master Arbitration Loss interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstArbLoss interrupt is disabled.
0x1: ENABLED: Enabled. The MstArbLoss interrupt is enabled.

MSTSTSTPERREN

Bit 6: Master Start/Stop Error interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MstStStpErr interrupt is disabled.
0x1: ENABLED: Enabled. The MstStStpErr interrupt is enabled.

SLVPENDINGEN

Bit 8: Slave Pending interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvPending interrupt is disabled.
0x1: ENABLED: Enabled. The SlvPending interrupt is enabled.

SLVNOTSTREN

Bit 11: Slave Not Stretching interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvNotStr interrupt is disabled.
0x1: ENABLED: Enabled. The SlvNotStr interrupt is enabled.

SLVDESELEN

Bit 15: Slave Deselect interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SlvDeSel interrupt is disabled.
0x1: ENABLED: Enabled. The SlvDeSel interrupt is enabled.

MONRDYEN

Bit 16: Monitor data Ready interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonRdy interrupt is disabled.
0x1: ENABLED: Enabled. The MonRdy interrupt is enabled.

MONOVEN

Bit 17: Monitor Overrun interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonOv interrupt is disabled.
0x1: ENABLED: Enabled. The MonOv interrupt is enabled.

MONIDLEEN

Bit 19: Monitor Idle interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The MonIdle interrupt is disabled.
0x1: ENABLED: Enabled. The MonIdle interrupt is enabled.

EVENTTIMEOUTEN

Bit 24: Event time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The Event time-out interrupt is disabled.
0x1: ENABLED: Enabled. The Event time-out interrupt is enabled.

SCLTIMEOUTEN

Bit 25: SCL time-out interrupt Enable..

Allowed values:
0: DISABLED: Disabled. The SCL time-out interrupt is disabled.
0x1: ENABLED: Enabled. The SCL time-out interrupt is enabled.

INTENCLR

Interrupt Enable Clear register.

Offset: 0x80c, 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
Toggle Fields

MSTPENDINGCLR

Bit 0: Master Pending interrupt clear. Writing 1 to this bit clears the corresponding bit in the INTENSET register if implemented..

MSTARBLOSSCLR

Bit 4: Master Arbitration Loss interrupt clear..

MSTSTSTPERRCLR

Bit 6: Master Start/Stop Error interrupt clear..

SLVPENDINGCLR

Bit 8: Slave Pending interrupt clear..

SLVNOTSTRCLR

Bit 11: Slave Not Stretching interrupt clear..

SLVDESELCLR

Bit 15: Slave Deselect interrupt clear..

MONRDYCLR

Bit 16: Monitor data Ready interrupt clear..

MONOVCLR

Bit 17: Monitor Overrun interrupt clear..

MONIDLECLR

Bit 19: Monitor Idle interrupt clear..

EVENTTIMEOUTCLR

Bit 24: Event time-out interrupt clear..

SCLTIMEOUTCLR

Bit 25: SCL time-out interrupt clear..

TIMEOUT

Time-out value register.

Offset: 0x810, 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
Toggle Fields

TOMIN

Bits 0-3: Time-out time value, bottom four bits. These are hard-wired to 0xF. This gives a minimum time-out of 16 I2C function clocks and also a time-out resolution of 16 I2C function clocks..

TO

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..

CLKDIV

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: 0x814, 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
Toggle Fields

DIVVAL

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..

INTSTAT

Interrupt Status register for Master, Slave, and Monitor functions.

Offset: 0x818, 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
Toggle Fields

MSTPENDING

Bit 0: Master Pending..

MSTARBLOSS

Bit 4: Master Arbitration Loss flag..

MSTSTSTPERR

Bit 6: Master Start/Stop Error flag..

SLVPENDING

Bit 8: Slave Pending..

SLVNOTSTR

Bit 11: Slave Not Stretching status..

SLVDESEL

Bit 15: Slave Deselected flag..

MONRDY

Bit 16: Monitor Ready..

MONOV

Bit 17: Monitor Overflow flag..

MONIDLE

Bit 19: Monitor Idle flag..

EVENTTIMEOUT

Bit 24: Event time-out Interrupt flag..

SCLTIMEOUT

Bit 25: SCL time-out Interrupt flag..

MSTCTL

Master control register.

Offset: 0x820, 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
MSTDMA
rw
MSTSTOP
rw
MSTSTART
rw
MSTCONTINUE
w
Toggle Fields

MSTCONTINUE

Bit 0: Master Continue. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Master function to continue to the next operation. This must done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation.

MSTSTART

Bit 1: Master Start control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: START: Start. A Start will be generated on the I2C bus at the next allowed time.

MSTSTOP

Bit 2: Master Stop control. This bit is write-only..

Allowed values:
0: NO_EFFECT: No effect.
0x1: STOP: Stop. A Stop will be generated on the I2C bus at the next allowed time, preceded by a NACK to the slave if the master is receiving data from the slave (Master Receiver mode).

MSTDMA

Bit 3: Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write..

Allowed values:
0: DISABLED: Disable. No DMA requests are generated for master operation.
0x1: ENABLED: Enable. A DMA request is generated for I2C master data operations. When this I2C master is generating Acknowledge bits in Master Receiver mode, the acknowledge is generated automatically.

MSTTIME

Master timing configuration.

Offset: 0x824, 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
Toggle Fields

MSTSCLLOW

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.

MSTSCLHIGH

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.

MSTDAT

Combined Master receiver and transmitter data register.

Offset: 0x828, 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
Toggle Fields

DATA

Bits 0-7: Master function data register. Read: read the most recently received data for the Master function. Write: transmit data using the Master function..

SLVCTL

Slave control register.

Offset: 0x840, reset: 0, access: read-write

5/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
AUTOMATCHREAD
rw
AUTOACK
rw
SLVDMA
rw
SLVNACK
rw
SLVCONTINUE
rw
Toggle Fields

SLVCONTINUE

Bit 0: Slave Continue..

Allowed values:
0: NO_EFFECT: No effect.
0x1: CONTINUE: Continue. Informs the Slave function to continue to the next operation, by clearing the SLVPENDING flag in the STAT register. This must be done after writing transmit data, reading received data, or any other housekeeping related to the next bus operation. Automatic Operation has different requirements. SLVCONTINUE should not be set unless SLVPENDING = 1.

SLVNACK

Bit 1: Slave NACK..

Allowed values:
0: NO_EFFECT: No effect.
0x1: NACK: NACK. Causes the Slave function to NACK the master when the slave is receiving data from the master (Slave Receiver mode).

SLVDMA

Bit 3: Slave DMA enable..

Allowed values:
0: DISABLED: Disabled. No DMA requests are issued for Slave mode operation.
0x1: ENABLED: Enabled. DMA requests are issued for I2C slave data transmission and reception.

AUTOACK

Bit 8: Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt..

Allowed values:
0: NORMAL: Normal, non-automatic operation. If AUTONACK = 0, an SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, received addresses are NACKed (ignored).
0x1: AUTOMATIC_ACK: A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, the behavior will depend on the AUTONACK bit in the SLVADR0 register: if AUTONACK is set, then it will be Nacked; else if AUTONACK is clear, then a SlvPending interrupt is generated.

AUTOMATCHREAD

Bit 9: When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation..

Allowed values:
0: I2C_WRITE: The expected next operation in Automatic Mode is an I2C write.
0x1: I2C_READ: The expected next operation in Automatic Mode is an I2C read.

SLVDAT

Combined Slave receiver and transmitter data register.

Offset: 0x844, 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
Toggle Fields

DATA

Bits 0-7: Slave function data register. Read: read the most recently received data for the Slave function. Write: transmit data using the Slave function..

SLVADR[[0]]

Slave address register.

Offset: 0x848, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[1]]

Slave address register.

Offset: 0x84c, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[2]]

Slave address register.

Offset: 0x850, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVADR[[3]]

Slave address register.

Offset: 0x854, reset: 0x1, access: read-write

2/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
AUTONACK
rw
SLVADR
rw
SADISABLE
rw
Toggle Fields

SADISABLE

Bit 0: Slave Address n Disable..

Allowed values:
0: ENABLED: Enabled. Slave Address n is enabled.
0x1: DISABLED: Ignored Slave Address n is ignored.

SLVADR

Bits 1-7: Slave Address. Seven bit slave address that is compared to received addresses if enabled..

AUTONACK

Bit 15: Automatic NACK operation. Used in conjunction with AUTOACK and AUTOMATCHREAD, allows software to ignore I2C traffic while handling previous I2C data or other operations..

Allowed values:
0: NORMAL: Normal operation, matching I2C addresses are not ignored.
0x1: AUTOMATIC: Automatic-only mode. All incoming addresses are ignored (NACKed), unless AUTOACK is set, it matches SLVADRn, and AUTOMATCHREAD matches the direction.

SLVQUAL0

Slave Qualification for address 0.

Offset: 0x858, 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
Toggle Fields

QUALMODE0

Bit 0: Qualify mode for slave address 0..

Allowed values:
0: MASK: Mask. The SLVQUAL0 field is used as a logical mask for matching address 0.
0x1: EXTEND: Extend. The SLVQUAL0 field is used to extend address 0 matching in a range of addresses.

SLVQUAL0

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])..

MONRXDAT

Monitor receiver data register.

Offset: 0x880, 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
Toggle Fields

MONRXDAT

Bits 0-7: Monitor function Receiver Data. This reflects every data byte that passes on the I2C pins..

MONSTART

Bit 8: Monitor Received Start..

Allowed values:
0: NO_START_DETECTED: No start detected. The Monitor function has not detected a Start event on the I2C bus.
0x1: START_DETECTED: Start detected. The Monitor function has detected a Start event on the I2C bus.

MONRESTART

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.

MONNACK

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.

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

I2S0

0x40097000: LPC5411x I2S interface

54/88 fields covered. Toggle Registers

Show register map

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
0xc00 CFG1
0xc04 CFG2
0xc08 STAT
0xc1c DIV
0xc20 PCFG1 [0]
0xc24 PCFG2 [0]
0xc28 PSTAT [0]
0xc40 PCFG1 [1]
0xc44 PCFG2 [1]
0xc48 PSTAT [1]
0xc60 PCFG1 [2]
0xc64 PCFG2 [2]
0xc68 PSTAT [2]
0xe00 FIFOCFG
0xe04 FIFOSTAT
0xe08 FIFOTRIG
0xe10 FIFOINTENSET
0xe14 FIFOINTENCLR
0xe18 FIFOINTSTAT
0xe20 FIFOWR
0xe24 FIFOWR48H
0xe30 FIFORD
0xe34 FIFORD48H
0xe40 FIFORDNOPOP
0xe44 FIFORD48HNOPOP
0x1dfc ID

CFG1

Configuration register 1 for the primary channel pair.

Offset: 0xc00, reset: 0, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATALEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WS_POL
rw
SCK_POL
rw
PDMDATA
rw
ONECHANNEL
rw
LEFTJUST
rw
RIGHTLOW
rw
MODE
rw
MSTSLVCFG
rw
PAIRCOUNT
rw
DATAPAUSE
rw
MAINENABLE
rw
Toggle Fields

MAINENABLE

Bit 0: Main enable for I 2S function in this Flexcomm.

Allowed values:
0: DISABLED: All I 2S channel pairs in this Flexcomm are disabled and the internal state machines, counters, and flags are reset. No other channel pairs can be enabled.
0x1: ENABLED: This I 2S channel pair is enabled. Other channel pairs in this Flexcomm may be enabled in their individual PAIRENABLE bits.

DATAPAUSE

Bit 1: Data flow Pause. Allows pausing data flow between the I2S serializer/deserializer and the FIFO. This could be done in order to change streams, or while restarting after a data underflow or overflow. When paused, FIFO operations can be done without corrupting data that is in the process of being sent or received. Once a data pause has been requested, the interface may need to complete sending data that was in progress before interrupting the flow of data. Software must check that the pause is actually in effect before taking action. This is done by monitoring the DATAPAUSED flag in the STAT register. When DATAPAUSE is cleared, data transfer will resume at the beginning of the next frame..

Allowed values:
0: NORMAL: Normal operation, or resuming normal operation at the next frame if the I2S has already been paused.
0x1: PAUSE: A pause in the data flow is being requested. It is in effect when DATAPAUSED in STAT = 1.

PAIRCOUNT

Bits 2-3: Provides the number of I2S channel pairs in this Flexcomm This is a read-only field whose value may be different in other Flexcomms. 00 = there is 1 I2S channel pair in this Flexcomm. 01 = there are 2 I2S channel pairs in this Flexcomm. 10 = there are 3 I2S channel pairs in this Flexcomm. 11 = there are 4 I2S channel pairs in this Flexcomm..

Allowed values:
0: PAIRS_1: 1 I2S channel pairs in this flexcomm
0x1: PAIRS_2: 2 I2S channel pairs in this flexcomm
0x2: PAIRS_3: 3 I2S channel pairs in this flexcomm
0x3: PAIRS_4: 4 I2S channel pairs in this flexcomm

MSTSLVCFG

Bits 4-5: Master / slave configuration selection, determining how SCK and WS are used by all channel pairs in this Flexcomm..

Allowed values:
0: NORMAL_SLAVE_MODE: Normal slave mode, the default mode. SCK and WS are received from a master and used to transmit or receive data.
0x1: WS_SYNC_MASTER: WS synchronized master. WS is received from another master and used to synchronize the generation of SCK, when divided from the Flexcomm function clock.
0x2: MASTER_USING_SCK: Master using an existing SCK. SCK is received and used directly to generate WS, as well as transmitting or receiving data.
0x3: NORMAL_MASTER: Normal master mode. SCK and WS are generated so they can be sent to one or more slave devices.

MODE

Bits 6-7: Selects the basic I2S operating mode. Other configurations modify this to obtain all supported cases. See Formats and modes for examples..

Allowed values:
0: CLASSIC_MODE: I2S mode a.k.a. 'classic' mode. WS has a 50% duty cycle, with (for each enabled channel pair) one piece of left channel data occurring during the first phase, and one pieces of right channel data occurring during the second phase. In this mode, the data region begins one clock after the leading WS edge for the frame. For a 50% WS duty cycle, FRAMELEN must define an even number of I2S clocks for the frame. If FRAMELEN defines an odd number of clocks per frame, the extra clock will occur on the right.
0x1: DSP_MODE_WS_50_DUTYCYCLE: DSP mode where WS has a 50% duty cycle. See remark for mode 0.
0x2: DSP_MODE_WS_1_CLOCK: DSP mode where WS has a one clock long pulse at the beginning of each data frame.
0x3: DSP_MODE_WS_1_DATA: DSP mode where WS has a one data slot long pulse at the beginning of each data frame.

RIGHTLOW

Bit 8: Right channel data is in the Low portion of FIFO data. Essentially, this swaps left and right channel data as it is transferred to or from the FIFO. This bit is not used if the data width is greater than 24 bits or if PDMDATA = 1. Note that if the ONECHANNEL field (bit 10 of this register) = 1, the one channel to be used is the nominally the left channel. POSITION can still place that data in the frame where right channel data is normally located. if all enabled channel pairs have ONECHANNEL = 1, then RIGHTLOW = 1 is not allowed..

Allowed values:
0: RIGHT_HIGH: The right channel is taken from the high part of the FIFO data. For example, when data is 16 bits, FIFO bits 31:16 are used for the right channel.
0x1: RIGHT_LOW: The right channel is taken from the low part of the FIFO data. For example, when data is 16 bits, FIFO bits 15:0 are used for the right channel.

LEFTJUST

Bit 9: Left Justify data..

Allowed values:
0: RIGHT_JUSTIFIED: Data is transferred between the FIFO and the I2S serializer/deserializer right justified, i.e. starting from bit 0 and continuing to the position defined by DATALEN. This would correspond to right justified data in the stream on the data bus.
0x1: LEFT_JUSTIFIED: Data is transferred between the FIFO and the I2S serializer/deserializer left justified, i.e. starting from the MSB of the FIFO entry and continuing for the number of bits defined by DATALEN. This would correspond to left justified data in the stream on the data bus.

ONECHANNEL

Bit 10: Single channel mode. Applies to both transmit and receive. This configuration bit applies only to the first I2S channel pair. Other channel pairs may select this mode independently in their separate CFG1 registers..

Allowed values:
0: DUAL_CHANNEL: I2S data for this channel pair is treated as left and right channels.
0x1: SINGLE_CHANNEL: I2S data for this channel pair is treated as a single channel, functionally the left channel for this pair. In mode 0 only, the right side of the frame begins at POSITION = 0x100. This is because mode 0 makes a clear distinction between the left and right sides of the frame. When ONECHANNEL = 1, the single channel of data may be placed on the right by setting POSITION to 0x100 + the data position within the right side (e.g. 0x108 would place data starting at the 8th clock after the middle of the frame). In other modes, data for the single channel of data is placed at the clock defined by POSITION.

PDMDATA

Bit 11: PDM Data selection. This bit controls the data source for I2S transmit, and cannot be set in Rx mode. This bit only has an effect if the device the Flexcomm resides in includes a D-Mic subsystem. For the LPC5411x, this bit applies only to Flexcomm 7..

Allowed values:
0: NORMAL: Normal operation, data is transferred to or from the Flexcomm FIFO.
0x1: DMIC_SUBSYSTEM: The data source is the D-Mic subsystem. When PDMDATA = 1, only the primary channel pair can be used in this Flexcomm. If ONECHANNEL = 1, only the PDM left data is used. the WS rate must match the Fs (sample rate) of the D-Mic decimator. A rate mismatch will at some point cause the I2S to overrun or underrun.

SCK_POL

Bit 12: SCK polarity..

Allowed values:
0: FALLING_EDGE: Data is launched on SCK falling edges and sampled on SCK rising edges (standard for I2S).
0x1: RISING_EDGE: Data is launched on SCK rising edges and sampled on SCK falling edges.

WS_POL

Bit 13: WS polarity..

Allowed values:
0: NOT_INVERTED: Data frames begin at a falling edge of WS (standard for classic I2S).
0x1: INVERTED: WS is inverted, resulting in a data frame beginning at a rising edge of WS (standard for most 'non-classic' variations of I2S).

DATALEN

Bits 16-20: Data Length, minus 1 encoded, defines the number of data bits to be transmitted or received for all I2S channel pairs in this Flexcomm. Note that data is only driven to or received from SDA for the number of bits defined by DATALEN. DATALEN is also used in these ways by the I2S: Determines the size of data transfers between the FIFO and the I2S serializer/deserializer. See FIFO buffer configurations and usage In mode 1, 2, and 3, determines the location of right data following left data in the frame. In mode 3 (where WS has a one data slot long pulse at the beginning of each data frame) determines the duration of the WS pulse. Values: 0x00 to 0x02 = not supported 0x03 = data is 4 bits in length 0x04 = data is 5 bits in length 0x1F = data is 32 bits in length.

CFG2

Configuration register 2 for the primary channel pair.

Offset: 0xc04, 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
POSITION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FRAMELEN
rw
Toggle Fields

FRAMELEN

Bits 0-8: Frame Length, minus 1 encoded, defines the number of clocks and data bits in the frames that this channel pair participates in. See Frame format. 0x000 to 0x002 = not supported 0x003 = frame is 4 bits in total length 0x004 = frame is 5 bits in total length 0x1FF = frame is 512 bits in total length if FRAMELEN is an defines an odd length frame (e.g. 33 clocks) in mode 0 or 1, the extra clock appears in the right half. When MODE = 3, FRAMELEN must be larger than DATALEN in order for the WS pulse to be generated correctly..

POSITION

Bits 16-24: Data Position. Defines the location within the frame of the data for this channel pair. POSITION + DATALEN must be less than FRAMELEN. See Frame format. When MODE = 0, POSITION defines the location of data in both the left phase and right phase, starting one clock after the WS edge. In other modes, POSITION defines the location of data within the entire frame. ONECHANNEL = 1 while MODE = 0 is a special case, see the description of ONECHANNEL. The combination of DATALEN and the POSITION fields of all channel pairs must be made such that the channels do not overlap within the frame. 0x000 = data begins at bit position 0 (the first bit position) within the frame or WS phase. 0x001 = data begins at bit position 1 within the frame or WS phase. 0x002 = data begins at bit position 2 within the frame or WS phase..

STAT

Status register for the primary channel pair.

Offset: 0xc08, 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
DATAPAUSED
r
LR
r
SLVFRMERR
w
BUSY
r
Toggle Fields

BUSY

Bit 0: Busy status for the primary channel pair. Other BUSY flags may be found in the STAT register for each channel pair..

Allowed values:
0: IDLE: The transmitter/receiver for channel pair is currently idle.
0x1: BUSY: The transmitter/receiver for channel pair is currently processing data.

SLVFRMERR

Bit 1: Slave Frame Error flag. This applies when at least one channel pair is operating as a slave. An error indicates that the incoming WS signal did not transition as expected due to a mismatch between FRAMELEN and the actual incoming I2S stream..

Allowed values:
0: NO_ERROR: No error has been recorded.
0x1: ERROR: An error has been recorded for some channel pair that is operating in slave mode. ERROR is cleared by writing a 1 to this bit position.

LR

Bit 2: Left/Right indication. This flag is considered to be a debugging aid and is not expected to be used by an I2S driver. Valid when one channel pair is busy. Indicates left or right data being processed for the currently busy channel pair..

Allowed values:
0: LEFT_CHANNEL: Left channel.
0x1: RIGHT_CHANNEL: Right channel.

DATAPAUSED

Bit 3: Data Paused status flag. Applies to all I2S channels.

Allowed values:
0: NOT_PAUSED: Data is not currently paused. A data pause may have been requested but is not yet in force, waiting for an allowed pause point. Refer to the description of the DATAPAUSE control bit in the CFG1 register.
0x1: PAUSED: A data pause has been requested and is now in force.

DIV

Clock divider, used by all channel pairs.

Offset: 0xc1c, 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
Toggle Fields

DIV

Bits 0-11: This field controls how this I2S block uses the Flexcomm function clock. 0x000 = The Flexcomm function clock is used directly. 0x001 = The Flexcomm function clock is divided by 2. 0x002 = The Flexcomm function clock is divided by 3. 0xFFF = The Flexcomm function clock is divided by 4,096..

PCFG1 [0]

Configuration register 1 for channel pair

Offset: 0xc20, 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
ONECHANNEL
rw
PAIRENABLE
rw
Toggle Fields

PAIRENABLE

Bit 0: Enable for this channel pair...

ONECHANNEL

Bit 10: Single channel mode..

PCFG2 [0]

Configuration register 2 for channel pair

Offset: 0xc24, 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
POSITION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

POSITION

Bits 16-24: Data Position..

PSTAT [0]

Status register for channel pair

Offset: 0xc28, 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
DATAPAUSED
r
LR
rw
SLVFRMERR
rw
BUSY
rw
Toggle Fields

BUSY

Bit 0: Busy status for this channel pair..

SLVFRMERR

Bit 1: Save Frame Error flag..

LR

Bit 2: Left/Right indication..

DATAPAUSED

Bit 3: Data Paused status flag..

PCFG1 [1]

Configuration register 1 for channel pair

Offset: 0xc40, 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
ONECHANNEL
rw
PAIRENABLE
rw
Toggle Fields

PAIRENABLE

Bit 0: Enable for this channel pair...

ONECHANNEL

Bit 10: Single channel mode..

PCFG2 [1]

Configuration register 2 for channel pair

Offset: 0xc44, 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
POSITION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

POSITION

Bits 16-24: Data Position..

PSTAT [1]

Status register for channel pair

Offset: 0xc48, 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
DATAPAUSED
r
LR
rw
SLVFRMERR
rw
BUSY
rw
Toggle Fields

BUSY

Bit 0: Busy status for this channel pair..

SLVFRMERR

Bit 1: Save Frame Error flag..

LR

Bit 2: Left/Right indication..

DATAPAUSED

Bit 3: Data Paused status flag..

PCFG1 [2]

Configuration register 1 for channel pair

Offset: 0xc60, 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
ONECHANNEL
rw
PAIRENABLE
rw
Toggle Fields

PAIRENABLE

Bit 0: Enable for this channel pair...

ONECHANNEL

Bit 10: Single channel mode..

PCFG2 [2]

Configuration register 2 for channel pair

Offset: 0xc64, 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
POSITION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

POSITION

Bits 16-24: Data Position..

PSTAT [2]

Status register for channel pair

Offset: 0xc68, 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
DATAPAUSED
r
LR
rw
SLVFRMERR
rw
BUSY
rw
Toggle Fields

BUSY

Bit 0: Busy status for this channel pair..

SLVFRMERR

Bit 1: Save Frame Error flag..

LR

Bit 2: Left/Right indication..

DATAPAUSED

Bit 3: Data Paused status flag..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

10/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
PACK48
rw
TXI2SE0
rw
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

TXI2SE0

Bit 2: Transmit I2S empty 0. Determines the value sent by the I2S in transmit mode if the TX FIFO becomes empty. This value is sent repeatedly until the I2S is paused, the error is cleared, new data is provided, and the I2S is un-paused..

Allowed values:
0: LAST_VALUE: If the TX FIFO becomes empty, the last value is sent. This setting may be used when the data length is 24 bits or less, or when MONO = 1 for this channel pair.
0x1: ZERO: If the TX FIFO becomes empty, 0 is sent. Use if the data length is greater than 24 bits or if zero fill is preferred.

PACK48

Bit 3: Packing format for 48-bit data. This relates to how data is entered into or taken from the FIFO by software or DMA..

Allowed values:
0: BIT_24: 48-bit I2S FIFO entries are handled as all 24-bit values.
0x1: BIT_32_16: 48-bit I2S FIFO entries are handled as alternating 32-bit and 16-bit values.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, 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
TXDATA
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
w
Toggle Fields

TXDATA

Bits 0-31: Transmit data to the FIFO. The number of bits used depends on configuration details..

FIFOWR48H

FIFO write data for upper data bits. May only be used if the I2S is configured for 2x 24-bit data and not using DMA.

Offset: 0xe24, 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
TXDATA
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
w
Toggle Fields

TXDATA

Bits 0-23: Transmit data to the FIFO. Whether this register is used and the number of bits used depends on configuration details..

FIFORD

FIFO read data.

Offset: 0xe30, 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
RXDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-31: Received data from the FIFO. The number of bits used depends on configuration details..

FIFORD48H

FIFO read data for upper data bits. May only be used if the I2S is configured for 2x 24-bit data and not using DMA.

Offset: 0xe34, 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
RXDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-23: Received data from the FIFO. Whether this register is used and the number of bits used depends on configuration details..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, 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
RXDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-31: Received data from the FIFO..

FIFORD48HNOPOP

FIFO data read for upper data bits with no FIFO pop. May only be used if the I2S is configured for 2x 24-bit data and not using DMA.

Offset: 0xe44, 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
RXDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-23: Received data from the FIFO. Whether this register is used and the number of bits used depends on configuration details..

ID

I2S Module identification

Offset: 0x1dfc, reset: 0xE0900000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Major_Rev
r
Minor_Rev
r
Aperture
r
Toggle Fields

Aperture

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

Minor_Rev

Bits 8-11: Minor revision of module implementation, starting at 0..

Major_Rev

Bits 12-15: Major revision of module implementation, starting at 0..

ID

Bits 16-31: Unique module identifier for this IP block..

I2S1

0x40098000: LPC5411x I2S interface

54/88 fields covered. Toggle Registers

Show register map

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
0xc00 CFG1
0xc04 CFG2
0xc08 STAT
0xc1c DIV
0xc20 PCFG1 [0]
0xc24 PCFG2 [0]
0xc28 PSTAT [0]
0xc40 PCFG1 [1]
0xc44 PCFG2 [1]
0xc48 PSTAT [1]
0xc60 PCFG1 [2]
0xc64 PCFG2 [2]
0xc68 PSTAT [2]
0xe00 FIFOCFG
0xe04 FIFOSTAT
0xe08 FIFOTRIG
0xe10 FIFOINTENSET
0xe14 FIFOINTENCLR
0xe18 FIFOINTSTAT
0xe20 FIFOWR
0xe24 FIFOWR48H
0xe30 FIFORD
0xe34 FIFORD48H
0xe40 FIFORDNOPOP
0xe44 FIFORD48HNOPOP
0x1dfc ID

CFG1

Configuration register 1 for the primary channel pair.

Offset: 0xc00, reset: 0, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATALEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WS_POL
rw
SCK_POL
rw
PDMDATA
rw
ONECHANNEL
rw
LEFTJUST
rw
RIGHTLOW
rw
MODE
rw
MSTSLVCFG
rw
PAIRCOUNT
rw
DATAPAUSE
rw
MAINENABLE
rw
Toggle Fields

MAINENABLE

Bit 0: Main enable for I 2S function in this Flexcomm.

Allowed values:
0: DISABLED: All I 2S channel pairs in this Flexcomm are disabled and the internal state machines, counters, and flags are reset. No other channel pairs can be enabled.
0x1: ENABLED: This I 2S channel pair is enabled. Other channel pairs in this Flexcomm may be enabled in their individual PAIRENABLE bits.

DATAPAUSE

Bit 1: Data flow Pause. Allows pausing data flow between the I2S serializer/deserializer and the FIFO. This could be done in order to change streams, or while restarting after a data underflow or overflow. When paused, FIFO operations can be done without corrupting data that is in the process of being sent or received. Once a data pause has been requested, the interface may need to complete sending data that was in progress before interrupting the flow of data. Software must check that the pause is actually in effect before taking action. This is done by monitoring the DATAPAUSED flag in the STAT register. When DATAPAUSE is cleared, data transfer will resume at the beginning of the next frame..

Allowed values:
0: NORMAL: Normal operation, or resuming normal operation at the next frame if the I2S has already been paused.
0x1: PAUSE: A pause in the data flow is being requested. It is in effect when DATAPAUSED in STAT = 1.

PAIRCOUNT

Bits 2-3: Provides the number of I2S channel pairs in this Flexcomm This is a read-only field whose value may be different in other Flexcomms. 00 = there is 1 I2S channel pair in this Flexcomm. 01 = there are 2 I2S channel pairs in this Flexcomm. 10 = there are 3 I2S channel pairs in this Flexcomm. 11 = there are 4 I2S channel pairs in this Flexcomm..

Allowed values:
0: PAIRS_1: 1 I2S channel pairs in this flexcomm
0x1: PAIRS_2: 2 I2S channel pairs in this flexcomm
0x2: PAIRS_3: 3 I2S channel pairs in this flexcomm
0x3: PAIRS_4: 4 I2S channel pairs in this flexcomm

MSTSLVCFG

Bits 4-5: Master / slave configuration selection, determining how SCK and WS are used by all channel pairs in this Flexcomm..

Allowed values:
0: NORMAL_SLAVE_MODE: Normal slave mode, the default mode. SCK and WS are received from a master and used to transmit or receive data.
0x1: WS_SYNC_MASTER: WS synchronized master. WS is received from another master and used to synchronize the generation of SCK, when divided from the Flexcomm function clock.
0x2: MASTER_USING_SCK: Master using an existing SCK. SCK is received and used directly to generate WS, as well as transmitting or receiving data.
0x3: NORMAL_MASTER: Normal master mode. SCK and WS are generated so they can be sent to one or more slave devices.

MODE

Bits 6-7: Selects the basic I2S operating mode. Other configurations modify this to obtain all supported cases. See Formats and modes for examples..

Allowed values:
0: CLASSIC_MODE: I2S mode a.k.a. 'classic' mode. WS has a 50% duty cycle, with (for each enabled channel pair) one piece of left channel data occurring during the first phase, and one pieces of right channel data occurring during the second phase. In this mode, the data region begins one clock after the leading WS edge for the frame. For a 50% WS duty cycle, FRAMELEN must define an even number of I2S clocks for the frame. If FRAMELEN defines an odd number of clocks per frame, the extra clock will occur on the right.
0x1: DSP_MODE_WS_50_DUTYCYCLE: DSP mode where WS has a 50% duty cycle. See remark for mode 0.
0x2: DSP_MODE_WS_1_CLOCK: DSP mode where WS has a one clock long pulse at the beginning of each data frame.
0x3: DSP_MODE_WS_1_DATA: DSP mode where WS has a one data slot long pulse at the beginning of each data frame.

RIGHTLOW

Bit 8: Right channel data is in the Low portion of FIFO data. Essentially, this swaps left and right channel data as it is transferred to or from the FIFO. This bit is not used if the data width is greater than 24 bits or if PDMDATA = 1. Note that if the ONECHANNEL field (bit 10 of this register) = 1, the one channel to be used is the nominally the left channel. POSITION can still place that data in the frame where right channel data is normally located. if all enabled channel pairs have ONECHANNEL = 1, then RIGHTLOW = 1 is not allowed..

Allowed values:
0: RIGHT_HIGH: The right channel is taken from the high part of the FIFO data. For example, when data is 16 bits, FIFO bits 31:16 are used for the right channel.
0x1: RIGHT_LOW: The right channel is taken from the low part of the FIFO data. For example, when data is 16 bits, FIFO bits 15:0 are used for the right channel.

LEFTJUST

Bit 9: Left Justify data..

Allowed values:
0: RIGHT_JUSTIFIED: Data is transferred between the FIFO and the I2S serializer/deserializer right justified, i.e. starting from bit 0 and continuing to the position defined by DATALEN. This would correspond to right justified data in the stream on the data bus.
0x1: LEFT_JUSTIFIED: Data is transferred between the FIFO and the I2S serializer/deserializer left justified, i.e. starting from the MSB of the FIFO entry and continuing for the number of bits defined by DATALEN. This would correspond to left justified data in the stream on the data bus.

ONECHANNEL

Bit 10: Single channel mode. Applies to both transmit and receive. This configuration bit applies only to the first I2S channel pair. Other channel pairs may select this mode independently in their separate CFG1 registers..

Allowed values:
0: DUAL_CHANNEL: I2S data for this channel pair is treated as left and right channels.
0x1: SINGLE_CHANNEL: I2S data for this channel pair is treated as a single channel, functionally the left channel for this pair. In mode 0 only, the right side of the frame begins at POSITION = 0x100. This is because mode 0 makes a clear distinction between the left and right sides of the frame. When ONECHANNEL = 1, the single channel of data may be placed on the right by setting POSITION to 0x100 + the data position within the right side (e.g. 0x108 would place data starting at the 8th clock after the middle of the frame). In other modes, data for the single channel of data is placed at the clock defined by POSITION.

PDMDATA

Bit 11: PDM Data selection. This bit controls the data source for I2S transmit, and cannot be set in Rx mode. This bit only has an effect if the device the Flexcomm resides in includes a D-Mic subsystem. For the LPC5411x, this bit applies only to Flexcomm 7..

Allowed values:
0: NORMAL: Normal operation, data is transferred to or from the Flexcomm FIFO.
0x1: DMIC_SUBSYSTEM: The data source is the D-Mic subsystem. When PDMDATA = 1, only the primary channel pair can be used in this Flexcomm. If ONECHANNEL = 1, only the PDM left data is used. the WS rate must match the Fs (sample rate) of the D-Mic decimator. A rate mismatch will at some point cause the I2S to overrun or underrun.

SCK_POL

Bit 12: SCK polarity..

Allowed values:
0: FALLING_EDGE: Data is launched on SCK falling edges and sampled on SCK rising edges (standard for I2S).
0x1: RISING_EDGE: Data is launched on SCK rising edges and sampled on SCK falling edges.

WS_POL

Bit 13: WS polarity..

Allowed values:
0: NOT_INVERTED: Data frames begin at a falling edge of WS (standard for classic I2S).
0x1: INVERTED: WS is inverted, resulting in a data frame beginning at a rising edge of WS (standard for most 'non-classic' variations of I2S).

DATALEN

Bits 16-20: Data Length, minus 1 encoded, defines the number of data bits to be transmitted or received for all I2S channel pairs in this Flexcomm. Note that data is only driven to or received from SDA for the number of bits defined by DATALEN. DATALEN is also used in these ways by the I2S: Determines the size of data transfers between the FIFO and the I2S serializer/deserializer. See FIFO buffer configurations and usage In mode 1, 2, and 3, determines the location of right data following left data in the frame. In mode 3 (where WS has a one data slot long pulse at the beginning of each data frame) determines the duration of the WS pulse. Values: 0x00 to 0x02 = not supported 0x03 = data is 4 bits in length 0x04 = data is 5 bits in length 0x1F = data is 32 bits in length.

CFG2

Configuration register 2 for the primary channel pair.

Offset: 0xc04, 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
POSITION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FRAMELEN
rw
Toggle Fields

FRAMELEN

Bits 0-8: Frame Length, minus 1 encoded, defines the number of clocks and data bits in the frames that this channel pair participates in. See Frame format. 0x000 to 0x002 = not supported 0x003 = frame is 4 bits in total length 0x004 = frame is 5 bits in total length 0x1FF = frame is 512 bits in total length if FRAMELEN is an defines an odd length frame (e.g. 33 clocks) in mode 0 or 1, the extra clock appears in the right half. When MODE = 3, FRAMELEN must be larger than DATALEN in order for the WS pulse to be generated correctly..

POSITION

Bits 16-24: Data Position. Defines the location within the frame of the data for this channel pair. POSITION + DATALEN must be less than FRAMELEN. See Frame format. When MODE = 0, POSITION defines the location of data in both the left phase and right phase, starting one clock after the WS edge. In other modes, POSITION defines the location of data within the entire frame. ONECHANNEL = 1 while MODE = 0 is a special case, see the description of ONECHANNEL. The combination of DATALEN and the POSITION fields of all channel pairs must be made such that the channels do not overlap within the frame. 0x000 = data begins at bit position 0 (the first bit position) within the frame or WS phase. 0x001 = data begins at bit position 1 within the frame or WS phase. 0x002 = data begins at bit position 2 within the frame or WS phase..

STAT

Status register for the primary channel pair.

Offset: 0xc08, 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
DATAPAUSED
r
LR
r
SLVFRMERR
w
BUSY
r
Toggle Fields

BUSY

Bit 0: Busy status for the primary channel pair. Other BUSY flags may be found in the STAT register for each channel pair..

Allowed values:
0: IDLE: The transmitter/receiver for channel pair is currently idle.
0x1: BUSY: The transmitter/receiver for channel pair is currently processing data.

SLVFRMERR

Bit 1: Slave Frame Error flag. This applies when at least one channel pair is operating as a slave. An error indicates that the incoming WS signal did not transition as expected due to a mismatch between FRAMELEN and the actual incoming I2S stream..

Allowed values:
0: NO_ERROR: No error has been recorded.
0x1: ERROR: An error has been recorded for some channel pair that is operating in slave mode. ERROR is cleared by writing a 1 to this bit position.

LR

Bit 2: Left/Right indication. This flag is considered to be a debugging aid and is not expected to be used by an I2S driver. Valid when one channel pair is busy. Indicates left or right data being processed for the currently busy channel pair..

Allowed values:
0: LEFT_CHANNEL: Left channel.
0x1: RIGHT_CHANNEL: Right channel.

DATAPAUSED

Bit 3: Data Paused status flag. Applies to all I2S channels.

Allowed values:
0: NOT_PAUSED: Data is not currently paused. A data pause may have been requested but is not yet in force, waiting for an allowed pause point. Refer to the description of the DATAPAUSE control bit in the CFG1 register.
0x1: PAUSED: A data pause has been requested and is now in force.

DIV

Clock divider, used by all channel pairs.

Offset: 0xc1c, 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
Toggle Fields

DIV

Bits 0-11: This field controls how this I2S block uses the Flexcomm function clock. 0x000 = The Flexcomm function clock is used directly. 0x001 = The Flexcomm function clock is divided by 2. 0x002 = The Flexcomm function clock is divided by 3. 0xFFF = The Flexcomm function clock is divided by 4,096..

PCFG1 [0]

Configuration register 1 for channel pair

Offset: 0xc20, 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
ONECHANNEL
rw
PAIRENABLE
rw
Toggle Fields

PAIRENABLE

Bit 0: Enable for this channel pair...

ONECHANNEL

Bit 10: Single channel mode..

PCFG2 [0]

Configuration register 2 for channel pair

Offset: 0xc24, 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
POSITION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

POSITION

Bits 16-24: Data Position..

PSTAT [0]

Status register for channel pair

Offset: 0xc28, 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
DATAPAUSED
r
LR
rw
SLVFRMERR
rw
BUSY
rw
Toggle Fields

BUSY

Bit 0: Busy status for this channel pair..

SLVFRMERR

Bit 1: Save Frame Error flag..

LR

Bit 2: Left/Right indication..

DATAPAUSED

Bit 3: Data Paused status flag..

PCFG1 [1]

Configuration register 1 for channel pair

Offset: 0xc40, 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
ONECHANNEL
rw
PAIRENABLE
rw
Toggle Fields

PAIRENABLE

Bit 0: Enable for this channel pair...

ONECHANNEL

Bit 10: Single channel mode..

PCFG2 [1]

Configuration register 2 for channel pair

Offset: 0xc44, 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
POSITION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

POSITION

Bits 16-24: Data Position..

PSTAT [1]

Status register for channel pair

Offset: 0xc48, 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
DATAPAUSED
r
LR
rw
SLVFRMERR
rw
BUSY
rw
Toggle Fields

BUSY

Bit 0: Busy status for this channel pair..

SLVFRMERR

Bit 1: Save Frame Error flag..

LR

Bit 2: Left/Right indication..

DATAPAUSED

Bit 3: Data Paused status flag..

PCFG1 [2]

Configuration register 1 for channel pair

Offset: 0xc60, 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
ONECHANNEL
rw
PAIRENABLE
rw
Toggle Fields

PAIRENABLE

Bit 0: Enable for this channel pair...

ONECHANNEL

Bit 10: Single channel mode..

PCFG2 [2]

Configuration register 2 for channel pair

Offset: 0xc64, 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
POSITION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

POSITION

Bits 16-24: Data Position..

PSTAT [2]

Status register for channel pair

Offset: 0xc68, 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
DATAPAUSED
r
LR
rw
SLVFRMERR
rw
BUSY
rw
Toggle Fields

BUSY

Bit 0: Busy status for this channel pair..

SLVFRMERR

Bit 1: Save Frame Error flag..

LR

Bit 2: Left/Right indication..

DATAPAUSED

Bit 3: Data Paused status flag..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

10/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
PACK48
rw
TXI2SE0
rw
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

TXI2SE0

Bit 2: Transmit I2S empty 0. Determines the value sent by the I2S in transmit mode if the TX FIFO becomes empty. This value is sent repeatedly until the I2S is paused, the error is cleared, new data is provided, and the I2S is un-paused..

Allowed values:
0: LAST_VALUE: If the TX FIFO becomes empty, the last value is sent. This setting may be used when the data length is 24 bits or less, or when MONO = 1 for this channel pair.
0x1: ZERO: If the TX FIFO becomes empty, 0 is sent. Use if the data length is greater than 24 bits or if zero fill is preferred.

PACK48

Bit 3: Packing format for 48-bit data. This relates to how data is entered into or taken from the FIFO by software or DMA..

Allowed values:
0: BIT_24: 48-bit I2S FIFO entries are handled as all 24-bit values.
0x1: BIT_32_16: 48-bit I2S FIFO entries are handled as alternating 32-bit and 16-bit values.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, 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
TXDATA
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
w
Toggle Fields

TXDATA

Bits 0-31: Transmit data to the FIFO. The number of bits used depends on configuration details..

FIFOWR48H

FIFO write data for upper data bits. May only be used if the I2S is configured for 2x 24-bit data and not using DMA.

Offset: 0xe24, 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
TXDATA
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
w
Toggle Fields

TXDATA

Bits 0-23: Transmit data to the FIFO. Whether this register is used and the number of bits used depends on configuration details..

FIFORD

FIFO read data.

Offset: 0xe30, 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
RXDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-31: Received data from the FIFO. The number of bits used depends on configuration details..

FIFORD48H

FIFO read data for upper data bits. May only be used if the I2S is configured for 2x 24-bit data and not using DMA.

Offset: 0xe34, 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
RXDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-23: Received data from the FIFO. Whether this register is used and the number of bits used depends on configuration details..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, 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
RXDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-31: Received data from the FIFO..

FIFORD48HNOPOP

FIFO data read for upper data bits with no FIFO pop. May only be used if the I2S is configured for 2x 24-bit data and not using DMA.

Offset: 0xe44, 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
RXDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-23: Received data from the FIFO. Whether this register is used and the number of bits used depends on configuration details..

ID

I2S Module identification

Offset: 0x1dfc, reset: 0xE0900000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Major_Rev
r
Minor_Rev
r
Aperture
r
Toggle Fields

Aperture

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

Minor_Rev

Bits 8-11: Minor revision of module implementation, starting at 0..

Major_Rev

Bits 12-15: Major revision of module implementation, starting at 0..

ID

Bits 16-31: Unique module identifier for this IP block..

INPUTMUX

0x40005000: LPC5411x Input multiplexing (INPUT MUX)

0/51 fields covered. Toggle Registers

Show register map

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 SCT0_INMUX[[0]]
0x4 SCT0_INMUX[[1]]
0x8 SCT0_INMUX[[2]]
0xc SCT0_INMUX[[3]]
0x10 SCT0_INMUX[[4]]
0x14 SCT0_INMUX[[5]]
0x18 SCT0_INMUX[[6]]
0xc0 PINTSEL[[0]]
0xc4 PINTSEL[[1]]
0xc8 PINTSEL[[2]]
0xcc PINTSEL[[3]]
0xd0 PINTSEL[[4]]
0xd4 PINTSEL[[5]]
0xd8 PINTSEL[[6]]
0xdc PINTSEL[[7]]
0xe0 DMA_ITRIG_INMUX[[0]]
0xe4 DMA_ITRIG_INMUX[[1]]
0xe8 DMA_ITRIG_INMUX[[2]]
0xec DMA_ITRIG_INMUX[[3]]
0xf0 DMA_ITRIG_INMUX[[4]]
0xf4 DMA_ITRIG_INMUX[[5]]
0xf8 DMA_ITRIG_INMUX[[6]]
0xfc DMA_ITRIG_INMUX[[7]]
0x100 DMA_ITRIG_INMUX[[8]]
0x104 DMA_ITRIG_INMUX[[9]]
0x108 DMA_ITRIG_INMUX[[10]]
0x10c DMA_ITRIG_INMUX[[11]]
0x110 DMA_ITRIG_INMUX[[12]]
0x114 DMA_ITRIG_INMUX[[13]]
0x118 DMA_ITRIG_INMUX[[14]]
0x11c DMA_ITRIG_INMUX[[15]]
0x120 DMA_ITRIG_INMUX[[16]]
0x124 DMA_ITRIG_INMUX[[17]]
0x128 DMA_ITRIG_INMUX[[18]]
0x12c DMA_ITRIG_INMUX[[19]]
0x130 DMA_ITRIG_INMUX[[20]]
0x134 DMA_ITRIG_INMUX[[21]]
0x138 DMA_ITRIG_INMUX[[22]]
0x13c DMA_ITRIG_INMUX[[23]]
0x140 DMA_ITRIG_INMUX[[24]]
0x144 DMA_ITRIG_INMUX[[25]]
0x148 DMA_ITRIG_INMUX[[26]]
0x14c DMA_ITRIG_INMUX[[27]]
0x150 DMA_ITRIG_INMUX[[28]]
0x154 DMA_ITRIG_INMUX[[29]]
0x160 DMA_OTRIG_INMUX[[0]]
0x164 DMA_OTRIG_INMUX[[1]]
0x168 DMA_OTRIG_INMUX[[2]]
0x16c DMA_OTRIG_INMUX[[3]]
0x180 FREQMEAS_REF
0x184 FREQMEAS_TARGET

SCT0_INMUX[[0]]

Trigger select register for DMA channel

Offset: 0x0, reset: 0x1F, 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
INP_N
rw
Toggle Fields

INP_N

Bits 0-4: Input number to SCT0 inputs 0 to 6...

SCT0_INMUX[[1]]

Trigger select register for DMA channel

Offset: 0x4, reset: 0x1F, 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
INP_N
rw
Toggle Fields

INP_N

Bits 0-4: Input number to SCT0 inputs 0 to 6...

SCT0_INMUX[[2]]

Trigger select register for DMA channel

Offset: 0x8, reset: 0x1F, 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
INP_N
rw
Toggle Fields

INP_N

Bits 0-4: Input number to SCT0 inputs 0 to 6...

SCT0_INMUX[[3]]

Trigger select register for DMA channel

Offset: 0xc, reset: 0x1F, 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
INP_N
rw
Toggle Fields

INP_N

Bits 0-4: Input number to SCT0 inputs 0 to 6...

SCT0_INMUX[[4]]

Trigger select register for DMA channel

Offset: 0x10, reset: 0x1F, 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
INP_N
rw
Toggle Fields

INP_N

Bits 0-4: Input number to SCT0 inputs 0 to 6...

SCT0_INMUX[[5]]

Trigger select register for DMA channel

Offset: 0x14, reset: 0x1F, 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
INP_N
rw
Toggle Fields

INP_N

Bits 0-4: Input number to SCT0 inputs 0 to 6...

SCT0_INMUX[[6]]

Trigger select register for DMA channel

Offset: 0x18, reset: 0x1F, 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
INP_N
rw
Toggle Fields

INP_N

Bits 0-4: Input number to SCT0 inputs 0 to 6...

PINTSEL[[0]]

Pin interrupt select register

Offset: 0xc0, 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
Toggle Fields

INTPIN

Bits 0-7: Pin number select for pin interrupt or pattern match engine input. (PIO0_0 to PIO1_31 correspond to numbers 0 to 63)..

PINTSEL[[1]]

Pin interrupt select register

Offset: 0xc4, 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
Toggle Fields

INTPIN

Bits 0-7: Pin number select for pin interrupt or pattern match engine input. (PIO0_0 to PIO1_31 correspond to numbers 0 to 63)..

PINTSEL[[2]]

Pin interrupt select register

Offset: 0xc8, 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
Toggle Fields

INTPIN

Bits 0-7: Pin number select for pin interrupt or pattern match engine input. (PIO0_0 to PIO1_31 correspond to numbers 0 to 63)..

PINTSEL[[3]]

Pin interrupt select register

Offset: 0xcc, 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
Toggle Fields

INTPIN

Bits 0-7: Pin number select for pin interrupt or pattern match engine input. (PIO0_0 to PIO1_31 correspond to numbers 0 to 63)..

PINTSEL[[4]]

Pin interrupt select register

Offset: 0xd0, 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
Toggle Fields

INTPIN

Bits 0-7: Pin number select for pin interrupt or pattern match engine input. (PIO0_0 to PIO1_31 correspond to numbers 0 to 63)..

PINTSEL[[5]]

Pin interrupt select register

Offset: 0xd4, 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
Toggle Fields

INTPIN

Bits 0-7: Pin number select for pin interrupt or pattern match engine input. (PIO0_0 to PIO1_31 correspond to numbers 0 to 63)..

PINTSEL[[6]]

Pin interrupt select register

Offset: 0xd8, 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
Toggle Fields

INTPIN

Bits 0-7: Pin number select for pin interrupt or pattern match engine input. (PIO0_0 to PIO1_31 correspond to numbers 0 to 63)..

PINTSEL[[7]]

Pin interrupt select register

Offset: 0xdc, 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
Toggle Fields

INTPIN

Bits 0-7: Pin number select for pin interrupt or pattern match engine input. (PIO0_0 to PIO1_31 correspond to numbers 0 to 63)..

DMA_ITRIG_INMUX[[0]]

Trigger select register for DMA channel

Offset: 0xe0, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[1]]

Trigger select register for DMA channel

Offset: 0xe4, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[2]]

Trigger select register for DMA channel

Offset: 0xe8, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[3]]

Trigger select register for DMA channel

Offset: 0xec, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[4]]

Trigger select register for DMA channel

Offset: 0xf0, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[5]]

Trigger select register for DMA channel

Offset: 0xf4, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[6]]

Trigger select register for DMA channel

Offset: 0xf8, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[7]]

Trigger select register for DMA channel

Offset: 0xfc, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[8]]

Trigger select register for DMA channel

Offset: 0x100, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[9]]

Trigger select register for DMA channel

Offset: 0x104, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[10]]

Trigger select register for DMA channel

Offset: 0x108, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[11]]

Trigger select register for DMA channel

Offset: 0x10c, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[12]]

Trigger select register for DMA channel

Offset: 0x110, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[13]]

Trigger select register for DMA channel

Offset: 0x114, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[14]]

Trigger select register for DMA channel

Offset: 0x118, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[15]]

Trigger select register for DMA channel

Offset: 0x11c, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[16]]

Trigger select register for DMA channel

Offset: 0x120, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[17]]

Trigger select register for DMA channel

Offset: 0x124, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[18]]

Trigger select register for DMA channel

Offset: 0x128, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[19]]

Trigger select register for DMA channel

Offset: 0x12c, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[20]]

Trigger select register for DMA channel

Offset: 0x130, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[21]]

Trigger select register for DMA channel

Offset: 0x134, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[22]]

Trigger select register for DMA channel

Offset: 0x138, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[23]]

Trigger select register for DMA channel

Offset: 0x13c, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[24]]

Trigger select register for DMA channel

Offset: 0x140, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[25]]

Trigger select register for DMA channel

Offset: 0x144, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[26]]

Trigger select register for DMA channel

Offset: 0x148, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[27]]

Trigger select register for DMA channel

Offset: 0x14c, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[28]]

Trigger select register for DMA channel

Offset: 0x150, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_ITRIG_INMUX[[29]]

Trigger select register for DMA channel

Offset: 0x154, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: Trigger input number (decimal value) for DMA channel n (n = 0 to 21). 0 = ADC0 Sequence A interrupt 1 = ADC0 Sequence B interrupt 2 = SCT0 DMA request 0 3 = SCT0 DMA request 1 4 = Timer CTIMER0 Match 0 5 = Timer CTIMER0 Match 1 6 = Timer CTIMER1 Match 0 7 = Timer CTIMER2 Match 0 8 = Timer CTIMER2 Match 1 9 = Timer CTIMER3 Match 0 10 = Timer CTIMER4 Match 0 11 = Timer CTIMER4 Match 1 12 = Pin interrupt 0 13 = Pin interrupt 1 14 = Pin interrupt 2 15 = Pin interrupt 3 16 = DMA output trigger mux 0 17 = DMA output trigger mux 1 18 = DMA output trigger mux 2 19 = DMA output trigger mux 3.

DMA_OTRIG_INMUX[[0]]

DMA output trigger selection to become DMA trigger

Offset: 0x160, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: DMA trigger output number (decimal value) for DMA channel n (n = 0 to 19)..

DMA_OTRIG_INMUX[[1]]

DMA output trigger selection to become DMA trigger

Offset: 0x164, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: DMA trigger output number (decimal value) for DMA channel n (n = 0 to 19)..

DMA_OTRIG_INMUX[[2]]

DMA output trigger selection to become DMA trigger

Offset: 0x168, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: DMA trigger output number (decimal value) for DMA channel n (n = 0 to 19)..

DMA_OTRIG_INMUX[[3]]

DMA output trigger selection to become DMA trigger

Offset: 0x16c, reset: 0x1F, 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
INP
rw
Toggle Fields

INP

Bits 0-4: DMA trigger output number (decimal value) for DMA channel n (n = 0 to 19)..

FREQMEAS_REF

Selection for frequency measurement reference clock

Offset: 0x180, reset: 0x1F, 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
CLKIN
rw
Toggle Fields

CLKIN

Bits 0-4: Clock source number (decimal value) for frequency measure function target clock: 0 = CLK_IN 1 = FRO 12 MHz oscillator 2 = Watchdog oscillator 3 = 32 kHz RTC oscillator 4 = Main clock (see Section 4.5.23) 5 = PIO0_4 6 = PIO0_20 7 = PIO0_24 8 = PIO1_4.

FREQMEAS_TARGET

Selection for frequency measurement target clock

Offset: 0x184, reset: 0x1F, 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
CLKIN
rw
Toggle Fields

CLKIN

Bits 0-4: Clock source number (decimal value) for frequency measure function target clock: 0 = CLK_IN 1 = FRO 12 MHz oscillator 2 = Watchdog oscillator 3 = 32 kHz RTC oscillator 4 = Main clock (see Section 4.5.23) 5 = PIO0_4 6 = PIO0_20 7 = PIO0_24 8 = PIO1_4.

IOCON

0x40001000: LPC5411x I/O pin configuration (IOCON)

1334/1334 fields covered. Toggle Registers

Show register map

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 PIO00
0x4 PIO01
0x8 PIO02
0xc PIO03
0x10 PIO04
0x14 PIO05
0x18 PIO06
0x1c PIO07
0x20 PIO08
0x24 PIO09
0x28 PIO010
0x2c PIO011
0x30 PIO012
0x34 PIO013
0x38 PIO014
0x3c PIO015
0x40 PIO016
0x44 PIO017
0x48 PIO018
0x4c PIO019
0x50 PIO020
0x54 PIO021
0x58 PIO022
0x5c PIO023
0x60 PIO024
0x64 PIO025
0x68 PIO026
0x6c PIO027
0x70 PIO028
0x74 PIO029
0x78 PIO030
0x7c PIO031
0x80 PIO10
0x84 PIO11
0x88 PIO12
0x8c PIO13
0x90 PIO14
0x94 PIO15
0x98 PIO16
0x9c PIO17
0xa0 PIO18
0xa4 PIO19
0xa8 PIO110
0xac PIO111
0xb0 PIO112
0xb4 PIO113
0xb8 PIO114
0xbc PIO115
0xc0 PIO116
0xc4 PIO117
0xc8 PIO118
0xcc PIO119
0xd0 PIO120
0xd4 PIO121
0xd8 PIO122
0xdc PIO123
0xe0 PIO124
0xe4 PIO125
0xe8 PIO126
0xec PIO127
0xf0 PIO128
0xf4 PIO129
0xf8 PIO130
0xfc PIO131
0x100 PIO20
0x104 PIO21
0x108 PIO22
0x10c PIO23
0x110 PIO24
0x114 PIO25
0x118 PIO26
0x11c PIO27
0x120 PIO28
0x124 PIO29
0x128 PIO210
0x12c PIO211
0x130 PIO212
0x134 PIO213
0x138 PIO214
0x13c PIO215
0x140 PIO216
0x144 PIO217
0x148 PIO218
0x14c PIO219
0x150 PIO220
0x154 PIO221
0x158 PIO222
0x15c PIO223
0x160 PIO224
0x164 PIO225
0x168 PIO226
0x16c PIO227
0x170 PIO228
0x174 PIO229
0x178 PIO230
0x17c PIO231
0x180 PIO30
0x184 PIO31
0x188 PIO32
0x18c PIO33
0x190 PIO34
0x194 PIO35
0x198 PIO36
0x19c PIO37
0x1a0 PIO38
0x1a4 PIO39
0x1a8 PIO310
0x1ac PIO311
0x1b0 PIO312
0x1b4 PIO313
0x1b8 PIO314
0x1bc PIO315
0x1c0 PIO316
0x1c4 PIO317
0x1c8 PIO318
0x1cc PIO319
0x1d0 PIO320
0x1d4 PIO321
0x1d8 PIO322
0x1dc PIO323
0x1e0 PIO324
0x1e4 PIO325
0x1e8 PIO326
0x1ec PIO327
0x1f0 PIO328
0x1f4 PIO329
0x1f8 PIO330
0x1fc PIO331
0x200 PIO40
0x204 PIO41
0x208 PIO42
0x20c PIO43
0x210 PIO44
0x214 PIO45
0x218 PIO46
0x21c PIO47
0x220 PIO48
0x224 PIO49
0x228 PIO410
0x22c PIO411
0x230 PIO412
0x234 PIO413
0x238 PIO414
0x23c PIO415
0x240 PIO416
0x244 PIO417
0x248 PIO418
0x24c PIO419
0x250 PIO420
0x254 PIO421
0x258 PIO422
0x25c PIO423
0x260 PIO424
0x264 PIO425
0x268 PIO426
0x26c PIO427
0x270 PIO428
0x274 PIO429
0x278 PIO430
0x27c PIO431
0x280 PIO50
0x284 PIO51
0x288 PIO52
0x28c PIO53
0x290 PIO54
0x294 PIO55
0x298 PIO56
0x29c PIO57
0x2a0 PIO58
0x2a4 PIO59
0x2a8 PIO510
0x2ac PIO511
0x2b0 PIO512
0x2b4 PIO513
0x2b8 PIO514
0x2bc PIO515
0x2c0 PIO516
0x2c4 PIO517
0x2c8 PIO518
0x2cc PIO519
0x2d0 PIO520
0x2d4 PIO521
0x2d8 PIO522
0x2dc PIO523
0x2e0 PIO524
0x2e4 PIO525
0x2e8 PIO526
0x2ec PIO527
0x2f0 PIO528
0x2f4 PIO529
0x2f8 PIO530
0x2fc PIO531

PIO00

Digital I/O control for port 0 pins PIO0_0

Offset: 0x0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO01

Digital I/O control for port 0 pins PIO0_1

Offset: 0x4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO02

Digital I/O control for port 0 pins PIO0_2

Offset: 0x8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO03

Digital I/O control for port 0 pins PIO0_3

Offset: 0xc, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO04

Digital I/O control for port 0 pins PIO0_4

Offset: 0x10, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO05

Digital I/O control for port 0 pins PIO0_5

Offset: 0x14, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO06

Digital I/O control for port 0 pins PIO0_6

Offset: 0x18, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO07

Digital I/O control for port 0 pins PIO0_7

Offset: 0x1c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO08

Digital I/O control for port 0 pins PIO0_8

Offset: 0x20, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO09

Digital I/O control for port 0 pins PIO0_9

Offset: 0x24, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO010

Digital I/O control for port 0 pins PIO0_10

Offset: 0x28, reset: 0x320, access: read-write

6/6 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
OD
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO011

Digital I/O control for port 0 pins PIO0_11

Offset: 0x2c, reset: 0x326, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO012

Digital I/O control for port 0 pins PIO0_12

Offset: 0x30, reset: 0x326, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO013

Digital I/O control for port 0 pins PIO0_13

Offset: 0x34, reset: 0x340, access: read-write

7/7 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
I2CFILTER
rw
I2CDRIVE
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
I2CSLEW
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

I2CSLEW

Bit 6: Controls slew rate of I2C pad..

Allowed values:
0: I2C_MODE: I2C mode.
0x1: GPIO_MODE: GPIO mode.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

I2CDRIVE

Bit 10: Controls the current sink capability of the pin..

Allowed values:
0: LOW: Low drive. Output drive sink is 4 mA. This is sufficient for standard and fast mode I2C.
0x1: HIGH: High drive. Output drive sink is 20 mA. This is needed for Fast Mode Plus I 2C. Refer to the appropriate specific device data sheet for details.

I2CFILTER

Bit 11: Configures I2C features for standard mode, fast mode, and Fast Mode Plus operation..

Allowed values:
0: ENABLED: Enabled. I2C 50 ns glitch filter enabled.
0x1: DISABLED: Disabled. I2C 50 ns glitch filter disabled.

PIO014

Digital I/O control for port 0 pins PIO0_14

Offset: 0x38, reset: 0x340, access: read-write

7/7 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
I2CFILTER
rw
I2CDRIVE
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
I2CSLEW
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

I2CSLEW

Bit 6: Controls slew rate of I2C pad..

Allowed values:
0: I2C_MODE: I2C mode.
0x1: GPIO_MODE: GPIO mode.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

I2CDRIVE

Bit 10: Controls the current sink capability of the pin..

Allowed values:
0: LOW: Low drive. Output drive sink is 4 mA. This is sufficient for standard and fast mode I2C.
0x1: HIGH: High drive. Output drive sink is 20 mA. This is needed for Fast Mode Plus I 2C. Refer to the appropriate specific device data sheet for details.

I2CFILTER

Bit 11: Configures I2C features for standard mode, fast mode, and Fast Mode Plus operation..

Allowed values:
0: ENABLED: Enabled. I2C 50 ns glitch filter enabled.
0x1: DISABLED: Disabled. I2C 50 ns glitch filter disabled.

PIO015

Digital I/O control for port 0 pins PIO0_15

Offset: 0x3c, reset: 0x320, access: read-write

6/6 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
OD
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO016

Digital I/O control for port 0 pins PIO0_16

Offset: 0x40, reset: 0x320, access: read-write

6/6 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
OD
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO017

Digital I/O control for port 0 pins PIO0_17

Offset: 0x44, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO018

Digital I/O control for port 0 pins PIO0_18

Offset: 0x48, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO019

Digital I/O control for port 0 pins PIO0_19

Offset: 0x4c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO020

Digital I/O control for port 0 pins PIO0_20

Offset: 0x50, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO021

Digital I/O control for port 0 pins PIO0_21

Offset: 0x54, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO022

Digital I/O control for port 0 pins PIO0_22

Offset: 0x58, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO023

Digital I/O control for port 0 pins PIO0_23

Offset: 0x5c, reset: 0x320, access: read-write

6/6 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
OD
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO024

Digital I/O control for port 0 pins PIO0_24

Offset: 0x60, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO025

Digital I/O control for port 0 pins PIO0_25

Offset: 0x64, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO026

Digital I/O control for port 0 pins PIO0_26

Offset: 0x68, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO027

Digital I/O control for port 0 pins PIO0_27

Offset: 0x6c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO028

Digital I/O control for port 0 pins PIO0_28

Offset: 0x70, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO029

Digital I/O control for port 0 pins PIO0_29

Offset: 0x74, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO030

Digital I/O control for port 0 pins PIO0_30

Offset: 0x78, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO031

Digital I/O control for port 0 pins PIO0_31

Offset: 0x7c, reset: 0x320, access: read-write

6/6 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
OD
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO10

Digital I/O control for port 1 pins PIO1_0

Offset: 0x80, reset: 0x320, access: read-write

6/6 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
OD
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO11

Digital I/O control for port 1 pins PIO1_1

Offset: 0x84, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO12

Digital I/O control for port 1 pins PIO1_2

Offset: 0x88, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO13

Digital I/O control for port 1 pins PIO1_3

Offset: 0x8c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO14

Digital I/O control for port 1 pins PIO1_4

Offset: 0x90, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO15

Digital I/O control for port 1 pins PIO1_5

Offset: 0x94, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO16

Digital I/O control for port 1 pins PIO1_6

Offset: 0x98, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO17

Digital I/O control for port 1 pins PIO1_7

Offset: 0x9c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO18

Digital I/O control for port 1 pins PIO1_8

Offset: 0xa0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO19

Digital I/O control for port 1 pins PIO1_9

Offset: 0xa4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO110

Digital I/O control for port 1 pins PIO1_10

Offset: 0xa8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO111

Digital I/O control for port 1 pins PIO1_11

Offset: 0xac, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO112

Digital I/O control for port 1 pins PIO1_12

Offset: 0xb0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO113

Digital I/O control for port 1 pins PIO1_13

Offset: 0xb4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO114

Digital I/O control for port 1 pins PIO1_14

Offset: 0xb8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO115

Digital I/O control for port 1 pins PIO1_15

Offset: 0xbc, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO116

Digital I/O control for port 1 pins PIO1_16

Offset: 0xc0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO117

Digital I/O control for port 1 pins PIO1_17

Offset: 0xc4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO118

Digital I/O control for port 1 pins PIO1_18

Offset: 0xc8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO119

Digital I/O control for port 1 pins PIO1_19

Offset: 0xcc, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO120

Digital I/O control for port 1 pins PIO1_20

Offset: 0xd0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO121

Digital I/O control for port 1 pins PIO1_21

Offset: 0xd4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO122

Digital I/O control for port 1 pins PIO1_22

Offset: 0xd8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO123

Digital I/O control for port 1 pins PIO1_23

Offset: 0xdc, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO124

Digital I/O control for port 1 pins PIO1_24

Offset: 0xe0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO125

Digital I/O control for port 1 pins PIO1_25

Offset: 0xe4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO126

Digital I/O control for port 1 pins PIO1_26

Offset: 0xe8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO127

Digital I/O control for port 1 pins PIO1_27

Offset: 0xec, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO128

Digital I/O control for port 1 pins PIO1_28

Offset: 0xf0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO129

Digital I/O control for port 1 pins PIO1_29

Offset: 0xf4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO130

Digital I/O control for port 1 pins PIO1_30

Offset: 0xf8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO131

Digital I/O control for port 1 pins PIO1_31

Offset: 0xfc, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO20

Digital I/O control for port 2 pins PIO2_0

Offset: 0x100, reset: 0x320, access: read-write

6/6 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
OD
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO21

Digital I/O control for port 2 pins PIO2_1

Offset: 0x104, reset: 0x320, access: read-write

6/6 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
OD
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO22

Digital I/O control for port 2 pins PIO2_2

Offset: 0x108, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO23

Digital I/O control for port 2 pins PIO2_3

Offset: 0x10c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO24

Digital I/O control for port 2 pins PIO2_4

Offset: 0x110, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO25

Digital I/O control for port 2 pins PIO2_5

Offset: 0x114, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO26

Digital I/O control for port 2 pins PIO2_6

Offset: 0x118, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO27

Digital I/O control for port 2 pins PIO2_7

Offset: 0x11c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO28

Digital I/O control for port 2 pins PIO2_8

Offset: 0x120, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO29

Digital I/O control for port 2 pins PIO2_9

Offset: 0x124, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO210

Digital I/O control for port 2 pins PIO2_10

Offset: 0x128, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO211

Digital I/O control for port 2 pins PIO2_11

Offset: 0x12c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO212

Digital I/O control for port 2 pins PIO2_12

Offset: 0x130, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO213

Digital I/O control for port 2 pins PIO2_13

Offset: 0x134, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO214

Digital I/O control for port 2 pins PIO2_14

Offset: 0x138, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO215

Digital I/O control for port 2 pins PIO2_15

Offset: 0x13c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO216

Digital I/O control for port 2 pins PIO2_16

Offset: 0x140, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO217

Digital I/O control for port 2 pins PIO2_17

Offset: 0x144, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO218

Digital I/O control for port 2 pins PIO2_18

Offset: 0x148, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO219

Digital I/O control for port 2 pins PIO2_19

Offset: 0x14c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO220

Digital I/O control for port 2 pins PIO2_20

Offset: 0x150, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO221

Digital I/O control for port 2 pins PIO2_21

Offset: 0x154, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO222

Digital I/O control for port 2 pins PIO2_22

Offset: 0x158, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO223

Digital I/O control for port 2 pins PIO2_23

Offset: 0x15c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO224

Digital I/O control for port 2 pins PIO2_24

Offset: 0x160, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO225

Digital I/O control for port 2 pins PIO2_25

Offset: 0x164, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO226

Digital I/O control for port 2 pins PIO2_26

Offset: 0x168, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO227

Digital I/O control for port 2 pins PIO2_27

Offset: 0x16c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO228

Digital I/O control for port 2 pins PIO2_28

Offset: 0x170, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO229

Digital I/O control for port 2 pins PIO2_29

Offset: 0x174, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO230

Digital I/O control for port 2 pins PIO2_30

Offset: 0x178, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO231

Digital I/O control for port 2 pins PIO2_31

Offset: 0x17c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO30

Digital I/O control for port 3 pins PIO3_0

Offset: 0x180, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO31

Digital I/O control for port 3 pins PIO3_1

Offset: 0x184, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO32

Digital I/O control for port 3 pins PIO3_2

Offset: 0x188, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO33

Digital I/O control for port 3 pins PIO3_3

Offset: 0x18c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO34

Digital I/O control for port 3 pins PIO3_4

Offset: 0x190, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO35

Digital I/O control for port 3 pins PIO3_5

Offset: 0x194, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO36

Digital I/O control for port 3 pins PIO3_6

Offset: 0x198, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO37

Digital I/O control for port 3 pins PIO3_7

Offset: 0x19c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO38

Digital I/O control for port 3 pins PIO3_8

Offset: 0x1a0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO39

Digital I/O control for port 3 pins PIO3_9

Offset: 0x1a4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO310

Digital I/O control for port 3 pins PIO3_10

Offset: 0x1a8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO311

Digital I/O control for port 3 pins PIO3_11

Offset: 0x1ac, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO312

Digital I/O control for port 3 pins PIO3_12

Offset: 0x1b0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO313

Digital I/O control for port 3 pins PIO3_13

Offset: 0x1b4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO314

Digital I/O control for port 3 pins PIO3_14

Offset: 0x1b8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO315

Digital I/O control for port 3 pins PIO3_15

Offset: 0x1bc, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO316

Digital I/O control for port 3 pins PIO3_16

Offset: 0x1c0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO317

Digital I/O control for port 3 pins PIO3_17

Offset: 0x1c4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO318

Digital I/O control for port 3 pins PIO3_18

Offset: 0x1c8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO319

Digital I/O control for port 3 pins PIO3_19

Offset: 0x1cc, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO320

Digital I/O control for port 3 pins PIO3_20

Offset: 0x1d0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO321

Digital I/O control for port 3 pins PIO3_21

Offset: 0x1d4, reset: 0x320, access: read-write

6/6 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
OD
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO322

Digital I/O control for port 3 pins PIO3_22

Offset: 0x1d8, reset: 0x320, access: read-write

6/6 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
OD
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO323

Digital I/O control for port 3 pins PIO3_23

Offset: 0x1dc, reset: 0x340, access: read-write

7/7 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
I2CFILTER
rw
I2CDRIVE
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
I2CSLEW
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

I2CSLEW

Bit 6: Controls slew rate of I2C pad..

Allowed values:
0: I2C_MODE: I2C mode.
0x1: GPIO_MODE: GPIO mode.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

I2CDRIVE

Bit 10: Controls the current sink capability of the pin..

Allowed values:
0: LOW: Low drive. Output drive sink is 4 mA. This is sufficient for standard and fast mode I2C.
0x1: HIGH: High drive. Output drive sink is 20 mA. This is needed for Fast Mode Plus I 2C. Refer to the appropriate specific device data sheet for details.

I2CFILTER

Bit 11: Configures I2C features for standard mode, fast mode, and Fast Mode Plus operation..

Allowed values:
0: ENABLED: Enabled. I2C 50 ns glitch filter enabled.
0x1: DISABLED: Disabled. I2C 50 ns glitch filter disabled.

PIO324

Digital I/O control for port 3 pins PIO3_24

Offset: 0x1e0, reset: 0x340, access: read-write

7/7 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
I2CFILTER
rw
I2CDRIVE
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
I2CSLEW
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

I2CSLEW

Bit 6: Controls slew rate of I2C pad..

Allowed values:
0: I2C_MODE: I2C mode.
0x1: GPIO_MODE: GPIO mode.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

I2CDRIVE

Bit 10: Controls the current sink capability of the pin..

Allowed values:
0: LOW: Low drive. Output drive sink is 4 mA. This is sufficient for standard and fast mode I2C.
0x1: HIGH: High drive. Output drive sink is 20 mA. This is needed for Fast Mode Plus I 2C. Refer to the appropriate specific device data sheet for details.

I2CFILTER

Bit 11: Configures I2C features for standard mode, fast mode, and Fast Mode Plus operation..

Allowed values:
0: ENABLED: Enabled. I2C 50 ns glitch filter enabled.
0x1: DISABLED: Disabled. I2C 50 ns glitch filter disabled.

PIO325

Digital I/O control for port 3 pins PIO3_25

Offset: 0x1e4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO326

Digital I/O control for port 3 pins PIO3_26

Offset: 0x1e8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO327

Digital I/O control for port 3 pins PIO3_27

Offset: 0x1ec, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO328

Digital I/O control for port 3 pins PIO3_28

Offset: 0x1f0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO329

Digital I/O control for port 3 pins PIO3_29

Offset: 0x1f4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO330

Digital I/O control for port 3 pins PIO3_30

Offset: 0x1f8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO331

Digital I/O control for port 3 pins PIO3_31

Offset: 0x1fc, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO40

Digital I/O control for port 4 pins PIO4_0

Offset: 0x200, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO41

Digital I/O control for port 4 pins PIO4_1

Offset: 0x204, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO42

Digital I/O control for port 4 pins PIO4_2

Offset: 0x208, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO43

Digital I/O control for port 4 pins PIO4_3

Offset: 0x20c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO44

Digital I/O control for port 4 pins PIO4_4

Offset: 0x210, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO45

Digital I/O control for port 4 pins PIO4_5

Offset: 0x214, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO46

Digital I/O control for port 4 pins PIO4_6

Offset: 0x218, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO47

Digital I/O control for port 4 pins PIO4_7

Offset: 0x21c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO48

Digital I/O control for port 4 pins PIO4_8

Offset: 0x220, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO49

Digital I/O control for port 4 pins PIO4_9

Offset: 0x224, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO410

Digital I/O control for port 4 pins PIO4_10

Offset: 0x228, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO411

Digital I/O control for port 4 pins PIO4_11

Offset: 0x22c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO412

Digital I/O control for port 4 pins PIO4_12

Offset: 0x230, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO413

Digital I/O control for port 4 pins PIO4_13

Offset: 0x234, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO414

Digital I/O control for port 4 pins PIO4_14

Offset: 0x238, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO415

Digital I/O control for port 4 pins PIO4_15

Offset: 0x23c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO416

Digital I/O control for port 4 pins PIO4_16

Offset: 0x240, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO417

Digital I/O control for port 4 pins PIO4_17

Offset: 0x244, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO418

Digital I/O control for port 4 pins PIO4_18

Offset: 0x248, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO419

Digital I/O control for port 4 pins PIO4_19

Offset: 0x24c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO420

Digital I/O control for port 4 pins PIO4_20

Offset: 0x250, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO421

Digital I/O control for port 4 pins PIO4_21

Offset: 0x254, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO422

Digital I/O control for port 4 pins PIO4_22

Offset: 0x258, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO423

Digital I/O control for port 4 pins PIO4_23

Offset: 0x25c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO424

Digital I/O control for port 4 pins PIO4_24

Offset: 0x260, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO425

Digital I/O control for port 4 pins PIO4_25

Offset: 0x264, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO426

Digital I/O control for port 4 pins PIO4_26

Offset: 0x268, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO427

Digital I/O control for port 4 pins PIO4_27

Offset: 0x26c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO428

Digital I/O control for port 4 pins PIO4_28

Offset: 0x270, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO429

Digital I/O control for port 4 pins PIO4_29

Offset: 0x274, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO430

Digital I/O control for port 4 pins PIO4_30

Offset: 0x278, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO431

Digital I/O control for port 4 pins PIO4_31

Offset: 0x27c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO50

Digital I/O control for port 5 pins PIO5_0

Offset: 0x280, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO51

Digital I/O control for port 5 pins PIO5_1

Offset: 0x284, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO52

Digital I/O control for port 5 pins PIO5_2

Offset: 0x288, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO53

Digital I/O control for port 5 pins PIO5_3

Offset: 0x28c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO54

Digital I/O control for port 5 pins PIO5_4

Offset: 0x290, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO55

Digital I/O control for port 5 pins PIO5_5

Offset: 0x294, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO56

Digital I/O control for port 5 pins PIO5_6

Offset: 0x298, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO57

Digital I/O control for port 5 pins PIO5_7

Offset: 0x29c, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO58

Digital I/O control for port 5 pins PIO5_8

Offset: 0x2a0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO59

Digital I/O control for port 5 pins PIO5_9

Offset: 0x2a4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO510

Digital I/O control for port 5 pins PIO5_10

Offset: 0x2a8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO511

Digital I/O control for port 5 pins PIO5_11

Offset: 0x2ac, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO512

Digital I/O control for port 5 pins PIO5_12

Offset: 0x2b0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO513

Digital I/O control for port 5 pins PIO5_13

Offset: 0x2b4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO514

Digital I/O control for port 5 pins PIO5_14

Offset: 0x2b8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO515

Digital I/O control for port 5 pins PIO5_15

Offset: 0x2bc, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO516

Digital I/O control for port 5 pins PIO5_16

Offset: 0x2c0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO517

Digital I/O control for port 5 pins PIO5_17

Offset: 0x2c4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO518

Digital I/O control for port 5 pins PIO5_18

Offset: 0x2c8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO519

Digital I/O control for port 5 pins PIO5_19

Offset: 0x2cc, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO520

Digital I/O control for port 5 pins PIO5_20

Offset: 0x2d0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO521

Digital I/O control for port 5 pins PIO5_21

Offset: 0x2d4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO522

Digital I/O control for port 5 pins PIO5_22

Offset: 0x2d8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO523

Digital I/O control for port 5 pins PIO5_23

Offset: 0x2dc, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO524

Digital I/O control for port 5 pins PIO5_24

Offset: 0x2e0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO525

Digital I/O control for port 5 pins PIO5_25

Offset: 0x2e4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO526

Digital I/O control for port 5 pins PIO5_26

Offset: 0x2e8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO527

Digital I/O control for port 5 pins PIO5_27

Offset: 0x2ec, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO528

Digital I/O control for port 5 pins PIO5_28

Offset: 0x2f0, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO529

Digital I/O control for port 5 pins PIO5_29

Offset: 0x2f4, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO530

Digital I/O control for port 5 pins PIO5_30

Offset: 0x2f8, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

PIO531

Digital I/O control for port 5 pins PIO5_31

Offset: 0x2fc, reset: 0x320, access: read-write

7/7 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
OD
rw
SLEW
rw
FILTEROFF
rw
DIGIMODE
rw
INVERT
rw
MODE
rw
FUNC
rw
Toggle Fields

FUNC

Bits 0-3: Selects pin function..

Allowed values:
0: ALT0: Alternative connection 0.
0x1: ALT1: Alternative connection 1.
0x2: ALT2: Alternative connection 2.
0x3: ALT3: Alternative connection 3.
0x4: ALT4: Alternative connection 4.
0x5: ALT5: Alternative connection 5.
0x6: ALT6: Alternative connection 6.
0x7: ALT7: Alternative connection 7.

MODE

Bits 4-5: 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.

INVERT

Bit 7: Input polarity..

Allowed values:
0: DISABLED: Disabled. Input function is not inverted.
0x1: ENABLED: Enabled. Input is function inverted.

DIGIMODE

Bit 8: Select Analog/Digital mode..

Allowed values:
0: ANALOG: Analog mode.
0x1: DIGITAL: Digital mode.

FILTEROFF

Bit 9: Controls input glitch filter..

Allowed values:
0: ENABLED: Filter enabled. Noise pulses below approximately 10 ns are filtered out.
0x1: DISABLED: Filter disabled. No input filtering is done.

SLEW

Bit 10: Driver slew rate..

Allowed values:
0: STANDARD: Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously.
0x1: FAST: Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details.

OD

Bit 11: Controls open-drain mode..

Allowed values:
0: NORMAL: Normal. Normal push-pull output
0x1: OPEN_DRAIN: Open-drain. Simulated open-drain output (high drive disabled).

ITM

0xe0000000: Instrumentation Trace Macrocell Registers

25/96 fields covered. Toggle Registers

Show register map

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 STIM0_READ
0x0 STIM0_WRITE
0x4 STIM1_READ
0x4 STIM1_WRITE
0x8 STIM2_READ
0x8 STIM2_WRITE
0xc STIM3_READ
0xc STIM3_WRITE
0x10 STIM4_READ
0x10 STIM4_WRITE
0x14 STIM5_READ
0x14 STIM5_WRITE
0x18 STIM6_READ
0x18 STIM6_WRITE
0x1c STIM7_READ
0x1c STIM7_WRITE
0x20 STIM8_READ
0x20 STIM8_WRITE
0x24 STIM9_READ
0x24 STIM9_WRITE
0x28 STIM10_READ
0x28 STIM10_WRITE
0x2c STIM11_READ
0x2c STIM11_WRITE
0x30 STIM12_READ
0x30 STIM12_WRITE
0x34 STIM13_READ
0x34 STIM13_WRITE
0x38 STIM14_READ
0x38 STIM14_WRITE
0x3c STIM15_READ
0x3c STIM15_WRITE
0x40 STIM16_READ
0x40 STIM16_WRITE
0x44 STIM17_READ
0x44 STIM17_WRITE
0x48 STIM18_READ
0x48 STIM18_WRITE
0x4c STIM19_READ
0x4c STIM19_WRITE
0x50 STIM20_READ
0x50 STIM20_WRITE
0x54 STIM21_READ
0x54 STIM21_WRITE
0x58 STIM22_READ
0x58 STIM22_WRITE
0x5c STIM23_READ
0x5c STIM23_WRITE
0x60 STIM24_READ
0x60 STIM24_WRITE
0x64 STIM25_READ
0x64 STIM25_WRITE
0x68 STIM26_READ
0x68 STIM26_WRITE
0x6c STIM27_READ
0x6c STIM27_WRITE
0x70 STIM28_READ
0x70 STIM28_WRITE
0x74 STIM29_READ
0x74 STIM29_WRITE
0x78 STIM30_READ
0x78 STIM30_WRITE
0x7c STIM31_READ
0x7c STIM31_WRITE
0xe00 TER
0xe40 TPR
0xe80 TCR
0xfb0 LAR
0xfb4 LSR
0xfd0 PID4
0xfd4 PID5
0xfd8 PID6
0xfdc PID7
0xfe0 PID0
0xfe4 PID1
0xfe8 PID2
0xfec PID3
0xff0 CID0
0xff4 CID1
0xff8 CID2
0xffc CID3

STIM0_READ

Stimulus Port Register 0 (for reading)

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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM0_WRITE

Stimulus Port Register 0 (for writing)

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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM1_READ

Stimulus Port Register 1 (for reading)

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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM1_WRITE

Stimulus Port Register 1 (for writing)

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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM2_READ

Stimulus Port Register 2 (for reading)

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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM2_WRITE

Stimulus Port Register 2 (for writing)

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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM3_READ

Stimulus Port Register 3 (for reading)

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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM3_WRITE

Stimulus Port Register 3 (for writing)

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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM4_READ

Stimulus Port Register 4 (for reading)

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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM4_WRITE

Stimulus Port Register 4 (for writing)

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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM5_READ

Stimulus Port Register 5 (for reading)

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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM5_WRITE

Stimulus Port Register 5 (for writing)

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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM6_READ

Stimulus Port Register 6 (for reading)

Offset: 0x18, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM6_WRITE

Stimulus Port Register 6 (for writing)

Offset: 0x18, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM7_READ

Stimulus Port Register 7 (for reading)

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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM7_WRITE

Stimulus Port Register 7 (for writing)

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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM8_READ

Stimulus Port Register 8 (for reading)

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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM8_WRITE

Stimulus Port Register 8 (for writing)

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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM9_READ

Stimulus Port Register 9 (for reading)

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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM9_WRITE

Stimulus Port Register 9 (for writing)

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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM10_READ

Stimulus Port Register 10 (for reading)

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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM10_WRITE

Stimulus Port Register 10 (for writing)

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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM11_READ

Stimulus Port Register 11 (for reading)

Offset: 0x2c, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM11_WRITE

Stimulus Port Register 11 (for writing)

Offset: 0x2c, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM12_READ

Stimulus Port Register 12 (for reading)

Offset: 0x30, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM12_WRITE

Stimulus Port Register 12 (for writing)

Offset: 0x30, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM13_READ

Stimulus Port Register 13 (for reading)

Offset: 0x34, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM13_WRITE

Stimulus Port Register 13 (for writing)

Offset: 0x34, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM14_READ

Stimulus Port Register 14 (for reading)

Offset: 0x38, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM14_WRITE

Stimulus Port Register 14 (for writing)

Offset: 0x38, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM15_READ

Stimulus Port Register 15 (for reading)

Offset: 0x3c, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM15_WRITE

Stimulus Port Register 15 (for writing)

Offset: 0x3c, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM16_READ

Stimulus Port Register 16 (for reading)

Offset: 0x40, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM16_WRITE

Stimulus Port Register 16 (for writing)

Offset: 0x40, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM17_READ

Stimulus Port Register 17 (for reading)

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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM17_WRITE

Stimulus Port Register 17 (for writing)

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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM18_READ

Stimulus Port Register 18 (for reading)

Offset: 0x48, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM18_WRITE

Stimulus Port Register 18 (for writing)

Offset: 0x48, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM19_READ

Stimulus Port Register 19 (for reading)

Offset: 0x4c, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM19_WRITE

Stimulus Port Register 19 (for writing)

Offset: 0x4c, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM20_READ

Stimulus Port Register 20 (for reading)

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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM20_WRITE

Stimulus Port Register 20 (for writing)

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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM21_READ

Stimulus Port Register 21 (for reading)

Offset: 0x54, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM21_WRITE

Stimulus Port Register 21 (for writing)

Offset: 0x54, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM22_READ

Stimulus Port Register 22 (for reading)

Offset: 0x58, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM22_WRITE

Stimulus Port Register 22 (for writing)

Offset: 0x58, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM23_READ

Stimulus Port Register 23 (for reading)

Offset: 0x5c, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM23_WRITE

Stimulus Port Register 23 (for writing)

Offset: 0x5c, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM24_READ

Stimulus Port Register 24 (for reading)

Offset: 0x60, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM24_WRITE

Stimulus Port Register 24 (for writing)

Offset: 0x60, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM25_READ

Stimulus Port Register 25 (for reading)

Offset: 0x64, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM25_WRITE

Stimulus Port Register 25 (for writing)

Offset: 0x64, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM26_READ

Stimulus Port Register 26 (for reading)

Offset: 0x68, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM26_WRITE

Stimulus Port Register 26 (for writing)

Offset: 0x68, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM27_READ

Stimulus Port Register 27 (for reading)

Offset: 0x6c, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM27_WRITE

Stimulus Port Register 27 (for writing)

Offset: 0x6c, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM28_READ

Stimulus Port Register 28 (for reading)

Offset: 0x70, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM28_WRITE

Stimulus Port Register 28 (for writing)

Offset: 0x70, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM29_READ

Stimulus Port Register 29 (for reading)

Offset: 0x74, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM29_WRITE

Stimulus Port Register 29 (for writing)

Offset: 0x74, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM30_READ

Stimulus Port Register 30 (for reading)

Offset: 0x78, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM30_WRITE

Stimulus Port Register 30 (for writing)

Offset: 0x78, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

STIM31_READ

Stimulus Port Register 31 (for reading)

Offset: 0x7c, 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
FIFOREADY
rw
Toggle Fields

FIFOREADY

Bit 0: no description available.

STIM31_WRITE

Stimulus Port Register 31 (for writing)

Offset: 0x7c, 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
STIMULUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMULUS
rw
Toggle Fields

STIMULUS

Bits 0-31: Data write to the stimulus port FIFO, for forwarding as a software event packet..

TER

Trace Enable Register

Offset: 0xe00, 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
STIMENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STIMENA
rw
Toggle Fields

STIMENA

Bits 0-31: For bit STIMENA[n], in register ITM_TERx: 0 = Stimulus port (32x + n) disabled 1 = Stimulus port (32x + n) enabled.

TPR

Trace Privilege Register

Offset: 0xe40, 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
PRIVMASK
rw
Toggle Fields

PRIVMASK

Bits 0-3: Bit mask to enable tracing on ITM stimulus ports: Bit [0] = stimulus port [7:0] Bit [1] = stimulus port [15:8] Bit [2] = stimulus port [23:16] Bit [3] = stimulus port [31:24].

TCR

Trace Control Register

Offset: 0xe80, reset: 0, access: read-write

8/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BUSY
r
TraceBusID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GTSFREQ
rw
TSPrescale
rw
SWOENA
rw
TXENA
rw
SYNCENA
rw
TSENA
rw
ITMENA
rw
Toggle Fields

ITMENA

Bit 0: no description available.

Allowed values:
0: ITMENA_0: Disabled.
0x1: ITMENA_1: Enabled.

TSENA

Bit 1: no description available.

Allowed values:
0: TSENA_0: Disabled.
0x1: TSENA_1: Enabled.

SYNCENA

Bit 2: no description available.

Allowed values:
0: SYNCENA_0: Disabled.
0x1: SYNCENA_1: Enabled.

TXENA

Bit 3: no description available.

Allowed values:
0: TXENA_0: Disabled.
0x1: TXENA_1: Enabled.

SWOENA

Bit 4: no description available.

Allowed values:
0: SWOENA_0: Timestamp counter uses the processor system clock.
0x1: SWOENA_1: Timestamp counter uses asynchronous clock from the TPIU interface.

TSPrescale

Bits 8-9: Local timestamp prescaler, used with the trace packet reference clock..

Allowed values:
0: TSPrescale_0: No prescaling.
0x1: TSPrescale_1: Divide by 4.
0x2: TSPrescale_2: Divide by 16.
0x3: TSPrescale_3: Divide by 64.

GTSFREQ

Bits 10-11: Global timestamp frequency. Defines how often the ITM generates a global timestamp, based on the global timestamp clock frequency, or disables generation of global timestamps..

Allowed values:
0: GTSFREQ_0: Disable generation of global timestamps.
0x1: GTSFREQ_1: Generate timestamp request whenever the ITM detects a change in global timestamp counter bits [47:7]. This is approximately every 128 cycles.
0x2: GTSFREQ_2: Generate timestamp request whenever the ITM detects a change in global timestamp counter bits [47:13]. This is approximately every 8192 cycles.
0x3: GTSFREQ_3: Generate a timestamp after every packet, if the output FIFO is empty.

TraceBusID

Bits 16-22: Identifier for multi-source trace stream formatting. If multi-source trace is in use, the debugger must write a non-zero value to this field..

BUSY

Bit 23: Indicates whether the ITM is currently processing events: 0: ITM is not processing any events. 1: ITM events present and being drained..

Allowed values:
0: BUSY_0: ITM is not processing any events.
0x1: BUSY_1: ITM events present and beeing drained.

LAR

Lock Access Register

Offset: 0xfb0, 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
WriteAccessCode
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WriteAccessCode
rw
Toggle Fields

WriteAccessCode

Bits 0-31: Write Access Code. A write of 0xC5ACCE55 enables further write access to this device. An invalid write will have the affect of removing write access..

LSR

Lock Status Register

Offset: 0xfb4, reset: 0x1, access: read-only

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
s8BIT
r
STATUS
r
IMP
r
Toggle Fields

IMP

Bit 0: Lock mechanism is implemented. This bit always reads 1..

STATUS

Bit 1: Lock Status. This bit is HIGH when the device is locked, and LOW when unlocked..

s8BIT

Bit 2: Access Lock Register size. This bit reads 0 to indicate a 32-bit register is present..

PID4

Peripheral Identification Register 4.

Offset: 0xfd0, reset: 0x4, access: read-only

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
c4KB
r
JEP106
r
Toggle Fields

JEP106

Bits 0-3: JEP106 continuation code..

c4KB

Bits 4-7: 4KB Count.

PID5

Peripheral Identification Register 5.

Offset: 0xfd4, reset: 0, access: read-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
Toggle Fields

PID6

Peripheral Identification Register 6.

Offset: 0xfd8, reset: 0, access: read-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
Toggle Fields

PID7

Peripheral Identification Register 7.

Offset: 0xfdc, reset: 0, access: read-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
Toggle Fields

PID0

Peripheral Identification Register 0.

Offset: 0xfe0, reset: 0x2, 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
PartNumber
r
Toggle Fields

PartNumber

Bits 0-7: Part Number [7:0].

PID1

Peripheral Identification Register 1.

Offset: 0xfe4, reset: 0xB0, access: read-only

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
JEP106_identity_code
r
PartNumber
r
Toggle Fields

PartNumber

Bits 0-3: Part Number [11:8].

JEP106_identity_code

Bits 4-7: JEP106 identity code [3:0].

PID2

Peripheral Identification Register 2.

Offset: 0xfe8, reset: 0x3B, access: read-only

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
Revision
r
JEP106_identity_code
r
Toggle Fields

JEP106_identity_code

Bits 0-2: JEP106 identity code [6:4].

Revision

Bits 4-7: Revision.

PID3

Peripheral Identification Register 3.

Offset: 0xfec, reset: 0, access: read-only

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
RevAnd
r
CustomerModified
r
Toggle Fields

CustomerModified

Bits 0-3: Customer Modified..

RevAnd

Bits 4-7: RevAnd.

CID0

Component Identification Register 0.

Offset: 0xff0, reset: 0xD, 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
Preamble
r
Toggle Fields

Preamble

Bits 0-7: Preamble.

CID1

Component Identification Register 1.

Offset: 0xff4, reset: 0xE0, access: read-only

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
ComponentClass
r
Preamble
r
Toggle Fields

Preamble

Bits 0-3: Preamble.

ComponentClass

Bits 4-7: Component class.

Allowed values:
0x1: ComponentClass_1: ROM table.
0x9: ComponentClass_9: CoreSight component.
0xF: ComponentClass_15: PrimeCell of system component with no standardized register layout, for backward compatibility.

CID2

Component Identification Register 2.

Offset: 0xff8, reset: 0x5, 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
Preamble
r
Toggle Fields

Preamble

Bits 0-7: Preamble.

CID3

Component Identification Register 3.

Offset: 0xffc, reset: 0xB1, 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
Preamble
r
Toggle Fields

Preamble

Bits 0-7: Preamble.

MRT0

0x4000d000: LPC5411x Multi-Rate Timer (MRT)

31/40 fields covered. Toggle Registers

Show register map

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

INTVAL [0]

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
Toggle Fields

IVALUE

Bits 0-23: 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..

LOAD

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.

TIMER [0]

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
Toggle Fields

VALUE

Bits 0-23: 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)..

CTRL [0]

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
Toggle Fields

INTEN

Bit 0: Enable the TIMERn interrupt..

Allowed values:
0: DISABLED: Disabled. TIMERn interrupt is disabled.
0x1: ENABLED: Enabled. TIMERn interrupt is enabled.

MODE

Bits 1-2: Selects timer mode..

Allowed values:
0: REPEAT_INTERRUPT_MODE: Repeat interrupt mode.
0x1: ONE_SHOT_INTERRUPT_MODE: One-shot interrupt mode.
0x2: ONE_SHOT_STALL_MODE: One-shot stall mode.

STAT [0]

MRT Status register.

Offset: 0xc, 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
INUSE
rw
RUN
rw
INTFLAG
rw
Toggle Fields

INTFLAG

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.

RUN

Bit 1: Indicates the state of TIMERn. This bit is read-only..

Allowed values:
0: IDLE_STATE: Idle state. TIMERn is stopped.
0x1: RUNNING: Running. TIMERn is running.

INUSE

Bit 2: Channel In Use flag. Operating details depend on the MULTITASK bit in the MODCFG register, and affects the use of IDLE_CH. See Idle channel register for details of the two operating modes..

Allowed values:
0: NO: This channel is not in use.
0x1: YES: This channel is in use.

INTVAL [1]

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
Toggle Fields

IVALUE

Bits 0-23: 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..

LOAD

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.

TIMER [1]

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
Toggle Fields

VALUE

Bits 0-23: 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)..

CTRL [1]

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
Toggle Fields

INTEN

Bit 0: Enable the TIMERn interrupt..

Allowed values:
0: DISABLED: Disabled. TIMERn interrupt is disabled.
0x1: ENABLED: Enabled. TIMERn interrupt is enabled.

MODE

Bits 1-2: Selects timer mode..

Allowed values:
0: REPEAT_INTERRUPT_MODE: Repeat interrupt mode.
0x1: ONE_SHOT_INTERRUPT_MODE: One-shot interrupt mode.
0x2: ONE_SHOT_STALL_MODE: One-shot stall mode.

STAT [1]

MRT Status register.

Offset: 0x1c, 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
INUSE
rw
RUN
rw
INTFLAG
rw
Toggle Fields

INTFLAG

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.

RUN

Bit 1: Indicates the state of TIMERn. This bit is read-only..

Allowed values:
0: IDLE_STATE: Idle state. TIMERn is stopped.
0x1: RUNNING: Running. TIMERn is running.

INUSE

Bit 2: Channel In Use flag. Operating details depend on the MULTITASK bit in the MODCFG register, and affects the use of IDLE_CH. See Idle channel register for details of the two operating modes..

Allowed values:
0: NO: This channel is not in use.
0x1: YES: This channel is in use.

INTVAL [2]

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
Toggle Fields

IVALUE

Bits 0-23: 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..

LOAD

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.

TIMER [2]

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
Toggle Fields

VALUE

Bits 0-23: 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)..

CTRL [2]

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
Toggle Fields

INTEN

Bit 0: Enable the TIMERn interrupt..

Allowed values:
0: DISABLED: Disabled. TIMERn interrupt is disabled.
0x1: ENABLED: Enabled. TIMERn interrupt is enabled.

MODE

Bits 1-2: Selects timer mode..

Allowed values:
0: REPEAT_INTERRUPT_MODE: Repeat interrupt mode.
0x1: ONE_SHOT_INTERRUPT_MODE: One-shot interrupt mode.
0x2: ONE_SHOT_STALL_MODE: One-shot stall mode.

STAT [2]

MRT Status register.

Offset: 0x2c, 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
INUSE
rw
RUN
rw
INTFLAG
rw
Toggle Fields

INTFLAG

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.

RUN

Bit 1: Indicates the state of TIMERn. This bit is read-only..

Allowed values:
0: IDLE_STATE: Idle state. TIMERn is stopped.
0x1: RUNNING: Running. TIMERn is running.

INUSE

Bit 2: Channel In Use flag. Operating details depend on the MULTITASK bit in the MODCFG register, and affects the use of IDLE_CH. See Idle channel register for details of the two operating modes..

Allowed values:
0: NO: This channel is not in use.
0x1: YES: This channel is in use.

INTVAL [3]

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
Toggle Fields

IVALUE

Bits 0-23: 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..

LOAD

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.

TIMER [3]

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
Toggle Fields

VALUE

Bits 0-23: 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)..

CTRL [3]

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
Toggle Fields

INTEN

Bit 0: Enable the TIMERn interrupt..

Allowed values:
0: DISABLED: Disabled. TIMERn interrupt is disabled.
0x1: ENABLED: Enabled. TIMERn interrupt is enabled.

MODE

Bits 1-2: Selects timer mode..

Allowed values:
0: REPEAT_INTERRUPT_MODE: Repeat interrupt mode.
0x1: ONE_SHOT_INTERRUPT_MODE: One-shot interrupt mode.
0x2: ONE_SHOT_STALL_MODE: One-shot stall mode.

STAT [3]

MRT Status register.

Offset: 0x3c, 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
INUSE
rw
RUN
rw
INTFLAG
rw
Toggle Fields

INTFLAG

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.

RUN

Bit 1: Indicates the state of TIMERn. This bit is read-only..

Allowed values:
0: IDLE_STATE: Idle state. TIMERn is stopped.
0x1: RUNNING: Running. TIMERn is running.

INUSE

Bit 2: Channel In Use flag. Operating details depend on the MULTITASK bit in the MODCFG register, and affects the use of IDLE_CH. See Idle channel register for details of the two operating modes..

Allowed values:
0: NO: This channel is not in use.
0x1: YES: This channel is in use.

MODCFG

Module Configuration register. This register provides information about this particular MRT instance, and allows choosing an overall mode for the idle channel feature.

Offset: 0xf0, reset: 0x173, access: read-write

1/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MULTITASK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NOB
rw
NOC
rw
Toggle Fields

NOC

Bits 0-3: Identifies the number of channels in this MRT.(4 channels on this device.).

NOB

Bits 4-8: Identifies the number of timer bits in this MRT. (24 bits wide on this device.).

MULTITASK

Bit 31: Selects the operating mode for the INUSE flags and the IDLE_CH register..

Allowed values:
0: HARDWARE_STATUS_MODE: Hardware status mode. In this mode, the INUSE(n) flags for all channels are reset.
0x1: MULTI_TASK_MODE: Multi-task mode.

IDLE_CH

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
Toggle Fields

CHAN

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..

IRQ_FLAG

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
Toggle Fields

GFLAG0

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.

GFLAG1

Bit 1: Monitors the interrupt flag of TIMER1. See description of channel 0..

GFLAG2

Bit 2: Monitors the interrupt flag of TIMER2. See description of channel 0..

GFLAG3

Bit 3: Monitors the interrupt flag of TIMER3. See description of channel 0..

NVIC

0xe000e100: Nested Vectored Interrupt Controller

0/127 fields covered. Toggle Registers

Show register map

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 NVICISER0
0x4 NVICISER1
0x8 NVICISER2
0xc NVICISER3
0x80 NVICICER0
0x84 NVICICER1
0x88 NVICICER2
0x8c NVICICER3
0x100 NVICISPR0
0x104 NVICISPR1
0x108 NVICISPR2
0x10c NVICISPR3
0x180 NVICICPR0
0x184 NVICICPR1
0x188 NVICICPR2
0x18c NVICICPR3
0x200 NVICIABR0
0x204 NVICIABR1
0x208 NVICIABR2
0x20c NVICIABR3
0x300 NVICIP0
0x301 NVICIP1
0x302 NVICIP2
0x303 NVICIP3
0x304 NVICIP4
0x305 NVICIP5
0x306 NVICIP6
0x307 NVICIP7
0x308 NVICIP8
0x309 NVICIP9
0x30a NVICIP10
0x30b NVICIP11
0x30c NVICIP12
0x30d NVICIP13
0x30e NVICIP14
0x30f NVICIP15
0x310 NVICIP16
0x311 NVICIP17
0x312 NVICIP18
0x313 NVICIP19
0x314 NVICIP20
0x315 NVICIP21
0x316 NVICIP22
0x317 NVICIP23
0x318 NVICIP24
0x319 NVICIP25
0x31a NVICIP26
0x31b NVICIP27
0x31c NVICIP28
0x31d NVICIP29
0x31e NVICIP30
0x31f NVICIP31
0x320 NVICIP32
0x321 NVICIP33
0x322 NVICIP34
0x323 NVICIP35
0x324 NVICIP36
0x325 NVICIP37
0x326 NVICIP38
0x327 NVICIP39
0x328 NVICIP40
0x329 NVICIP41
0x32a NVICIP42
0x32b NVICIP43
0x32c NVICIP44
0x32d NVICIP45
0x32e NVICIP46
0x32f NVICIP47
0x330 NVICIP48
0x331 NVICIP49
0x332 NVICIP50
0x333 NVICIP51
0x334 NVICIP52
0x335 NVICIP53
0x336 NVICIP54
0x337 NVICIP55
0x338 NVICIP56
0x339 NVICIP57
0x33a NVICIP58
0x33b NVICIP59
0x33c NVICIP60
0x33d NVICIP61
0x33e NVICIP62
0x33f NVICIP63
0x340 NVICIP64
0x341 NVICIP65
0x342 NVICIP66
0x343 NVICIP67
0x344 NVICIP68
0x345 NVICIP69
0x346 NVICIP70
0x347 NVICIP71
0x348 NVICIP72
0x349 NVICIP73
0x34a NVICIP74
0x34b NVICIP75
0x34c NVICIP76
0x34d NVICIP77
0x34e NVICIP78
0x34f NVICIP79
0x350 NVICIP80
0x351 NVICIP81
0x352 NVICIP82
0x353 NVICIP83
0x354 NVICIP84
0x355 NVICIP85
0x356 NVICIP86
0x357 NVICIP87
0x358 NVICIP88
0x359 NVICIP89
0x35a NVICIP90
0x35b NVICIP91
0x35c NVICIP92
0x35d NVICIP93
0x35e NVICIP94
0x35f NVICIP95
0x360 NVICIP96
0x361 NVICIP97
0x362 NVICIP98
0x363 NVICIP99
0x364 NVICIP100
0x365 NVICIP101
0x366 NVICIP102
0x367 NVICIP103
0x368 NVICIP104
0x369 NVICIP105
0xe00 NVICSTIR

NVICISER0

Interrupt Set Enable Register n

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
SETENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETENA
rw
Toggle Fields

SETENA

Bits 0-31: Interrupt set enable bits.

NVICISER1

Interrupt Set Enable 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
SETENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETENA
rw
Toggle Fields

SETENA

Bits 0-31: Interrupt set enable bits.

NVICISER2

Interrupt Set Enable 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
SETENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETENA
rw
Toggle Fields

SETENA

Bits 0-31: Interrupt set enable bits.

NVICISER3

Interrupt Set Enable 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
SETENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETENA
rw
Toggle Fields

SETENA

Bits 0-31: Interrupt set enable bits.

NVICICER0

Interrupt Clear Enable Register n

Offset: 0x80, 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
CLRENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRENA
rw
Toggle Fields

CLRENA

Bits 0-31: Interrupt clear-enable bits.

NVICICER1

Interrupt Clear Enable Register n

Offset: 0x84, 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
CLRENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRENA
rw
Toggle Fields

CLRENA

Bits 0-31: Interrupt clear-enable bits.

NVICICER2

Interrupt Clear Enable Register n

Offset: 0x88, 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
CLRENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRENA
rw
Toggle Fields

CLRENA

Bits 0-31: Interrupt clear-enable bits.

NVICICER3

Interrupt Clear Enable Register n

Offset: 0x8c, 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
CLRENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRENA
rw
Toggle Fields

CLRENA

Bits 0-31: Interrupt clear-enable bits.

NVICISPR0

Interrupt Set Pending Register n

Offset: 0x100, 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
SETPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETPEND
rw
Toggle Fields

SETPEND

Bits 0-31: Interrupt set-pending bits.

NVICISPR1

Interrupt Set Pending Register n

Offset: 0x104, 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
SETPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETPEND
rw
Toggle Fields

SETPEND

Bits 0-31: Interrupt set-pending bits.

NVICISPR2

Interrupt Set Pending Register n

Offset: 0x108, 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
SETPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETPEND
rw
Toggle Fields

SETPEND

Bits 0-31: Interrupt set-pending bits.

NVICISPR3

Interrupt Set Pending Register n

Offset: 0x10c, 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
SETPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETPEND
rw
Toggle Fields

SETPEND

Bits 0-31: Interrupt set-pending bits.

NVICICPR0

Interrupt Clear Pending Register 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
CLRPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRPEND
rw
Toggle Fields

CLRPEND

Bits 0-31: Interrupt clear-pending bits.

NVICICPR1

Interrupt Clear Pending Register 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
CLRPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRPEND
rw
Toggle Fields

CLRPEND

Bits 0-31: Interrupt clear-pending bits.

NVICICPR2

Interrupt Clear Pending Register 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
CLRPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRPEND
rw
Toggle Fields

CLRPEND

Bits 0-31: Interrupt clear-pending bits.

NVICICPR3

Interrupt Clear Pending Register 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
CLRPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRPEND
rw
Toggle Fields

CLRPEND

Bits 0-31: Interrupt clear-pending bits.

NVICIABR0

Interrupt Active bit Register n

Offset: 0x200, 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
ACTIVE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACTIVE
rw
Toggle Fields

ACTIVE

Bits 0-31: Interrupt active flags.

NVICIABR1

Interrupt Active bit Register n

Offset: 0x204, 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
ACTIVE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACTIVE
rw
Toggle Fields

ACTIVE

Bits 0-31: Interrupt active flags.

NVICIABR2

Interrupt Active bit Register n

Offset: 0x208, 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
ACTIVE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACTIVE
rw
Toggle Fields

ACTIVE

Bits 0-31: Interrupt active flags.

NVICIABR3

Interrupt Active bit Register n

Offset: 0x20c, 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
ACTIVE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACTIVE
rw
Toggle Fields

ACTIVE

Bits 0-31: Interrupt active flags.

NVICIP0

Interrupt Priority Register n

Offset: 0x300, 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
PRI0
rw
Toggle Fields

PRI0

Bits 0-7: Priority of interrupt 0.

NVICIP1

Interrupt Priority Register n

Offset: 0x301, 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
PRI1
rw
Toggle Fields

PRI1

Bits 0-7: Priority of interrupt 1.

NVICIP2

Interrupt Priority Register n

Offset: 0x302, 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
PRI2
rw
Toggle Fields

PRI2

Bits 0-7: Priority of interrupt 2.

NVICIP3

Interrupt Priority Register n

Offset: 0x303, 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
PRI3
rw
Toggle Fields

PRI3

Bits 0-7: Priority of interrupt 3.

NVICIP4

Interrupt Priority Register n

Offset: 0x304, 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
PRI4
rw
Toggle Fields

PRI4

Bits 0-7: Priority of interrupt 4.

NVICIP5

Interrupt Priority Register n

Offset: 0x305, 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
PRI5
rw
Toggle Fields

PRI5

Bits 0-7: Priority of interrupt 5.

NVICIP6

Interrupt Priority Register n

Offset: 0x306, 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
PRI6
rw
Toggle Fields

PRI6

Bits 0-7: Priority of interrupt 6.

NVICIP7

Interrupt Priority Register n

Offset: 0x307, 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
PRI7
rw
Toggle Fields

PRI7

Bits 0-7: Priority of interrupt 7.

NVICIP8

Interrupt Priority Register n

Offset: 0x308, 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
PRI8
rw
Toggle Fields

PRI8

Bits 0-7: Priority of interrupt 8.

NVICIP9

Interrupt Priority Register n

Offset: 0x309, 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
PRI9
rw
Toggle Fields

PRI9

Bits 0-7: Priority of interrupt 9.

NVICIP10

Interrupt Priority Register n

Offset: 0x30a, 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
PRI10
rw
Toggle Fields

PRI10

Bits 0-7: Priority of interrupt 10.

NVICIP11

Interrupt Priority Register n

Offset: 0x30b, 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
PRI11
rw
Toggle Fields

PRI11

Bits 0-7: Priority of interrupt 11.

NVICIP12

Interrupt Priority Register n

Offset: 0x30c, 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
PRI12
rw
Toggle Fields

PRI12

Bits 0-7: Priority of interrupt 12.

NVICIP13

Interrupt Priority Register n

Offset: 0x30d, 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
PRI13
rw
Toggle Fields

PRI13

Bits 0-7: Priority of interrupt 13.

NVICIP14

Interrupt Priority Register n

Offset: 0x30e, 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
PRI14
rw
Toggle Fields

PRI14

Bits 0-7: Priority of interrupt 14.

NVICIP15

Interrupt Priority Register n

Offset: 0x30f, 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
PRI15
rw
Toggle Fields

PRI15

Bits 0-7: Priority of interrupt 15.

NVICIP16

Interrupt Priority Register n

Offset: 0x310, 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
PRI16
rw
Toggle Fields

PRI16

Bits 0-7: Priority of interrupt 16.

NVICIP17

Interrupt Priority Register n

Offset: 0x311, 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
PRI17
rw
Toggle Fields

PRI17

Bits 0-7: Priority of interrupt 17.

NVICIP18

Interrupt Priority Register n

Offset: 0x312, 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
PRI18
rw
Toggle Fields

PRI18

Bits 0-7: Priority of interrupt 18.

NVICIP19

Interrupt Priority Register n

Offset: 0x313, 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
PRI19
rw
Toggle Fields

PRI19

Bits 0-7: Priority of interrupt 19.

NVICIP20

Interrupt Priority Register n

Offset: 0x314, 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
PRI20
rw
Toggle Fields

PRI20

Bits 0-7: Priority of interrupt 20.

NVICIP21

Interrupt Priority Register n

Offset: 0x315, 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
PRI21
rw
Toggle Fields

PRI21

Bits 0-7: Priority of interrupt 21.

NVICIP22

Interrupt Priority Register n

Offset: 0x316, 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
PRI22
rw
Toggle Fields

PRI22

Bits 0-7: Priority of interrupt 22.

NVICIP23

Interrupt Priority Register n

Offset: 0x317, 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
PRI23
rw
Toggle Fields

PRI23

Bits 0-7: Priority of interrupt 23.

NVICIP24

Interrupt Priority Register n

Offset: 0x318, 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
PRI24
rw
Toggle Fields

PRI24

Bits 0-7: Priority of interrupt 24.

NVICIP25

Interrupt Priority Register n

Offset: 0x319, 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
PRI25
rw
Toggle Fields

PRI25

Bits 0-7: Priority of interrupt 25.

NVICIP26

Interrupt Priority Register n

Offset: 0x31a, 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
PRI26
rw
Toggle Fields

PRI26

Bits 0-7: Priority of interrupt 26.

NVICIP27

Interrupt Priority Register n

Offset: 0x31b, 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
PRI27
rw
Toggle Fields

PRI27

Bits 0-7: Priority of interrupt 27.

NVICIP28

Interrupt Priority Register n

Offset: 0x31c, 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
PRI28
rw
Toggle Fields

PRI28

Bits 0-7: Priority of interrupt 28.

NVICIP29

Interrupt Priority Register n

Offset: 0x31d, 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
PRI29
rw
Toggle Fields

PRI29

Bits 0-7: Priority of interrupt 29.

NVICIP30

Interrupt Priority Register n

Offset: 0x31e, 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
PRI30
rw
Toggle Fields

PRI30

Bits 0-7: Priority of interrupt 30.

NVICIP31

Interrupt Priority Register n

Offset: 0x31f, 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
PRI31
rw
Toggle Fields

PRI31

Bits 0-7: Priority of interrupt 31.

NVICIP32

Interrupt Priority Register n

Offset: 0x320, 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
PRI32
rw
Toggle Fields

PRI32

Bits 0-7: Priority of interrupt 32.

NVICIP33

Interrupt Priority Register n

Offset: 0x321, 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
PRI33
rw
Toggle Fields

PRI33

Bits 0-7: Priority of interrupt 33.

NVICIP34

Interrupt Priority Register n

Offset: 0x322, 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
PRI34
rw
Toggle Fields

PRI34

Bits 0-7: Priority of interrupt 34.

NVICIP35

Interrupt Priority Register n

Offset: 0x323, 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
PRI35
rw
Toggle Fields

PRI35

Bits 0-7: Priority of interrupt 35.

NVICIP36

Interrupt Priority Register n

Offset: 0x324, 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
PRI36
rw
Toggle Fields

PRI36

Bits 0-7: Priority of interrupt 36.

NVICIP37

Interrupt Priority Register n

Offset: 0x325, 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
PRI37
rw
Toggle Fields

PRI37

Bits 0-7: Priority of interrupt 37.

NVICIP38

Interrupt Priority Register n

Offset: 0x326, 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
PRI38
rw
Toggle Fields

PRI38

Bits 0-7: Priority of interrupt 38.

NVICIP39

Interrupt Priority Register n

Offset: 0x327, 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
PRI39
rw
Toggle Fields

PRI39

Bits 0-7: Priority of interrupt 39.

NVICIP40

Interrupt Priority Register n

Offset: 0x328, 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
PRI40
rw
Toggle Fields

PRI40

Bits 0-7: Priority of interrupt 40.

NVICIP41

Interrupt Priority Register n

Offset: 0x329, 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
PRI41
rw
Toggle Fields

PRI41

Bits 0-7: Priority of interrupt 41.

NVICIP42

Interrupt Priority Register n

Offset: 0x32a, 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
PRI42
rw
Toggle Fields

PRI42

Bits 0-7: Priority of interrupt 42.

NVICIP43

Interrupt Priority Register n

Offset: 0x32b, 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
PRI43
rw
Toggle Fields

PRI43

Bits 0-7: Priority of interrupt 43.

NVICIP44

Interrupt Priority Register n

Offset: 0x32c, 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
PRI44
rw
Toggle Fields

PRI44

Bits 0-7: Priority of interrupt 44.

NVICIP45

Interrupt Priority Register n

Offset: 0x32d, 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
PRI45
rw
Toggle Fields

PRI45

Bits 0-7: Priority of interrupt 45.

NVICIP46

Interrupt Priority Register n

Offset: 0x32e, 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
PRI46
rw
Toggle Fields

PRI46

Bits 0-7: Priority of interrupt 46.

NVICIP47

Interrupt Priority Register n

Offset: 0x32f, 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
PRI47
rw
Toggle Fields

PRI47

Bits 0-7: Priority of interrupt 47.

NVICIP48

Interrupt Priority Register n

Offset: 0x330, 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
PRI48
rw
Toggle Fields

PRI48

Bits 0-7: Priority of interrupt 48.

NVICIP49

Interrupt Priority Register n

Offset: 0x331, 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
PRI49
rw
Toggle Fields

PRI49

Bits 0-7: Priority of interrupt 49.

NVICIP50

Interrupt Priority Register n

Offset: 0x332, 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
PRI50
rw
Toggle Fields

PRI50

Bits 0-7: Priority of interrupt 50.

NVICIP51

Interrupt Priority Register n

Offset: 0x333, 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
PRI51
rw
Toggle Fields

PRI51

Bits 0-7: Priority of interrupt 51.

NVICIP52

Interrupt Priority Register n

Offset: 0x334, 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
PRI52
rw
Toggle Fields

PRI52

Bits 0-7: Priority of interrupt 52.

NVICIP53

Interrupt Priority Register n

Offset: 0x335, 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
PRI53
rw
Toggle Fields

PRI53

Bits 0-7: Priority of interrupt 53.

NVICIP54

Interrupt Priority Register n

Offset: 0x336, 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
PRI54
rw
Toggle Fields

PRI54

Bits 0-7: Priority of interrupt 54.

NVICIP55

Interrupt Priority Register n

Offset: 0x337, 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
PRI55
rw
Toggle Fields

PRI55

Bits 0-7: Priority of interrupt 55.

NVICIP56

Interrupt Priority Register n

Offset: 0x338, 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
PRI56
rw
Toggle Fields

PRI56

Bits 0-7: Priority of interrupt 56.

NVICIP57

Interrupt Priority Register n

Offset: 0x339, 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
PRI57
rw
Toggle Fields

PRI57

Bits 0-7: Priority of interrupt 57.

NVICIP58

Interrupt Priority Register n

Offset: 0x33a, 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
PRI58
rw
Toggle Fields

PRI58

Bits 0-7: Priority of interrupt 58.

NVICIP59

Interrupt Priority Register n

Offset: 0x33b, 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
PRI59
rw
Toggle Fields

PRI59

Bits 0-7: Priority of interrupt 59.

NVICIP60

Interrupt Priority Register n

Offset: 0x33c, 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
PRI60
rw
Toggle Fields

PRI60

Bits 0-7: Priority of interrupt 60.

NVICIP61

Interrupt Priority Register n

Offset: 0x33d, 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
PRI61
rw
Toggle Fields

PRI61

Bits 0-7: Priority of interrupt 61.

NVICIP62

Interrupt Priority Register n

Offset: 0x33e, 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
PRI62
rw
Toggle Fields

PRI62

Bits 0-7: Priority of interrupt 62.

NVICIP63

Interrupt Priority Register n

Offset: 0x33f, 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
PRI63
rw
Toggle Fields

PRI63

Bits 0-7: Priority of interrupt 63.

NVICIP64

Interrupt Priority Register n

Offset: 0x340, 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
PRI64
rw
Toggle Fields

PRI64

Bits 0-7: Priority of interrupt 64.

NVICIP65

Interrupt Priority Register n

Offset: 0x341, 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
PRI65
rw
Toggle Fields

PRI65

Bits 0-7: Priority of interrupt 65.

NVICIP66

Interrupt Priority Register n

Offset: 0x342, 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
PRI66
rw
Toggle Fields

PRI66

Bits 0-7: Priority of interrupt 66.

NVICIP67

Interrupt Priority Register n

Offset: 0x343, 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
PRI67
rw
Toggle Fields

PRI67

Bits 0-7: Priority of interrupt 67.

NVICIP68

Interrupt Priority Register n

Offset: 0x344, 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
PRI68
rw
Toggle Fields

PRI68

Bits 0-7: Priority of interrupt 68.

NVICIP69

Interrupt Priority Register n

Offset: 0x345, 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
PRI69
rw
Toggle Fields

PRI69

Bits 0-7: Priority of interrupt 69.

NVICIP70

Interrupt Priority Register n

Offset: 0x346, 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
PRI70
rw
Toggle Fields

PRI70

Bits 0-7: Priority of interrupt 70.

NVICIP71

Interrupt Priority Register n

Offset: 0x347, 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
PRI71
rw
Toggle Fields

PRI71

Bits 0-7: Priority of interrupt 71.

NVICIP72

Interrupt Priority Register n

Offset: 0x348, 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
PRI72
rw
Toggle Fields

PRI72

Bits 0-7: Priority of interrupt 72.

NVICIP73

Interrupt Priority Register n

Offset: 0x349, 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
PRI73
rw
Toggle Fields

PRI73

Bits 0-7: Priority of interrupt 73.

NVICIP74

Interrupt Priority Register n

Offset: 0x34a, 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
PRI74
rw
Toggle Fields

PRI74

Bits 0-7: Priority of interrupt 74.

NVICIP75

Interrupt Priority Register n

Offset: 0x34b, 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
PRI75
rw
Toggle Fields

PRI75

Bits 0-7: Priority of interrupt 75.

NVICIP76

Interrupt Priority Register n

Offset: 0x34c, 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
PRI76
rw
Toggle Fields

PRI76

Bits 0-7: Priority of interrupt 76.

NVICIP77

Interrupt Priority Register n

Offset: 0x34d, 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
PRI77
rw
Toggle Fields

PRI77

Bits 0-7: Priority of interrupt 77.

NVICIP78

Interrupt Priority Register n

Offset: 0x34e, 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
PRI78
rw
Toggle Fields

PRI78

Bits 0-7: Priority of interrupt 78.

NVICIP79

Interrupt Priority Register n

Offset: 0x34f, 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
PRI79
rw
Toggle Fields

PRI79

Bits 0-7: Priority of interrupt 79.

NVICIP80

Interrupt Priority Register n

Offset: 0x350, 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
PRI80
rw
Toggle Fields

PRI80

Bits 0-7: Priority of interrupt 80.

NVICIP81

Interrupt Priority Register n

Offset: 0x351, 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
PRI81
rw
Toggle Fields

PRI81

Bits 0-7: Priority of interrupt 81.

NVICIP82

Interrupt Priority Register n

Offset: 0x352, 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
PRI82
rw
Toggle Fields

PRI82

Bits 0-7: Priority of interrupt 82.

NVICIP83

Interrupt Priority Register n

Offset: 0x353, 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
PRI83
rw
Toggle Fields

PRI83

Bits 0-7: Priority of interrupt 83.

NVICIP84

Interrupt Priority Register n

Offset: 0x354, 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
PRI84
rw
Toggle Fields

PRI84

Bits 0-7: Priority of interrupt 84.

NVICIP85

Interrupt Priority Register n

Offset: 0x355, 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
PRI85
rw
Toggle Fields

PRI85

Bits 0-7: Priority of interrupt 85.

NVICIP86

Interrupt Priority Register n

Offset: 0x356, 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
PRI86
rw
Toggle Fields

PRI86

Bits 0-7: Priority of interrupt 86.

NVICIP87

Interrupt Priority Register n

Offset: 0x357, 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
PRI87
rw
Toggle Fields

PRI87

Bits 0-7: Priority of interrupt 87.

NVICIP88

Interrupt Priority Register n

Offset: 0x358, 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
PRI88
rw
Toggle Fields

PRI88

Bits 0-7: Priority of interrupt 88.

NVICIP89

Interrupt Priority Register n

Offset: 0x359, 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
PRI89
rw
Toggle Fields

PRI89

Bits 0-7: Priority of interrupt 89.

NVICIP90

Interrupt Priority Register n

Offset: 0x35a, 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
PRI90
rw
Toggle Fields

PRI90

Bits 0-7: Priority of interrupt 90.

NVICIP91

Interrupt Priority Register n

Offset: 0x35b, 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
PRI91
rw
Toggle Fields

PRI91

Bits 0-7: Priority of interrupt 91.

NVICIP92

Interrupt Priority Register n

Offset: 0x35c, 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
PRI92
rw
Toggle Fields

PRI92

Bits 0-7: Priority of interrupt 92.

NVICIP93

Interrupt Priority Register n

Offset: 0x35d, 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
PRI93
rw
Toggle Fields

PRI93

Bits 0-7: Priority of interrupt 93.

NVICIP94

Interrupt Priority Register n

Offset: 0x35e, 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
PRI94
rw
Toggle Fields

PRI94

Bits 0-7: Priority of interrupt 94.

NVICIP95

Interrupt Priority Register n

Offset: 0x35f, 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
PRI95
rw
Toggle Fields

PRI95

Bits 0-7: Priority of interrupt 95.

NVICIP96

Interrupt Priority Register n

Offset: 0x360, 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
PRI96
rw
Toggle Fields

PRI96

Bits 0-7: Priority of interrupt 96.

NVICIP97

Interrupt Priority Register n

Offset: 0x361, 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
PRI97
rw
Toggle Fields

PRI97

Bits 0-7: Priority of interrupt 97.

NVICIP98

Interrupt Priority Register n

Offset: 0x362, 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
PRI98
rw
Toggle Fields

PRI98

Bits 0-7: Priority of interrupt 98.

NVICIP99

Interrupt Priority Register n

Offset: 0x363, 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
PRI99
rw
Toggle Fields

PRI99

Bits 0-7: Priority of interrupt 99.

NVICIP100

Interrupt Priority Register n

Offset: 0x364, 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
PRI100
rw
Toggle Fields

PRI100

Bits 0-7: Priority of interrupt 100.

NVICIP101

Interrupt Priority Register n

Offset: 0x365, 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
PRI101
rw
Toggle Fields

PRI101

Bits 0-7: Priority of interrupt 101.

NVICIP102

Interrupt Priority Register n

Offset: 0x366, 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
PRI102
rw
Toggle Fields

PRI102

Bits 0-7: Priority of interrupt 102.

NVICIP103

Interrupt Priority Register n

Offset: 0x367, 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
PRI103
rw
Toggle Fields

PRI103

Bits 0-7: Priority of interrupt 103.

NVICIP104

Interrupt Priority Register n

Offset: 0x368, 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
PRI104
rw
Toggle Fields

PRI104

Bits 0-7: Priority of interrupt 104.

NVICIP105

Interrupt Priority Register n

Offset: 0x369, 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
PRI105
rw
Toggle Fields

PRI105

Bits 0-7: Priority of interrupt 105.

NVICSTIR

Software Trigger Interrupt Register

Offset: 0xe00, 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
INTID
rw
Toggle Fields

INTID

Bits 0-8: Interrupt ID of the interrupt to trigger, in the range 0-239. For example, a value of 0x03 specifies interrupt IRQ3..

OTPC

0x40015000: This is the description of component otpc It is an eFUSE OTP (One Time Programmable memory) controller with APB bus interface. More details will follow.

16/16 fields covered. Toggle Registers

Show register map

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 AESKEY[[0]]
0x14 AESKEY[[1]]
0x18 AESKEY[[2]]
0x1c AESKEY[[3]]
0x20 AESKEY[[4]]
0x24 AESKEY[[5]]
0x28 AESKEY[[6]]
0x2c AESKEY[[7]]
0x30 ECRP
0x38 USER0
0x3c USER1

AESKEY[[0]]

Register for reading the AES key.

Offset: 0x10, 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
KEY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
KEY
r
Toggle Fields

KEY

Bits 0-31: AES key..

AESKEY[[1]]

Register for reading the AES key.

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
KEY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
KEY
r
Toggle Fields

KEY

Bits 0-31: AES key..

AESKEY[[2]]

Register for reading the AES key.

Offset: 0x18, 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
KEY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
KEY
r
Toggle Fields

KEY

Bits 0-31: AES key..

AESKEY[[3]]

Register for reading the AES key.

Offset: 0x1c, 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
KEY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
KEY
r
Toggle Fields

KEY

Bits 0-31: AES key..

AESKEY[[4]]

Register for reading the AES key.

Offset: 0x20, 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
KEY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
KEY
r
Toggle Fields

KEY

Bits 0-31: AES key..

AESKEY[[5]]

Register for reading the AES key.

Offset: 0x24, 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
KEY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
KEY
r
Toggle Fields

KEY

Bits 0-31: AES key..

AESKEY[[6]]

Register for reading the AES key.

Offset: 0x28, 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
KEY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
KEY
r
Toggle Fields

KEY

Bits 0-31: AES key..

AESKEY[[7]]

Register for reading the AES key.

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
KEY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
KEY
r
Toggle Fields

KEY

Bits 0-31: AES key..

ECRP

ECRP options.

Offset: 0x30, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
JTAG_DISABLE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRP_ALLOW_ZERO
r
CRP_ISP_DISABLE_IAP
r
CRP_ISP_DISABLE_PIN
r
IAP_PROTECTION_ENABLE
r
CRP_MASS_ERASE_DISABLE
r
Toggle Fields

CRP_MASS_ERASE_DISABLE

Bit 4: Disable or enable CRP mass erase..

IAP_PROTECTION_ENABLE

Bit 5: This bit controls the ability to enable checking for ECRP in IAP functions..

CRP_ISP_DISABLE_PIN

Bit 6: This bit controls the ability to enter ISP mode using the ISP pin..

CRP_ISP_DISABLE_IAP

Bit 7: This bit controls the ability to re-invoke ISP using IAP routines..

CRP_ALLOW_ZERO

Bit 9: This bit controls how 0 is treated when read as a ECRP value...

JTAG_DISABLE

Bit 31: 0 => Enable SWD/JTAG; 1 => Disable SWD/JTAG...

USER0

User application specific options.

Offset: 0x38, 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
USER0
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USER0
r
Toggle Fields

USER0

Bits 0-31: User application specific option..

USER1

User application specific options.

Offset: 0x3c, 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
USER1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USER1
r
Toggle Fields

USER1

Bits 0-31: User application specific option..

PINT

0x40004000: LPC5411x Pin interrupt and pattern match (PINT)

25/36 fields covered. Toggle Registers

Show register map

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

ISEL

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
Toggle Fields

PMODE

Bits 0-7: Selects the interrupt mode for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Edge sensitive 1 = Level sensitive.

IENR

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
Toggle Fields

ENRL

Bits 0-7: Enables the rising edge or level interrupt for each pin interrupt. Bit n configures the pin interrupt selected in PINTSELn. 0 = Disable rising edge or level interrupt. 1 = Enable rising edge or level interrupt..

SIENR

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
Toggle Fields

SETENRL

Bits 0-7: Ones written to this address set bits in the IENR, thus enabling interrupts. Bit n sets bit n in the IENR register. 0 = No operation. 1 = Enable rising edge or level interrupt..

CIENR

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
Toggle Fields

CENRL

Bits 0-7: Ones written to this address clear bits in the IENR, thus disabling the interrupts. Bit n clears bit n in the IENR register. 0 = No operation. 1 = Disable rising edge or level interrupt..

IENF

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
Toggle Fields

ENAF

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..

SIENF

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
Toggle Fields

SETENAF

Bits 0-7: Ones written to this address set bits in the IENF, thus enabling interrupts. Bit n sets bit n in the IENF register. 0 = No operation. 1 = Select HIGH-active interrupt or enable falling edge interrupt..

CIENF

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
Toggle Fields

CENAF

Bits 0-7: Ones written to this address clears bits in the IENF, thus disabling interrupts. Bit n clears bit n in the IENF register. 0 = No operation. 1 = LOW-active interrupt selected or falling edge interrupt disabled..

RISE

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
Toggle Fields

RDET

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..

FALL

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
Toggle Fields

FDET

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..

IST

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
Toggle Fields

PSTAT

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)..

PMCTRL

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
Toggle Fields

SEL_PMATCH

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.

ENA_RXEV

Bit 1: Enables the RXEV output to the CPU and/or to a GPIO output when the specified boolean expression evaluates to true..

Allowed values:
0: DISABLED: Disabled. RXEV output to the CPU is disabled.
0x1: ENABLED: Enabled. RXEV output to the CPU is enabled.

PMAT

Bits 24-31: This field displays the current state of pattern matches. A 1 in any bit of this field indicates that the corresponding product term is matched by the current state of the appropriate inputs..

PMSRC

Pattern match interrupt bit-slice source register

Offset: 0x2c, reset: 0, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SRC7
rw
SRC6
rw
SRC5
rw
SRC4
rw
SRC3
rw
SRC2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRC2
rw
SRC1
rw
SRC0
rw
Toggle Fields

SRC0

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.

SRC1

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.

SRC2

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.

SRC3

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.

SRC4

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.

SRC5

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.

SRC6

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.

SRC7

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.

PMCFG

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
Toggle Fields

PROD_ENDPTS0

Bit 0: Determines whether slice 0 is an endpoint..

Allowed values:
0: NO_EFFECT: No effect. Slice 0 is not an endpoint.
0x1: ENDPOINT: endpoint. Slice 0 is the endpoint of a product term (minterm). Pin interrupt 0 in the NVIC is raised if the minterm evaluates as true.

PROD_ENDPTS1

Bit 1: Determines whether slice 1 is an endpoint..

Allowed values:
0: NO_EFFECT: No effect. Slice 1 is not an endpoint.
0x1: ENDPOINT: endpoint. Slice 1 is the endpoint of a product term (minterm). Pin interrupt 1 in the NVIC is raised if the minterm evaluates as true.

PROD_ENDPTS2

Bit 2: Determines whether slice 2 is an endpoint..

Allowed values:
0: NO_EFFECT: No effect. Slice 2 is not an endpoint.
0x1: ENDPOINT: endpoint. Slice 2 is the endpoint of a product term (minterm). Pin interrupt 2 in the NVIC is raised if the minterm evaluates as true.

PROD_ENDPTS3

Bit 3: Determines whether slice 3 is an endpoint..

Allowed values:
0: NO_EFFECT: No effect. Slice 3 is not an endpoint.
0x1: ENDPOINT: endpoint. Slice 3 is the endpoint of a product term (minterm). Pin interrupt 3 in the NVIC is raised if the minterm evaluates as true.

PROD_ENDPTS4

Bit 4: Determines whether slice 4 is an endpoint..

Allowed values:
0: NO_EFFECT: No effect. Slice 4 is not an endpoint.
0x1: ENDPOINT: endpoint. Slice 4 is the endpoint of a product term (minterm). Pin interrupt 4 in the NVIC is raised if the minterm evaluates as true.

PROD_ENDPTS5

Bit 5: Determines whether slice 5 is an endpoint..

Allowed values:
0: NO_EFFECT: No effect. Slice 5 is not an endpoint.
0x1: ENDPOINT: endpoint. Slice 5 is the endpoint of a product term (minterm). Pin interrupt 5 in the NVIC is raised if the minterm evaluates as true.

PROD_ENDPTS6

Bit 6: Determines whether slice 6 is an endpoint..

Allowed values:
0: NO_EFFECT: No effect. Slice 6 is not an endpoint.
0x1: ENDPOINT: endpoint. Slice 6 is the endpoint of a product term (minterm). Pin interrupt 6 in the NVIC is raised if the minterm evaluates as true.

CFG0

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.

CFG1

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.

CFG2

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.

CFG3

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.

CFG4

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.

CFG5

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.

CFG6

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.

CFG7

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.

RIT

0x4002d000: LPC5460x Repetitive Interrupt Timer(RIT)

0/10 fields covered. Toggle Registers

Show register map

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 COMPVAL
0x4 MASK
0x8 CTRL
0xc COUNTER
0x10 COMPVAL_H
0x14 MASK_H
0x1c COUNTER_H

COMPVAL

Compare value LSB register

Offset: 0x0, reset: 0xFFFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RICOMP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RICOMP
rw
Toggle Fields

RICOMP

Bits 0-31: ..

MASK

Mask LSB 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
RIMASK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RIMASK
rw
Toggle Fields

RIMASK

Bits 0-31: Mask register..

CTRL

Control register

Offset: 0x8, reset: 0xC, 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
RITEN
rw
RITENBR
rw
RITENCLR
rw
RITINT
rw
Toggle Fields

RITINT

Bit 0: Interrupt flag..

RITENCLR

Bit 1: Timer enable clear..

RITENBR

Bit 2: Timer enable for debug..

RITEN

Bit 3: Timer enable..

COUNTER

Counter LSB 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
RICOUNTER
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RICOUNTER
rw
Toggle Fields

RICOUNTER

Bits 0-31: 32 LSBs of the up counter..

COMPVAL_H

Compare value MSB register

Offset: 0x10, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RICOMP
rw
Toggle Fields

RICOMP

Bits 0-15: Compare value MSB register..

MASK_H

Mask MSB register

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
RIMASK
rw
Toggle Fields

RIMASK

Bits 0-15: Mask register..

COUNTER_H

Counter MSB 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
RICOUNTER
rw
Toggle Fields

RICOUNTER

Bits 0-15: 16 LSBs of the up counter..

RTC

0x4002c000: LPC5411x Real-Time Clock (RTC)

8/19 fields covered. Toggle Registers

Show register map

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 MATCH
0x8 COUNT
0xc WAKE
0x40 GPREG[[0]]
0x44 GPREG[[1]]
0x48 GPREG[[2]]
0x4c GPREG[[3]]
0x50 GPREG[[4]]
0x54 GPREG[[5]]
0x58 GPREG[[6]]
0x5c GPREG[[7]]

CTRL

RTC control register

Offset: 0x0, reset: 0x1, access: read-write

8/8 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
RTC_OSC_PD
rw
RTC_EN
rw
RTC1KHZ_EN
rw
WAKEDPD_EN
rw
ALARMDPD_EN
rw
WAKE1KHZ
rw
ALARM1HZ
rw
SWRESET
rw
Toggle Fields

SWRESET

Bit 0: Software reset control.

Allowed values:
0: NOT_IN_RESET: Not in reset. The RTC is not held in reset. This bit must be cleared prior to configuring or initiating any operation of the RTC.
0x1: IN_RESET: In reset. The RTC is held in reset. All register bits within the RTC will be forced to their reset value except the OFD bit. This bit must be cleared before writing to any register in the RTC - including writes to set any of the other bits within this register. Do not attempt to write to any bits of this register at the same time that the reset bit is being cleared.

ALARM1HZ

Bit 2: RTC 1 Hz timer alarm flag status..

Allowed values:
0: NO_MATCH: No match. No match has occurred on the 1 Hz RTC timer. Writing a 0 has no effect.
0x1: MATCH: Match. A match condition has occurred on the 1 Hz RTC timer. This flag generates an RTC alarm interrupt request RTC_ALARM which can also wake up the part from any low power mode. Writing a 1 clears this bit.

WAKE1KHZ

Bit 3: RTC 1 kHz timer wake-up flag status..

Allowed values:
0: RUN: Run. The RTC 1 kHz timer is running. Writing a 0 has no effect.
0x1: TIMEOUT: Time-out. The 1 kHz high-resolution/wake-up timer has timed out. This flag generates an RTC wake-up interrupt request RTC-WAKE which can also wake up the part from any low power mode. Writing a 1 clears this bit.

ALARMDPD_EN

Bit 4: RTC 1 Hz timer alarm enable for Deep power-down..

Allowed values:
0: DISABLE: Disable. A match on the 1 Hz RTC timer will not bring the part out of Deep power-down mode.
0x1: ENABLE: Enable. A match on the 1 Hz RTC timer bring the part out of Deep power-down mode.

WAKEDPD_EN

Bit 5: RTC 1 kHz timer wake-up enable for Deep power-down..

Allowed values:
0: DISABLE: Disable. A match on the 1 kHz RTC timer will not bring the part out of Deep power-down mode.
0x1: ENABLE: Enable. A match on the 1 kHz RTC timer bring the part out of Deep power-down mode.

RTC1KHZ_EN

Bit 6: RTC 1 kHz clock enable. This bit can be set to 0 to conserve power if the 1 kHz timer is not used. This bit has no effect when the RTC is disabled (bit 7 of this register is 0)..

Allowed values:
0: DISABLE: Disable. A match on the 1 kHz RTC timer will not bring the part out of Deep power-down mode.
0x1: ENABLE: Enable. The 1 kHz RTC timer is enabled.

RTC_EN

Bit 7: RTC enable..

Allowed values:
0: DISABLE: Disable. The RTC 1 Hz and 1 kHz clocks are shut down and the RTC operation is disabled. This bit should be 0 when writing to load a value in the RTC counter register.
0x1: ENABLE: Enable. The 1 Hz RTC clock is running and RTC operation is enabled. This bit must be set to initiate operation of the RTC. The first clock to the RTC counter occurs 1 s after this bit is set. To also enable the high-resolution, 1 kHz clock, set bit 6 in this register.

RTC_OSC_PD

Bit 8: RTC oscillator power-down control..

Allowed values:
0: POWER_UP: See RTC_OSC_BYPASS
0x1: POWERED_DOWN: RTC oscillator is powered-down.

MATCH

RTC match register

Offset: 0x4, reset: 0xFFFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MATVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATVAL
rw
Toggle Fields

MATVAL

Bits 0-31: Contains the match value against which the 1 Hz RTC timer will be compared to set the alarm flag RTC_ALARM and generate an alarm interrupt/wake-up if enabled..

COUNT

RTC counter register

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
VAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VAL
rw
Toggle Fields

VAL

Bits 0-31: A read reflects the current value of the main, 1 Hz RTC timer. A write loads a new initial value into the timer. The RTC counter will count up continuously at a 1 Hz rate once the RTC Software Reset is removed (by clearing bit 0 of the CTRL register). Only write to this register when the RTC_EN bit in the RTC CTRL Register is 0. The counter increments one second after the RTC_EN bit is set..

WAKE

High-resolution/wake-up timer control 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VAL
rw
Toggle Fields

VAL

Bits 0-15: A read reflects the current value of the high-resolution/wake-up timer. A write pre-loads a start count value into the wake-up timer and initializes a count-down sequence. Do not write to this register while counting is in progress..

GPREG[[0]]

General Purpose register

Offset: 0x40, 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
Toggle Fields

GPDATA

Bits 0-31: Data retained during Deep power-down mode or loss of main power as long as VBAT is supplied..

GPREG[[1]]

General Purpose 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
GPDATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPDATA
rw
Toggle Fields

GPDATA

Bits 0-31: Data retained during Deep power-down mode or loss of main power as long as VBAT is supplied..

GPREG[[2]]

General Purpose register

Offset: 0x48, 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
Toggle Fields

GPDATA

Bits 0-31: Data retained during Deep power-down mode or loss of main power as long as VBAT is supplied..

GPREG[[3]]

General Purpose register

Offset: 0x4c, 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
Toggle Fields

GPDATA

Bits 0-31: Data retained during Deep power-down mode or loss of main power as long as VBAT is supplied..

GPREG[[4]]

General Purpose 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
GPDATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPDATA
rw
Toggle Fields

GPDATA

Bits 0-31: Data retained during Deep power-down mode or loss of main power as long as VBAT is supplied..

GPREG[[5]]

General Purpose register

Offset: 0x54, 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
Toggle Fields

GPDATA

Bits 0-31: Data retained during Deep power-down mode or loss of main power as long as VBAT is supplied..

GPREG[[6]]

General Purpose register

Offset: 0x58, 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
Toggle Fields

GPDATA

Bits 0-31: Data retained during Deep power-down mode or loss of main power as long as VBAT is supplied..

GPREG[[7]]

General Purpose register

Offset: 0x5c, 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
Toggle Fields

GPDATA

Bits 0-31: Data retained during Deep power-down mode or loss of main power as long as VBAT is supplied..

SCT0

0x40085000: SCTimer/PWM (SCT)

129/321 fields covered. Toggle Registers

Show register map

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
0x5c DMAREQ0
0x60 DMAREQ1
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
0x114 CAP5
0x114 MATCH5
0x118 CAP6
0x118 MATCH6
0x11c CAP7
0x11c MATCH7
0x120 CAP8
0x120 MATCH8
0x124 CAP9
0x124 MATCH9
0x200 CAPCTRL0
0x200 MATCHREL0
0x204 CAPCTRL1
0x204 MATCHREL1
0x208 CAPCTRL2
0x208 MATCHREL2
0x20c CAPCTRL3
0x20c MATCHREL3
0x210 CAPCTRL4
0x210 MATCHREL4
0x214 CAPCTRL5
0x214 MATCHREL5
0x218 CAPCTRL6
0x218 MATCHREL6
0x21c CAPCTRL7
0x21c MATCHREL7
0x220 CAPCTRL8
0x220 MATCHREL8
0x224 CAPCTRL9
0x224 MATCHREL9
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]
0x330 EV_STATE [6]
0x334 EV_CTRL [6]
0x338 EV_STATE [7]
0x33c EV_CTRL [7]
0x340 EV_STATE [8]
0x344 EV_CTRL [8]
0x348 EV_STATE [9]
0x34c EV_CTRL [9]
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]
0x520 OUT_SET [4]
0x524 OUT_CLR [4]
0x528 OUT_SET [5]
0x52c OUT_CLR [5]
0x530 OUT_SET [6]
0x534 OUT_CLR [6]
0x538 OUT_SET [7]
0x53c OUT_CLR [7]
0x540 OUT_SET [8]
0x544 OUT_CLR [8]
0x548 OUT_SET [9]
0x54c OUT_CLR [9]

CONFIG

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
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
Toggle Fields

UNIFY

Bit 0: SCT operation.

Allowed values:
0: DUAL_COUNTER: The SCT operates as two 16-bit counters named COUNTER_L and COUNTER_H.
0x1: UNIFIED_COUNTER: The SCT operates as a unified 32-bit counter.

CLKMODE

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.

CKSEL

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.
0x8: INPUT_4_RISING_EDGES: Rising edges on input 4.
0x9: INPUT_4_FALLING_EDGE: Falling edges on input 4.
0xA: INPUT_5_RISING_EDGES: Rising edges on input 5.
0xB: INPUT_5_FALLING_EDGE: Falling edges on input 5.
0xC: INPUT_6_RISING_EDGES: Rising edges on input 6.
0xD: INPUT_6_FALLING_EDGE: Falling edges on input 6.
0xE: INPUT_7_RISING_EDGES: Rising edges on input 7.
0xF: INPUT_7_FALLING_EDGE: Falling edges on input 7.

NORELOAD_L

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..

NORELOAD_H

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..

INSYNC

Bits 9-12: 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..

AUTOLIMIT_L

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..

AUTOLIMIT_H

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..

CTRL

SCT control register

Offset: 0x4, reset: 0x40004, access: read-write

2/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRE_H
rw
BIDIR_H
rw
CLRCTR_H
rw
HALT_H
rw
STOP_H
rw
DOWN_H
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRE_L
rw
BIDIR_L
rw
CLRCTR_L
rw
HALT_L
rw
STOP_L
rw
DOWN_L
rw
Toggle Fields

DOWN_L

Bit 0: This bit is 1 when the L or unified counter is counting down. Hardware sets this bit when the counter is counting up, counter limit occurs, and BIDIR = 1.Hardware clears this bit when the counter is counting down and a limit condition occurs or when the counter reaches 0..

STOP_L

Bit 1: When this bit is 1 and HALT is 0, the L or unified counter does not run, but I/O events related to the counter can occur. If a designated start event occurs, this bit is cleared and counting resumes..

HALT_L

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..

CLRCTR_L

Bit 3: Writing a 1 to this bit clears the L or unified counter. This bit always reads as 0..

BIDIR_L

Bit 4: L or unified counter direction select.

Allowed values:
0: UP: Up. The counter counts up to a limit condition, then is cleared to zero.
0x1: UP_DOWN: Up-down. The counter counts up to a limit, then counts down to a limit condition or to 0.

PRE_L

Bits 5-12: Specifies the factor by which the SCT clock is prescaled to produce the L or unified counter clock. The counter clock is clocked at the rate of the SCT clock divided by PRE_L+1. Clear the counter (by writing a 1 to the CLRCTR bit) whenever changing the PRE value..

DOWN_H

Bit 16: This bit is 1 when the H counter is counting down. Hardware sets this bit when the counter is counting, a counter limit condition occurs, and BIDIR is 1. Hardware clears this bit when the counter is counting down and a limit condition occurs or when the counter reaches 0..

STOP_H

Bit 17: When this bit is 1 and HALT is 0, the H counter does not, run but I/O events related to the counter can occur. If such an event matches the mask in the Start register, this bit is cleared and counting resumes..

HALT_H

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..

CLRCTR_H

Bit 19: Writing a 1 to this bit clears the H counter. This bit always reads as 0..

BIDIR_H

Bit 20: Direction select.

Allowed values:
0: UP: The H counter counts up to its limit condition, then is cleared to zero.
0x1: UP_DOWN: The H counter counts up to its limit, then counts down to a limit condition or to 0.

PRE_H

Bits 21-28: Specifies the factor by which the SCT clock is prescaled to produce the H counter clock. The counter clock is clocked at the rate of the SCT clock divided by PRELH+1. Clear the counter (by writing a 1 to the CLRCTR bit) whenever changing the PRE value..

LIMIT

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
Toggle Fields

LIMMSK_L

Bits 0-15: If bit n is one, event n is used as a counter limit for the L or unified counter (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT..

LIMMSK_H

Bits 16-31: If bit n is one, event n is used as a counter limit for the H counter (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of events in this SCT..

HALT

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
Toggle Fields

HALTMSK_L

Bits 0-15: If bit n is one, event n sets the HALT_L bit in the CTRL register (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT..

HALTMSK_H

Bits 16-31: If bit n is one, event n sets the HALT_H bit in the CTRL register (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of events in this SCT..

STOP

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
Toggle Fields

STOPMSK_L

Bits 0-15: If bit n is one, event n sets the STOP_L bit in the CTRL register (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT..

STOPMSK_H

Bits 16-31: If bit n is one, event n sets the STOP_H bit in the CTRL register (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of events in this SCT..

START

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
Toggle Fields

STARTMSK_L

Bits 0-15: If bit n is one, event n clears the STOP_L bit in the CTRL register (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT..

STARTMSK_H

Bits 16-31: If bit n is one, event n clears the STOP_H bit in the CTRL register (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of events in this SCT..

COUNT

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
Toggle Fields

CTR_L

Bits 0-15: When UNIFY = 0, read or write the 16-bit L counter value. When UNIFY = 1, read or write the lower 16 bits of the 32-bit unified counter..

CTR_H

Bits 16-31: When UNIFY = 0, read or write the 16-bit H counter value. When UNIFY = 1, read or write the upper 16 bits of the 32-bit unified counter..

STATE

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
Toggle Fields

STATE_L

Bits 0-4: State variable..

STATE_H

Bits 16-20: State variable..

INPUT

SCT input register

Offset: 0x48, reset: 0, access: read-only

32/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SIN15
r
SIN14
r
SIN13
r
SIN12
r
SIN11
r
SIN10
r
SIN9
r
SIN8
r
SIN7
r
SIN6
r
SIN5
r
SIN4
r
SIN3
r
SIN2
r
SIN1
r
SIN0
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AIN15
r
AIN14
r
AIN13
r
AIN12
r
AIN11
r
AIN10
r
AIN9
r
AIN8
r
AIN7
r
AIN6
r
AIN5
r
AIN4
r
AIN3
r
AIN2
r
AIN1
r
AIN0
r
Toggle Fields

AIN0

Bit 0: Input 0 state. Input 0 state on the last SCT clock edge..

AIN1

Bit 1: Input 1 state. Input 1 state on the last SCT clock edge..

AIN2

Bit 2: Input 2 state. Input 2 state on the last SCT clock edge..

AIN3

Bit 3: Input 3 state. Input 3 state on the last SCT clock edge..

AIN4

Bit 4: Input 4 state. Input 4 state on the last SCT clock edge..

AIN5

Bit 5: Input 5 state. Input 5 state on the last SCT clock edge..

AIN6

Bit 6: Input 6 state. Input 6 state on the last SCT clock edge..

AIN7

Bit 7: Input 7 state. Input 7 state on the last SCT clock edge..

AIN8

Bit 8: Input 8 state. Input 8 state on the last SCT clock edge..

AIN9

Bit 9: Input 9 state. Input 9 state on the last SCT clock edge..

AIN10

Bit 10: Input 10 state. Input 10 state on the last SCT clock edge..

AIN11

Bit 11: Input 11 state. Input 11 state on the last SCT clock edge..

AIN12

Bit 12: Input 12 state. Input 12 state on the last SCT clock edge..

AIN13

Bit 13: Input 13 state. Input 13 state on the last SCT clock edge..

AIN14

Bit 14: Input 14 state. Input 14 state on the last SCT clock edge..

AIN15

Bit 15: Input 15 state. Input 15 state on the last SCT clock edge..

SIN0

Bit 16: Input 0 state. Input 0 state following the synchronization specified by INSYNC..

SIN1

Bit 17: Input 1 state. Input 1 state following the synchronization specified by INSYNC..

SIN2

Bit 18: Input 2 state. Input 2 state following the synchronization specified by INSYNC..

SIN3

Bit 19: Input 3 state. Input 3 state following the synchronization specified by INSYNC..

SIN4

Bit 20: Input 4 state. Input 4 state following the synchronization specified by INSYNC..

SIN5

Bit 21: Input 5 state. Input 5 state following the synchronization specified by INSYNC..

SIN6

Bit 22: Input 6 state. Input 6 state following the synchronization specified by INSYNC..

SIN7

Bit 23: Input 7 state. Input 7 state following the synchronization specified by INSYNC..

SIN8

Bit 24: Input 8 state. Input 8 state following the synchronization specified by INSYNC..

SIN9

Bit 25: Input 9 state. Input 9 state following the synchronization specified by INSYNC..

SIN10

Bit 26: Input 10 state. Input 10 state following the synchronization specified by INSYNC..

SIN11

Bit 27: Input 11 state. Input 11 state following the synchronization specified by INSYNC..

SIN12

Bit 28: Input 12 state. Input 12 state following the synchronization specified by INSYNC..

SIN13

Bit 29: Input 13 state. Input 13 state following the synchronization specified by INSYNC..

SIN14

Bit 30: Input 14 state. Input 14 state following the synchronization specified by INSYNC..

SIN15

Bit 31: Input 15 state. Input 15 state following the synchronization specified by INSYNC..

REGMODE

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
Toggle Fields

REGMOD_L

Bits 0-15: Each bit controls one match/capture register (register 0 = bit 0, register 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT. 0 = register operates as match register. 1 = register operates as capture register..

REGMOD_H

Bits 16-31: Each bit controls one match/capture register (register 0 = bit 16, register 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT. 0 = register operates as match registers. 1 = register operates as capture registers..

OUTPUT

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
Toggle Fields

OUT

Bits 0-15: Writing a 1 to bit n forces the corresponding output HIGH. Writing a 0 forces the corresponding output LOW (output 0 = bit 0, output 1 = bit 1, etc.). The number of bits = number of outputs in this SCT..

OUTPUTDIRCTRL

SCT output counter direction control register

Offset: 0x54, reset: 0, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SETCLR15
rw
SETCLR14
rw
SETCLR13
rw
SETCLR12
rw
SETCLR11
rw
SETCLR10
rw
SETCLR9
rw
SETCLR8
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETCLR7
rw
SETCLR6
rw
SETCLR5
rw
SETCLR4
rw
SETCLR3
rw
SETCLR2
rw
SETCLR1
rw
SETCLR0
rw
Toggle Fields

SETCLR0

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.

SETCLR1

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.

SETCLR2

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.

SETCLR3

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.

SETCLR4

Bits 8-9: Set/clear operation on output 4. 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.

SETCLR5

Bits 10-11: Set/clear operation on output 5. 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.

SETCLR6

Bits 12-13: Set/clear operation on output 6. 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.

SETCLR7

Bits 14-15: Set/clear operation on output 7. 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.

SETCLR8

Bits 16-17: Set/clear operation on output 8. 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.

SETCLR9

Bits 18-19: Set/clear operation on output 9. 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.

SETCLR10

Bits 20-21: Set/clear operation on output 10. 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.

SETCLR11

Bits 22-23: Set/clear operation on output 11. 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.

SETCLR12

Bits 24-25: Set/clear operation on output 12. 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.

SETCLR13

Bits 26-27: Set/clear operation on output 13. 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.

SETCLR14

Bits 28-29: Set/clear operation on output 14. 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.

SETCLR15

Bits 30-31: Set/clear operation on output 15. 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.

RES

SCT conflict resolution register

Offset: 0x58, reset: 0, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
O15RES
rw
O14RES
rw
O13RES
rw
O12RES
rw
O11RES
rw
O10RES
rw
O9RES
rw
O8RES
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
O7RES
rw
O6RES
rw
O5RES
rw
O4RES
rw
O3RES
rw
O2RES
rw
O1RES
rw
O0RES
rw
Toggle Fields

O0RES

Bits 0-1: Effect of simultaneous set and clear on output 0..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR0 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR0 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O1RES

Bits 2-3: Effect of simultaneous set and clear on output 1..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR1 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR1 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O2RES

Bits 4-5: Effect of simultaneous set and clear on output 2..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR2 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output n (or set based on the SETCLR2 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O3RES

Bits 6-7: Effect of simultaneous set and clear on output 3..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR3 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR3 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O4RES

Bits 8-9: Effect of simultaneous set and clear on output 4..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR4 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR4 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O5RES

Bits 10-11: Effect of simultaneous set and clear on output 5..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR5 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR5 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O6RES

Bits 12-13: Effect of simultaneous set and clear on output 6..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR6 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR6 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O7RES

Bits 14-15: Effect of simultaneous set and clear on output 7..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR7 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output n (or set based on the SETCLR7 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O8RES

Bits 16-17: Effect of simultaneous set and clear on output 8..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR8 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR8 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O9RES

Bits 18-19: Effect of simultaneous set and clear on output 9..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR9 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR9 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O10RES

Bits 20-21: Effect of simultaneous set and clear on output 10..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR10 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR10 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O11RES

Bits 22-23: Effect of simultaneous set and clear on output 11..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR11 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR11 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O12RES

Bits 24-25: Effect of simultaneous set and clear on output 12..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR12 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR12 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O13RES

Bits 26-27: Effect of simultaneous set and clear on output 13..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR13 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR13 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O14RES

Bits 28-29: Effect of simultaneous set and clear on output 14..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR14 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR14 field).
0x3: TOGGLE_OUTPUT: Toggle output.

O15RES

Bits 30-31: Effect of simultaneous set and clear on output 15..

Allowed values:
0: NO_CHANGE: No change.
0x1: SET: Set output (or clear based on the SETCLR15 field in the OUTPUTDIRCTRL register).
0x2: CLEAR: Clear output (or set based on the SETCLR15 field).
0x3: TOGGLE_OUTPUT: Toggle output.

DMAREQ0

SCT DMA request 0 register

Offset: 0x5c, 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
DRQ0
rw
DRL0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEV_0
rw
Toggle Fields

DEV_0

Bits 0-15: If bit n is one, event n triggers DMA request 0 (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT..

DRL0

Bit 30: A 1 in this bit triggers DMA request 0 when it loads the MATCH_L/Unified registers from the RELOAD_L/Unified registers..

DRQ0

Bit 31: This read-only bit indicates the state of DMA Request 0. Note that if the related DMA channel is enabled and properly set up, it is unlikely that software will see this flag, it will be cleared rapidly by the DMA service. The flag remaining set could point to an issue with DMA setup..

DMAREQ1

SCT DMA request 1 register

Offset: 0x60, 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
DRQ1
rw
DRL1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEV_1
rw
Toggle Fields

DEV_1

Bits 0-15: If bit n is one, event n triggers DMA request 1 (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT..

DRL1

Bit 30: A 1 in this bit triggers DMA request 1 when it loads the Match L/Unified registers from the Reload L/Unified registers..

DRQ1

Bit 31: This read-only bit indicates the state of DMA Request 1. Note that if the related DMA channel is enabled and properly set up, it is unlikely that software will see this flag, it will be cleared rapidly by the DMA service. The flag remaining set could point to an issue with DMA setup..

EVEN

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
Toggle Fields

IEN

Bits 0-15: The SCT requests an interrupt when bit n of this register and the event flag register are both one (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT..

EVFLAG

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
Toggle Fields

FLAG

Bits 0-15: Bit n is one if event n has occurred since reset or a 1 was last written to this bit (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of events in this SCT..

CONEN

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
Toggle Fields

NCEN

Bits 0-15: The SCT requests an interrupt when bit n of this register and the SCT conflict flag register are both one (output 0 = bit 0, output 1 = bit 1, etc.). The number of bits = number of outputs in this SCT..

CONFLAG

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
Toggle Fields

NCFLAG

Bits 0-15: Bit n is one if a no-change conflict event occurred on output n since reset or a 1 was last written to this bit (output 0 = bit 0, output 1 = bit 1, etc.). The number of bits = number of outputs in this SCT..

BUSERRL

Bit 30: The most recent bus error from this SCT involved writing CTR L/Unified, STATE L/Unified, MATCH L/Unified, or the Output register when the L/U counter was not halted. A word write to certain L and H registers can be half successful and half unsuccessful..

BUSERRH

Bit 31: The most recent bus error from this SCT involved writing CTR H, STATE H, MATCH H, or the Output register when the H counter was not halted..

CAP0

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
Toggle Fields

CAPn_L

Bits 0-15: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured..

CAPn_H

Bits 16-31: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured..

MATCH0

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
Toggle Fields

MATCHn_L

Bits 0-15: When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter..

MATCHn_H

Bits 16-31: When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter..

CAP1

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
Toggle Fields

CAPn_L

Bits 0-15: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured..

CAPn_H

Bits 16-31: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured..

MATCH1

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
Toggle Fields

MATCHn_L

Bits 0-15: When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter..

MATCHn_H

Bits 16-31: When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter..

CAP2

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
Toggle Fields

CAPn_L

Bits 0-15: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured..

CAPn_H

Bits 16-31: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured..

MATCH2

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
Toggle Fields

MATCHn_L

Bits 0-15: When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter..

MATCHn_H

Bits 16-31: When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter..

CAP3

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
Toggle Fields

CAPn_L

Bits 0-15: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured..

CAPn_H

Bits 16-31: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured..

MATCH3

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
Toggle Fields

MATCHn_L

Bits 0-15: When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter..

MATCHn_H

Bits 16-31: When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter..

CAP4

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
Toggle Fields

CAPn_L

Bits 0-15: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured..

CAPn_H

Bits 16-31: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured..

MATCH4

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
Toggle Fields

MATCHn_L

Bits 0-15: When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter..

MATCHn_H

Bits 16-31: When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter..

CAP5

SCT capture register of capture channel

Offset: 0x114, 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
Toggle Fields

CAPn_L

Bits 0-15: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured..

CAPn_H

Bits 16-31: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured..

MATCH5

SCT match value register of match channels

Offset: 0x114, 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
Toggle Fields

MATCHn_L

Bits 0-15: When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter..

MATCHn_H

Bits 16-31: When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter..

CAP6

SCT capture register of capture channel

Offset: 0x118, 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
Toggle Fields

CAPn_L

Bits 0-15: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured..

CAPn_H

Bits 16-31: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured..

MATCH6

SCT match value register of match channels

Offset: 0x118, 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
Toggle Fields

MATCHn_L

Bits 0-15: When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter..

MATCHn_H

Bits 16-31: When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter..

CAP7

SCT capture register of capture channel

Offset: 0x11c, 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
Toggle Fields

CAPn_L

Bits 0-15: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured..

CAPn_H

Bits 16-31: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured..

MATCH7

SCT match value register of match channels

Offset: 0x11c, 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
Toggle Fields

MATCHn_L

Bits 0-15: When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter..

MATCHn_H

Bits 16-31: When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter..

CAP8

SCT capture register of capture channel

Offset: 0x120, 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
Toggle Fields

CAPn_L

Bits 0-15: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured..

CAPn_H

Bits 16-31: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured..

MATCH8

SCT match value register of match channels

Offset: 0x120, 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
Toggle Fields

MATCHn_L

Bits 0-15: When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter..

MATCHn_H

Bits 16-31: When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter..

CAP9

SCT capture register of capture channel

Offset: 0x124, 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
Toggle Fields

CAPn_L

Bits 0-15: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last captured..

CAPn_H

Bits 16-31: When UNIFY = 0, read the 16-bit counter value at which this register was last captured. When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last captured..

MATCH9

SCT match value register of match channels

Offset: 0x124, 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
Toggle Fields

MATCHn_L

Bits 0-15: When UNIFY = 0, read or write the 16-bit value to be compared to the L counter. When UNIFY = 1, read or write the lower 16 bits of the 32-bit value to be compared to the unified counter..

MATCHn_H

Bits 16-31: When UNIFY = 0, read or write the 16-bit value to be compared to the H counter. When UNIFY = 1, read or write the upper 16 bits of the 32-bit value to be compared to the unified counter..

CAPCTRL0

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
Toggle Fields

CAPCONn_L

Bits 0-15: If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT..

CAPCONn_H

Bits 16-31: If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT..

MATCHREL0

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
Toggle Fields

RELOADn_L

Bits 0-15: When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register..

RELOADn_H

Bits 16-31: When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register..

CAPCTRL1

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
Toggle Fields

CAPCONn_L

Bits 0-15: If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT..

CAPCONn_H

Bits 16-31: If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT..

MATCHREL1

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
Toggle Fields

RELOADn_L

Bits 0-15: When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register..

RELOADn_H

Bits 16-31: When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register..

CAPCTRL2

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
Toggle Fields

CAPCONn_L

Bits 0-15: If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT..

CAPCONn_H

Bits 16-31: If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT..

MATCHREL2

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
Toggle Fields

RELOADn_L

Bits 0-15: When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register..

RELOADn_H

Bits 16-31: When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register..

CAPCTRL3

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
Toggle Fields

CAPCONn_L

Bits 0-15: If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT..

CAPCONn_H

Bits 16-31: If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT..

MATCHREL3

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
Toggle Fields

RELOADn_L

Bits 0-15: When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register..

RELOADn_H

Bits 16-31: When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register..

CAPCTRL4

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
Toggle Fields

CAPCONn_L

Bits 0-15: If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT..

CAPCONn_H

Bits 16-31: If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT..

MATCHREL4

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
Toggle Fields

RELOADn_L

Bits 0-15: When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register..

RELOADn_H

Bits 16-31: When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register..

CAPCTRL5

SCT capture control register

Offset: 0x214, 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
Toggle Fields

CAPCONn_L

Bits 0-15: If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT..

CAPCONn_H

Bits 16-31: If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT..

MATCHREL5

SCT match reload value register

Offset: 0x214, 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
Toggle Fields

RELOADn_L

Bits 0-15: When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register..

RELOADn_H

Bits 16-31: When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register..

CAPCTRL6

SCT capture control register

Offset: 0x218, 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
Toggle Fields

CAPCONn_L

Bits 0-15: If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT..

CAPCONn_H

Bits 16-31: If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT..

MATCHREL6

SCT match reload value register

Offset: 0x218, 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
Toggle Fields

RELOADn_L

Bits 0-15: When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register..

RELOADn_H

Bits 16-31: When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register..

CAPCTRL7

SCT capture control register

Offset: 0x21c, 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
Toggle Fields

CAPCONn_L

Bits 0-15: If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT..

CAPCONn_H

Bits 16-31: If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT..

MATCHREL7

SCT match reload value register

Offset: 0x21c, 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
Toggle Fields

RELOADn_L

Bits 0-15: When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register..

RELOADn_H

Bits 16-31: When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register..

CAPCTRL8

SCT capture control register

Offset: 0x220, 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
Toggle Fields

CAPCONn_L

Bits 0-15: If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT..

CAPCONn_H

Bits 16-31: If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT..

MATCHREL8

SCT match reload value register

Offset: 0x220, 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
Toggle Fields

RELOADn_L

Bits 0-15: When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register..

RELOADn_H

Bits 16-31: When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register..

CAPCTRL9

SCT capture control register

Offset: 0x224, 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
Toggle Fields

CAPCONn_L

Bits 0-15: If bit m is one, event m causes the CAPn_L (UNIFY = 0) or the CAPn (UNIFY = 1) register to be loaded (event 0 = bit 0, event 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT..

CAPCONn_H

Bits 16-31: If bit m is one, event m causes the CAPn_H (UNIFY = 0) register to be loaded (event 0 = bit 16, event 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT..

MATCHREL9

SCT match reload value register

Offset: 0x224, 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
Toggle Fields

RELOADn_L

Bits 0-15: When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register. When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the MATCHn register..

RELOADn_H

Bits 16-31: When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register. When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the MATCHn register..

EV_STATE [0]

SCT event state register 0

Offset: 0x300, 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
STATEMSKn
rw
Toggle Fields

STATEMSKn

Bits 0-15: If bit m is one, event n happens in state m of the counter selected by the HEVENT bit (n = event number, m = state number; state 0 = bit 0, state 1= bit 1, etc.). The number of bits = number of states in this SCT..

EV_CTRL [0]

SCT event control register 0

Offset: 0x304, reset: 0, access: read-write

6/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIRECTION
rw
MATCHMEM
rw
STATEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STATEV
rw
STATELD
rw
COMBMODE
rw
IOCOND
rw
IOSEL
rw
OUTSEL
rw
HEVENT
rw
MATCHSEL
rw
Toggle Fields

MATCHSEL

Bits 0-3: Selects the Match register associated with this event (if any). A match can occur only when the counter selected by the HEVENT bit is running..

HEVENT

Bit 4: Select L/H counter. Do not set this bit if UNIFY = 1..

Allowed values:
0: L_COUNTER: Selects the L state and the L match register selected by MATCHSEL.
0x1: H_COUNTER: Selects the H state and the H match register selected by MATCHSEL.

OUTSEL

Bit 5: Input/output select.

Allowed values:
0: INPUT: Selects the inputs selected by IOSEL.
0x1: OUTPUT: Selects the outputs selected by IOSEL.

IOSEL

Bits 6-9: Selects the input or output signal number associated with this event (if any). Do not select an input in this register if CKMODE is 1x. In this case the clock input is an implicit ingredient of every event..

IOCOND

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

COMBMODE

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.

STATELD

Bit 14: This bit controls how the STATEV value modifies the state selected by HEVENT when this event is the highest-numbered event occurring for that state..

Allowed values:
0: ADD: STATEV value is added into STATE (the carry-out is ignored).
0x1: LOAD: STATEV value is loaded into STATE.

STATEV

Bits 15-19: This value is loaded into or added to the state selected by HEVENT, depending on STATELD, when this event is the highest-numbered event occurring for that state. If STATELD and STATEV are both zero, there is no change to the STATE value..

MATCHMEM

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..

DIRECTION

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.

EV_STATE [1]

SCT event state register 0

Offset: 0x308, 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
STATEMSKn
rw
Toggle Fields

STATEMSKn

Bits 0-15: If bit m is one, event n happens in state m of the counter selected by the HEVENT bit (n = event number, m = state number; state 0 = bit 0, state 1= bit 1, etc.). The number of bits = number of states in this SCT..

EV_CTRL [1]

SCT event control register 0

Offset: 0x30c, reset: 0, access: read-write

6/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIRECTION
rw
MATCHMEM
rw
STATEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STATEV
rw
STATELD
rw
COMBMODE
rw
IOCOND
rw
IOSEL
rw
OUTSEL
rw
HEVENT
rw
MATCHSEL
rw
Toggle Fields

MATCHSEL

Bits 0-3: Selects the Match register associated with this event (if any). A match can occur only when the counter selected by the HEVENT bit is running..

HEVENT

Bit 4: Select L/H counter. Do not set this bit if UNIFY = 1..

Allowed values:
0: L_COUNTER: Selects the L state and the L match register selected by MATCHSEL.
0x1: H_COUNTER: Selects the H state and the H match register selected by MATCHSEL.

OUTSEL

Bit 5: Input/output select.

Allowed values:
0: INPUT: Selects the inputs selected by IOSEL.
0x1: OUTPUT: Selects the outputs selected by IOSEL.

IOSEL

Bits 6-9: Selects the input or output signal number associated with this event (if any). Do not select an input in this register if CKMODE is 1x. In this case the clock input is an implicit ingredient of every event..

IOCOND

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

COMBMODE

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.

STATELD

Bit 14: This bit controls how the STATEV value modifies the state selected by HEVENT when this event is the highest-numbered event occurring for that state..

Allowed values:
0: ADD: STATEV value is added into STATE (the carry-out is ignored).
0x1: LOAD: STATEV value is loaded into STATE.

STATEV

Bits 15-19: This value is loaded into or added to the state selected by HEVENT, depending on STATELD, when this event is the highest-numbered event occurring for that state. If STATELD and STATEV are both zero, there is no change to the STATE value..

MATCHMEM

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..

DIRECTION

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.

EV_STATE [2]

SCT event state register 0

Offset: 0x310, 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
STATEMSKn
rw
Toggle Fields

STATEMSKn

Bits 0-15: If bit m is one, event n happens in state m of the counter selected by the HEVENT bit (n = event number, m = state number; state 0 = bit 0, state 1= bit 1, etc.). The number of bits = number of states in this SCT..

EV_CTRL [2]

SCT event control register 0

Offset: 0x314, reset: 0, access: read-write

6/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIRECTION
rw
MATCHMEM
rw
STATEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STATEV
rw
STATELD
rw
COMBMODE
rw
IOCOND
rw
IOSEL
rw
OUTSEL
rw
HEVENT
rw
MATCHSEL
rw
Toggle Fields

MATCHSEL

Bits 0-3: Selects the Match register associated with this event (if any). A match can occur only when the counter selected by the HEVENT bit is running..

HEVENT

Bit 4: Select L/H counter. Do not set this bit if UNIFY = 1..

Allowed values:
0: L_COUNTER: Selects the L state and the L match register selected by MATCHSEL.
0x1: H_COUNTER: Selects the H state and the H match register selected by MATCHSEL.

OUTSEL

Bit 5: Input/output select.

Allowed values:
0: INPUT: Selects the inputs selected by IOSEL.
0x1: OUTPUT: Selects the outputs selected by IOSEL.

IOSEL

Bits 6-9: Selects the input or output signal number associated with this event (if any). Do not select an input in this register if CKMODE is 1x. In this case the clock input is an implicit ingredient of every event..

IOCOND

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

COMBMODE

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.

STATELD

Bit 14: This bit controls how the STATEV value modifies the state selected by HEVENT when this event is the highest-numbered event occurring for that state..

Allowed values:
0: ADD: STATEV value is added into STATE (the carry-out is ignored).
0x1: LOAD: STATEV value is loaded into STATE.

STATEV

Bits 15-19: This value is loaded into or added to the state selected by HEVENT, depending on STATELD, when this event is the highest-numbered event occurring for that state. If STATELD and STATEV are both zero, there is no change to the STATE value..

MATCHMEM

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..

DIRECTION

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.

EV_STATE [3]

SCT event state register 0

Offset: 0x318, 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
STATEMSKn
rw
Toggle Fields

STATEMSKn

Bits 0-15: If bit m is one, event n happens in state m of the counter selected by the HEVENT bit (n = event number, m = state number; state 0 = bit 0, state 1= bit 1, etc.). The number of bits = number of states in this SCT..

EV_CTRL [3]

SCT event control register 0

Offset: 0x31c, reset: 0, access: read-write

6/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIRECTION
rw
MATCHMEM
rw
STATEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STATEV
rw
STATELD
rw
COMBMODE
rw
IOCOND
rw
IOSEL
rw
OUTSEL
rw
HEVENT
rw
MATCHSEL
rw
Toggle Fields

MATCHSEL

Bits 0-3: Selects the Match register associated with this event (if any). A match can occur only when the counter selected by the HEVENT bit is running..

HEVENT

Bit 4: Select L/H counter. Do not set this bit if UNIFY = 1..

Allowed values:
0: L_COUNTER: Selects the L state and the L match register selected by MATCHSEL.
0x1: H_COUNTER: Selects the H state and the H match register selected by MATCHSEL.

OUTSEL

Bit 5: Input/output select.

Allowed values:
0: INPUT: Selects the inputs selected by IOSEL.
0x1: OUTPUT: Selects the outputs selected by IOSEL.

IOSEL

Bits 6-9: Selects the input or output signal number associated with this event (if any). Do not select an input in this register if CKMODE is 1x. In this case the clock input is an implicit ingredient of every event..

IOCOND

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

COMBMODE

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.

STATELD

Bit 14: This bit controls how the STATEV value modifies the state selected by HEVENT when this event is the highest-numbered event occurring for that state..

Allowed values:
0: ADD: STATEV value is added into STATE (the carry-out is ignored).
0x1: LOAD: STATEV value is loaded into STATE.

STATEV

Bits 15-19: This value is loaded into or added to the state selected by HEVENT, depending on STATELD, when this event is the highest-numbered event occurring for that state. If STATELD and STATEV are both zero, there is no change to the STATE value..

MATCHMEM

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..

DIRECTION

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.

EV_STATE [4]

SCT event state register 0

Offset: 0x320, 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
STATEMSKn
rw
Toggle Fields

STATEMSKn

Bits 0-15: If bit m is one, event n happens in state m of the counter selected by the HEVENT bit (n = event number, m = state number; state 0 = bit 0, state 1= bit 1, etc.). The number of bits = number of states in this SCT..

EV_CTRL [4]

SCT event control register 0

Offset: 0x324, reset: 0, access: read-write

6/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIRECTION
rw
MATCHMEM
rw
STATEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STATEV
rw
STATELD
rw
COMBMODE
rw
IOCOND
rw
IOSEL
rw
OUTSEL
rw
HEVENT
rw
MATCHSEL
rw
Toggle Fields

MATCHSEL

Bits 0-3: Selects the Match register associated with this event (if any). A match can occur only when the counter selected by the HEVENT bit is running..

HEVENT

Bit 4: Select L/H counter. Do not set this bit if UNIFY = 1..

Allowed values:
0: L_COUNTER: Selects the L state and the L match register selected by MATCHSEL.
0x1: H_COUNTER: Selects the H state and the H match register selected by MATCHSEL.

OUTSEL

Bit 5: Input/output select.

Allowed values:
0: INPUT: Selects the inputs selected by IOSEL.
0x1: OUTPUT: Selects the outputs selected by IOSEL.

IOSEL

Bits 6-9: Selects the input or output signal number associated with this event (if any). Do not select an input in this register if CKMODE is 1x. In this case the clock input is an implicit ingredient of every event..

IOCOND

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

COMBMODE

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.

STATELD

Bit 14: This bit controls how the STATEV value modifies the state selected by HEVENT when this event is the highest-numbered event occurring for that state..

Allowed values:
0: ADD: STATEV value is added into STATE (the carry-out is ignored).
0x1: LOAD: STATEV value is loaded into STATE.

STATEV

Bits 15-19: This value is loaded into or added to the state selected by HEVENT, depending on STATELD, when this event is the highest-numbered event occurring for that state. If STATELD and STATEV are both zero, there is no change to the STATE value..

MATCHMEM

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..

DIRECTION

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.

EV_STATE [5]

SCT event state register 0

Offset: 0x328, 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
STATEMSKn
rw
Toggle Fields

STATEMSKn

Bits 0-15: If bit m is one, event n happens in state m of the counter selected by the HEVENT bit (n = event number, m = state number; state 0 = bit 0, state 1= bit 1, etc.). The number of bits = number of states in this SCT..

EV_CTRL [5]

SCT event control register 0

Offset: 0x32c, reset: 0, access: read-write

6/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIRECTION
rw
MATCHMEM
rw
STATEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STATEV
rw
STATELD
rw
COMBMODE
rw
IOCOND
rw
IOSEL
rw
OUTSEL
rw
HEVENT
rw
MATCHSEL
rw
Toggle Fields

MATCHSEL

Bits 0-3: Selects the Match register associated with this event (if any). A match can occur only when the counter selected by the HEVENT bit is running..

HEVENT

Bit 4: Select L/H counter. Do not set this bit if UNIFY = 1..

Allowed values:
0: L_COUNTER: Selects the L state and the L match register selected by MATCHSEL.
0x1: H_COUNTER: Selects the H state and the H match register selected by MATCHSEL.

OUTSEL

Bit 5: Input/output select.

Allowed values:
0: INPUT: Selects the inputs selected by IOSEL.
0x1: OUTPUT: Selects the outputs selected by IOSEL.

IOSEL

Bits 6-9: Selects the input or output signal number associated with this event (if any). Do not select an input in this register if CKMODE is 1x. In this case the clock input is an implicit ingredient of every event..

IOCOND

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

COMBMODE

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.

STATELD

Bit 14: This bit controls how the STATEV value modifies the state selected by HEVENT when this event is the highest-numbered event occurring for that state..

Allowed values:
0: ADD: STATEV value is added into STATE (the carry-out is ignored).
0x1: LOAD: STATEV value is loaded into STATE.

STATEV

Bits 15-19: This value is loaded into or added to the state selected by HEVENT, depending on STATELD, when this event is the highest-numbered event occurring for that state. If STATELD and STATEV are both zero, there is no change to the STATE value..

MATCHMEM

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..

DIRECTION

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.

EV_STATE [6]

SCT event state register 0

Offset: 0x330, 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
STATEMSKn
rw
Toggle Fields

STATEMSKn

Bits 0-15: If bit m is one, event n happens in state m of the counter selected by the HEVENT bit (n = event number, m = state number; state 0 = bit 0, state 1= bit 1, etc.). The number of bits = number of states in this SCT..

EV_CTRL [6]

SCT event control register 0

Offset: 0x334, reset: 0, access: read-write

6/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIRECTION
rw
MATCHMEM
rw
STATEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STATEV
rw
STATELD
rw
COMBMODE
rw
IOCOND
rw
IOSEL
rw
OUTSEL
rw
HEVENT
rw
MATCHSEL
rw
Toggle Fields

MATCHSEL

Bits 0-3: Selects the Match register associated with this event (if any). A match can occur only when the counter selected by the HEVENT bit is running..

HEVENT

Bit 4: Select L/H counter. Do not set this bit if UNIFY = 1..

Allowed values:
0: L_COUNTER: Selects the L state and the L match register selected by MATCHSEL.
0x1: H_COUNTER: Selects the H state and the H match register selected by MATCHSEL.

OUTSEL

Bit 5: Input/output select.

Allowed values:
0: INPUT: Selects the inputs selected by IOSEL.
0x1: OUTPUT: Selects the outputs selected by IOSEL.

IOSEL

Bits 6-9: Selects the input or output signal number associated with this event (if any). Do not select an input in this register if CKMODE is 1x. In this case the clock input is an implicit ingredient of every event..

IOCOND

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

COMBMODE

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.

STATELD

Bit 14: This bit controls how the STATEV value modifies the state selected by HEVENT when this event is the highest-numbered event occurring for that state..

Allowed values:
0: ADD: STATEV value is added into STATE (the carry-out is ignored).
0x1: LOAD: STATEV value is loaded into STATE.

STATEV

Bits 15-19: This value is loaded into or added to the state selected by HEVENT, depending on STATELD, when this event is the highest-numbered event occurring for that state. If STATELD and STATEV are both zero, there is no change to the STATE value..

MATCHMEM

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..

DIRECTION

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.

EV_STATE [7]

SCT event state register 0

Offset: 0x338, 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
STATEMSKn
rw
Toggle Fields

STATEMSKn

Bits 0-15: If bit m is one, event n happens in state m of the counter selected by the HEVENT bit (n = event number, m = state number; state 0 = bit 0, state 1= bit 1, etc.). The number of bits = number of states in this SCT..

EV_CTRL [7]

SCT event control register 0

Offset: 0x33c, reset: 0, access: read-write

6/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIRECTION
rw
MATCHMEM
rw
STATEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STATEV
rw
STATELD
rw
COMBMODE
rw
IOCOND
rw
IOSEL
rw
OUTSEL
rw
HEVENT
rw
MATCHSEL
rw
Toggle Fields

MATCHSEL

Bits 0-3: Selects the Match register associated with this event (if any). A match can occur only when the counter selected by the HEVENT bit is running..

HEVENT

Bit 4: Select L/H counter. Do not set this bit if UNIFY = 1..

Allowed values:
0: L_COUNTER: Selects the L state and the L match register selected by MATCHSEL.
0x1: H_COUNTER: Selects the H state and the H match register selected by MATCHSEL.

OUTSEL

Bit 5: Input/output select.

Allowed values:
0: INPUT: Selects the inputs selected by IOSEL.
0x1: OUTPUT: Selects the outputs selected by IOSEL.

IOSEL

Bits 6-9: Selects the input or output signal number associated with this event (if any). Do not select an input in this register if CKMODE is 1x. In this case the clock input is an implicit ingredient of every event..

IOCOND

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

COMBMODE

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.

STATELD

Bit 14: This bit controls how the STATEV value modifies the state selected by HEVENT when this event is the highest-numbered event occurring for that state..

Allowed values:
0: ADD: STATEV value is added into STATE (the carry-out is ignored).
0x1: LOAD: STATEV value is loaded into STATE.

STATEV

Bits 15-19: This value is loaded into or added to the state selected by HEVENT, depending on STATELD, when this event is the highest-numbered event occurring for that state. If STATELD and STATEV are both zero, there is no change to the STATE value..

MATCHMEM

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..

DIRECTION

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.

EV_STATE [8]

SCT event state register 0

Offset: 0x340, 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
STATEMSKn
rw
Toggle Fields

STATEMSKn

Bits 0-15: If bit m is one, event n happens in state m of the counter selected by the HEVENT bit (n = event number, m = state number; state 0 = bit 0, state 1= bit 1, etc.). The number of bits = number of states in this SCT..

EV_CTRL [8]

SCT event control register 0

Offset: 0x344, reset: 0, access: read-write

6/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIRECTION
rw
MATCHMEM
rw
STATEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STATEV
rw
STATELD
rw
COMBMODE
rw
IOCOND
rw
IOSEL
rw
OUTSEL
rw
HEVENT
rw
MATCHSEL
rw
Toggle Fields

MATCHSEL

Bits 0-3: Selects the Match register associated with this event (if any). A match can occur only when the counter selected by the HEVENT bit is running..

HEVENT

Bit 4: Select L/H counter. Do not set this bit if UNIFY = 1..

Allowed values:
0: L_COUNTER: Selects the L state and the L match register selected by MATCHSEL.
0x1: H_COUNTER: Selects the H state and the H match register selected by MATCHSEL.

OUTSEL

Bit 5: Input/output select.

Allowed values:
0: INPUT: Selects the inputs selected by IOSEL.
0x1: OUTPUT: Selects the outputs selected by IOSEL.

IOSEL

Bits 6-9: Selects the input or output signal number associated with this event (if any). Do not select an input in this register if CKMODE is 1x. In this case the clock input is an implicit ingredient of every event..

IOCOND

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

COMBMODE

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.

STATELD

Bit 14: This bit controls how the STATEV value modifies the state selected by HEVENT when this event is the highest-numbered event occurring for that state..

Allowed values:
0: ADD: STATEV value is added into STATE (the carry-out is ignored).
0x1: LOAD: STATEV value is loaded into STATE.

STATEV

Bits 15-19: This value is loaded into or added to the state selected by HEVENT, depending on STATELD, when this event is the highest-numbered event occurring for that state. If STATELD and STATEV are both zero, there is no change to the STATE value..

MATCHMEM

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..

DIRECTION

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.

EV_STATE [9]

SCT event state register 0

Offset: 0x348, 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
STATEMSKn
rw
Toggle Fields

STATEMSKn

Bits 0-15: If bit m is one, event n happens in state m of the counter selected by the HEVENT bit (n = event number, m = state number; state 0 = bit 0, state 1= bit 1, etc.). The number of bits = number of states in this SCT..

EV_CTRL [9]

SCT event control register 0

Offset: 0x34c, reset: 0, access: read-write

6/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIRECTION
rw
MATCHMEM
rw
STATEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STATEV
rw
STATELD
rw
COMBMODE
rw
IOCOND
rw
IOSEL
rw
OUTSEL
rw
HEVENT
rw
MATCHSEL
rw
Toggle Fields

MATCHSEL

Bits 0-3: Selects the Match register associated with this event (if any). A match can occur only when the counter selected by the HEVENT bit is running..

HEVENT

Bit 4: Select L/H counter. Do not set this bit if UNIFY = 1..

Allowed values:
0: L_COUNTER: Selects the L state and the L match register selected by MATCHSEL.
0x1: H_COUNTER: Selects the H state and the H match register selected by MATCHSEL.

OUTSEL

Bit 5: Input/output select.

Allowed values:
0: INPUT: Selects the inputs selected by IOSEL.
0x1: OUTPUT: Selects the outputs selected by IOSEL.

IOSEL

Bits 6-9: Selects the input or output signal number associated with this event (if any). Do not select an input in this register if CKMODE is 1x. In this case the clock input is an implicit ingredient of every event..

IOCOND

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

COMBMODE

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.

STATELD

Bit 14: This bit controls how the STATEV value modifies the state selected by HEVENT when this event is the highest-numbered event occurring for that state..

Allowed values:
0: ADD: STATEV value is added into STATE (the carry-out is ignored).
0x1: LOAD: STATEV value is loaded into STATE.

STATEV

Bits 15-19: This value is loaded into or added to the state selected by HEVENT, depending on STATELD, when this event is the highest-numbered event occurring for that state. If STATELD and STATEV are both zero, there is no change to the STATE value..

MATCHMEM

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..

DIRECTION

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.

OUT_SET [0]

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
Toggle Fields

SET

Bits 0-15: 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..

OUT_CLR [0]

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
Toggle Fields

CLR

Bits 0-15: 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..

OUT_SET [1]

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
Toggle Fields

SET

Bits 0-15: 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..

OUT_CLR [1]

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
Toggle Fields

CLR

Bits 0-15: 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..

OUT_SET [2]

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
Toggle Fields

SET

Bits 0-15: 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..

OUT_CLR [2]

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
Toggle Fields

CLR

Bits 0-15: 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..

OUT_SET [3]

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
Toggle Fields

SET

Bits 0-15: 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..

OUT_CLR [3]

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
Toggle Fields

CLR

Bits 0-15: 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..

OUT_SET [4]

SCT output 0 set register

Offset: 0x520, 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
Toggle Fields

SET

Bits 0-15: 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..

OUT_CLR [4]

SCT output 0 clear register

Offset: 0x524, 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
Toggle Fields

CLR

Bits 0-15: 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..

OUT_SET [5]

SCT output 0 set register

Offset: 0x528, 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
Toggle Fields

SET

Bits 0-15: 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..

OUT_CLR [5]

SCT output 0 clear register

Offset: 0x52c, 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
Toggle Fields

CLR

Bits 0-15: 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..

OUT_SET [6]

SCT output 0 set register

Offset: 0x530, 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
Toggle Fields

SET

Bits 0-15: 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..

OUT_CLR [6]

SCT output 0 clear register

Offset: 0x534, 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
Toggle Fields

CLR

Bits 0-15: 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..

OUT_SET [7]

SCT output 0 set register

Offset: 0x538, 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
Toggle Fields

SET

Bits 0-15: 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..

OUT_CLR [7]

SCT output 0 clear register

Offset: 0x53c, 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
Toggle Fields

CLR

Bits 0-15: 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..

OUT_SET [8]

SCT output 0 set register

Offset: 0x540, 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
Toggle Fields

SET

Bits 0-15: 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..

OUT_CLR [8]

SCT output 0 clear register

Offset: 0x544, 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
Toggle Fields

CLR

Bits 0-15: 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..

OUT_SET [9]

SCT output 0 set register

Offset: 0x548, 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
Toggle Fields

SET

Bits 0-15: 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..

OUT_CLR [9]

SCT output 0 clear register

Offset: 0x54c, 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
Toggle Fields

CLR

Bits 0-15: 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..

SDIF

0x4009b000: SDMMC

0/215 fields covered. Toggle Registers

Show register map

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 PWREN
0x8 CLKDIV
0x10 CLKENA
0x14 TMOUT
0x18 CTYPE
0x1c BLKSIZ
0x20 BYTCNT
0x24 INTMASK
0x28 CMDARG
0x2c CMD
0x30 RESP[[0]]
0x34 RESP[[1]]
0x38 RESP[[2]]
0x3c RESP[[3]]
0x40 MINTSTS
0x44 RINTSTS
0x48 STATUS
0x4c FIFOTH
0x50 CDETECT
0x54 WRTPRT
0x5c TCBCNT
0x60 TBBCNT
0x64 DEBNCE
0x78 RST_N
0x80 BMOD
0x84 PLDMND
0x88 DBADDR
0x8c IDSTS
0x90 IDINTEN
0x94 DSCADDR
0x98 BUFADDR
0x100 CARDTHRCTL
0x104 BACKENDPWR
0x200 FIFO[[0]]
0x204 FIFO[[1]]
0x208 FIFO[[2]]
0x20c FIFO[[3]]
0x210 FIFO[[4]]
0x214 FIFO[[5]]
0x218 FIFO[[6]]
0x21c FIFO[[7]]
0x220 FIFO[[8]]
0x224 FIFO[[9]]
0x228 FIFO[[10]]
0x22c FIFO[[11]]
0x230 FIFO[[12]]
0x234 FIFO[[13]]
0x238 FIFO[[14]]
0x23c FIFO[[15]]
0x240 FIFO[[16]]
0x244 FIFO[[17]]
0x248 FIFO[[18]]
0x24c FIFO[[19]]
0x250 FIFO[[20]]
0x254 FIFO[[21]]
0x258 FIFO[[22]]
0x25c FIFO[[23]]
0x260 FIFO[[24]]
0x264 FIFO[[25]]
0x268 FIFO[[26]]
0x26c FIFO[[27]]
0x270 FIFO[[28]]
0x274 FIFO[[29]]
0x278 FIFO[[30]]
0x27c FIFO[[31]]
0x280 FIFO[[32]]
0x284 FIFO[[33]]
0x288 FIFO[[34]]
0x28c FIFO[[35]]
0x290 FIFO[[36]]
0x294 FIFO[[37]]
0x298 FIFO[[38]]
0x29c FIFO[[39]]
0x2a0 FIFO[[40]]
0x2a4 FIFO[[41]]
0x2a8 FIFO[[42]]
0x2ac FIFO[[43]]
0x2b0 FIFO[[44]]
0x2b4 FIFO[[45]]
0x2b8 FIFO[[46]]
0x2bc FIFO[[47]]
0x2c0 FIFO[[48]]
0x2c4 FIFO[[49]]
0x2c8 FIFO[[50]]
0x2cc FIFO[[51]]
0x2d0 FIFO[[52]]
0x2d4 FIFO[[53]]
0x2d8 FIFO[[54]]
0x2dc FIFO[[55]]
0x2e0 FIFO[[56]]
0x2e4 FIFO[[57]]
0x2e8 FIFO[[58]]
0x2ec FIFO[[59]]
0x2f0 FIFO[[60]]
0x2f4 FIFO[[61]]
0x2f8 FIFO[[62]]
0x2fc FIFO[[63]]

CTRL

Control register

Offset: 0x0, reset: 0, access: read-write

0/14 fields covered.

CONTROLLER_RESET

Bit 0: Controller reset..

FIFO_RESET

Bit 1: Fifo reset..

DMA_RESET

Bit 2: DMA reset..

INT_ENABLE

Bit 4: Global interrupt enable/disable bit..

READ_WAIT

Bit 6: Read/wait..

SEND_IRQ_RESPONSE

Bit 7: Send irq response..

ABORT_READ_DATA

Bit 8: Abort read data..

SEND_CCSD

Bit 9: Send ccsd..

SEND_AUTO_STOP_CCSD

Bit 10: Send auto stop ccsd..

CEATA_DEVICE_INTERRUPT_STATUS

Bit 11: CEATA device interrupt status..

CARD_VOLTAGE_A0

Bit 16: Controls the state of the SD_VOLT0 pin..

CARD_VOLTAGE_A1

Bit 17: Controls the state of the SD_VOLT1 pin..

CARD_VOLTAGE_A2

Bit 18: Controls the state of the SD_VOLT2 pin..

USE_INTERNAL_DMAC

Bit 25: SD/MMC DMA use..

PWREN

Power 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
POWER_ENABLE
rw
Toggle Fields

POWER_ENABLE

Bit 0: Power on/off switch for card; once power is turned on, software should wait for regulator/switch ramp-up time before trying to initialize card..

CLKDIV

Clock Divider register

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
CLK_DIVIDER0
rw
Toggle Fields

CLK_DIVIDER0

Bits 0-7: Clock divider-0 value..

CLKENA

Clock Enable 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
CCLK_LOW_POWER
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCLK_ENABLE
rw
Toggle Fields

CCLK_ENABLE

Bit 0: Clock-enable control for SD card clock..

CCLK_LOW_POWER

Bit 16: Low-power control for SD card clock..

TMOUT

Time-out register

Offset: 0x14, reset: 0xFFFFFF40, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATA_TIMEOUT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA_TIMEOUT
rw
RESPONSE_TIMEOUT
rw
Toggle Fields

RESPONSE_TIMEOUT

Bits 0-7: Response time-out value..

DATA_TIMEOUT

Bits 8-31: Value for card Data Read time-out; same value also used for Data Starvation by Host time-out..

CTYPE

Card Type register

Offset: 0x18, 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
CARD_WIDTH1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARD_WIDTH0
rw
Toggle Fields

CARD_WIDTH0

Bit 0: Indicates if card is 1-bit or 4-bit: 0 - 1-bit mode 1 - 4-bit mode 1 and 4-bit modes only work when 8-bit mode in CARD_WIDTH1 is not enabled (bit 16 in this register is set to 0)..

CARD_WIDTH1

Bit 16: Indicates if card is 8-bit: 0 - Non 8-bit mode 1 - 8-bit mode..

BLKSIZ

Block Size register

Offset: 0x1c, reset: 0x200, 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
BLOCK_SIZE
rw
Toggle Fields

BLOCK_SIZE

Bits 0-15: Block size..

BYTCNT

Byte Count register

Offset: 0x20, reset: 0x200, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BYTE_COUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BYTE_COUNT
rw
Toggle Fields

BYTE_COUNT

Bits 0-31: Number of bytes to be transferred; should be integer multiple of Block Size for block transfers..

INTMASK

Interrupt Mask register

Offset: 0x24, reset: 0, access: read-write

0/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SDIO_INT_MASK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EBE
rw
ACD
rw
SBE
rw
HLE
rw
FRUN
rw
HTO
rw
DRTO
rw
RTO
rw
DCRC
rw
RCRC
rw
RXDR
rw
TXDR
rw
DTO
rw
CDONE
rw
RE
rw
CDET
rw
Toggle Fields

CDET

Bit 0: Card detect..

RE

Bit 1: Response error..

CDONE

Bit 2: Command done..

DTO

Bit 3: Data transfer over..

TXDR

Bit 4: Transmit FIFO data request..

RXDR

Bit 5: Receive FIFO data request..

RCRC

Bit 6: Response CRC error..

DCRC

Bit 7: Data CRC error..

RTO

Bit 8: Response time-out..

DRTO

Bit 9: Data read time-out..

HTO

Bit 10: Data starvation-by-host time-out (HTO)..

FRUN

Bit 11: FIFO underrun/overrun error..

HLE

Bit 12: Hardware locked write error..

SBE

Bit 13: Start-bit error..

ACD

Bit 14: Auto command done..

EBE

Bit 15: End-bit error (read)/Write no CRC..

SDIO_INT_MASK

Bit 16: Mask SDIO interrupt..

CMDARG

Command Argument 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
CMD_ARG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMD_ARG
rw
Toggle Fields

CMD_ARG

Bits 0-31: Value indicates command argument to be passed to card..

CMD

Command register

Offset: 0x2c, reset: 0, access: read-write

0/21 fields covered.

CMD_INDEX

Bits 0-5: Command index..

RESPONSE_EXPECT

Bit 6: Response expect..

RESPONSE_LENGTH

Bit 7: Response length..

CHECK_RESPONSE_CRC

Bit 8: Check response CRC..

DATA_EXPECTED

Bit 9: Data expected..

READ_WRITE

Bit 10: read/write..

TRANSFER_MODE

Bit 11: Transfer mode..

SEND_AUTO_STOP

Bit 12: Send auto stop..

WAIT_PRVDATA_COMPLETE

Bit 13: Wait prvdata complete..

STOP_ABORT_CMD

Bit 14: Stop abort command..

SEND_INITIALIZATION

Bit 15: Send initialization..

UPDATE_CLOCK_REGISTERS_ONLY

Bit 21: Update clock registers only..

READ_CEATA_DEVICE

Bit 22: Read ceata device..

CCS_EXPECTED

Bit 23: CCS expected..

ENABLE_BOOT

Bit 24: Enable Boot - this bit should be set only for mandatory boot mode..

EXPECT_BOOT_ACK

Bit 25: Expect Boot Acknowledge..

DISABLE_BOOT

Bit 26: Disable Boot..

BOOT_MODE

Bit 27: Boot Mode..

VOLT_SWITCH

Bit 28: Voltage switch bit..

USE_HOLD_REG

Bit 29: Use Hold Register..

START_CMD

Bit 31: Start command..

RESP[[0]]

Response register

Offset: 0x30, 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
RESPONSE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESPONSE
rw
Toggle Fields

RESPONSE

Bits 0-31: Bits of response..

RESP[[1]]

Response register

Offset: 0x34, 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
RESPONSE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESPONSE
rw
Toggle Fields

RESPONSE

Bits 0-31: Bits of response..

RESP[[2]]

Response register

Offset: 0x38, 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
RESPONSE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESPONSE
rw
Toggle Fields

RESPONSE

Bits 0-31: Bits of response..

RESP[[3]]

Response register

Offset: 0x3c, 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
RESPONSE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESPONSE
rw
Toggle Fields

RESPONSE

Bits 0-31: Bits of response..

MINTSTS

Masked Interrupt Status register

Offset: 0x40, reset: 0, access: read-write

0/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SDIO_INTERRUPT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EBE
rw
ACD
rw
SBE
rw
HLE
rw
FRUN
rw
HTO
rw
DRTO
rw
RTO
rw
DCRC
rw
RCRC
rw
RXDR
rw
TXDR
rw
DTO
rw
CDONE
rw
RE
rw
CDET
rw
Toggle Fields

CDET

Bit 0: Card detect..

RE

Bit 1: Response error..

CDONE

Bit 2: Command done..

DTO

Bit 3: Data transfer over..

TXDR

Bit 4: Transmit FIFO data request..

RXDR

Bit 5: Receive FIFO data request..

RCRC

Bit 6: Response CRC error..

DCRC

Bit 7: Data CRC error..

RTO

Bit 8: Response time-out..

DRTO

Bit 9: Data read time-out..

HTO

Bit 10: Data starvation-by-host time-out (HTO)..

FRUN

Bit 11: FIFO underrun/overrun error..

HLE

Bit 12: Hardware locked write error..

SBE

Bit 13: Start-bit error..

ACD

Bit 14: Auto command done..

EBE

Bit 15: End-bit error (read)/write no CRC..

SDIO_INTERRUPT

Bit 16: Interrupt from SDIO card..

RINTSTS

Raw Interrupt Status register

Offset: 0x44, reset: 0, access: read-write

0/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SDIO_INTERRUPT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EBE
rw
ACD
rw
SBE
rw
HLE
rw
FRUN
rw
HTO
rw
DRTO_BDS
rw
RTO_BAR
rw
DCRC
rw
RCRC
rw
RXDR
rw
TXDR
rw
DTO
rw
CDONE
rw
RE
rw
CDET
rw
Toggle Fields

CDET

Bit 0: Card detect..

RE

Bit 1: Response error..

CDONE

Bit 2: Command done..

DTO

Bit 3: Data transfer over..

TXDR

Bit 4: Transmit FIFO data request..

RXDR

Bit 5: Receive FIFO data request..

RCRC

Bit 6: Response CRC error..

DCRC

Bit 7: Data CRC error..

RTO_BAR

Bit 8: Response time-out (RTO)/Boot Ack Received (BAR)..

DRTO_BDS

Bit 9: Data read time-out (DRTO)/Boot Data Start (BDS)..

HTO

Bit 10: Data starvation-by-host time-out (HTO)..

FRUN

Bit 11: FIFO underrun/overrun error..

HLE

Bit 12: Hardware locked write error..

SBE

Bit 13: Start-bit error..

ACD

Bit 14: Auto command done..

EBE

Bit 15: End-bit error (read)/write no CRC..

SDIO_INTERRUPT

Bit 16: Interrupt from SDIO card..

STATUS

Status register

Offset: 0x48, reset: 0x406, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMA_REQ
rw
DMA_ACK
rw
FIFO_COUNT
rw
RESPONSE_INDEX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESPONSE_INDEX
rw
DATA_STATE_MC_BUSY
rw
DATA_BUSY
rw
DATA_3_STATUS
rw
CMDFSMSTATES
rw
FIFO_FULL
rw
FIFO_EMPTY
rw
FIFO_TX_WATERMARK
rw
FIFO_RX_WATERMARK
rw
Toggle Fields

FIFO_RX_WATERMARK

Bit 0: FIFO reached Receive watermark level; not qualified with data transfer..

FIFO_TX_WATERMARK

Bit 1: FIFO reached Transmit watermark level; not qualified with data transfer..

FIFO_EMPTY

Bit 2: FIFO is empty status..

FIFO_FULL

Bit 3: FIFO is full status..

CMDFSMSTATES

Bits 4-7: Command FSM states: 0 - Idle 1 - Send init sequence 2 - Tx cmd start bit 3 - Tx cmd tx bit 4 - Tx cmd index + arg 5 - Tx cmd crc7 6 - Tx cmd end bit 7 - Rx resp start bit 8 - Rx resp IRQ response 9 - Rx resp tx bit 10 - Rx resp cmd idx 11 - Rx resp data 12 - Rx resp crc7 13 - Rx resp end bit 14 - Cmd path wait NCC 15 - Wait; CMD-to-response turnaround NOTE: The command FSM state is represented using 19 bits..

DATA_3_STATUS

Bit 8: Raw selected card_data[3]; checks whether card is present 0 - card not present 1 - card present..

DATA_BUSY

Bit 9: Inverted version of raw selected card_data[0] 0 - card data not busy 1 - card data busy..

DATA_STATE_MC_BUSY

Bit 10: Data transmit or receive state-machine is busy..

RESPONSE_INDEX

Bits 11-16: Index of previous response, including any auto-stop sent by core..

FIFO_COUNT

Bits 17-29: FIFO count - Number of filled locations in FIFO..

DMA_ACK

Bit 30: DMA acknowledge signal state..

DMA_REQ

Bit 31: DMA request signal state..

FIFOTH

FIFO Threshold Watermark register

Offset: 0x4c, reset: 0x1F0000, access: read-write

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMA_MTS
rw
RX_WMARK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TX_WMARK
rw
Toggle Fields

TX_WMARK

Bits 0-11: FIFO threshold watermark level when transmitting data to card..

RX_WMARK

Bits 16-27: FIFO threshold watermark level when receiving data to card..

DMA_MTS

Bits 28-30: Burst size of multiple transaction; should be programmed same as DW-DMA controller multiple-transaction-size SRC/DEST_MSIZE..

CDETECT

Card Detect 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
CARD_DETECT
rw
Toggle Fields

CARD_DETECT

Bit 0: Card detect..

WRTPRT

Write Protect register

Offset: 0x54, 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
WRITE_PROTECT
rw
Toggle Fields

WRITE_PROTECT

Bit 0: Write protect..

TCBCNT

Transferred CIU Card Byte Count register

Offset: 0x5c, 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
TRANS_CARD_BYTE_COUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRANS_CARD_BYTE_COUNT
rw
Toggle Fields

TRANS_CARD_BYTE_COUNT

Bits 0-31: Number of bytes transferred by CIU unit to card..

TBBCNT

Transferred Host to BIU-FIFO Byte Count register

Offset: 0x60, 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
TRANS_FIFO_BYTE_COUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRANS_FIFO_BYTE_COUNT
rw
Toggle Fields

TRANS_FIFO_BYTE_COUNT

Bits 0-31: Number of bytes transferred between Host/DMA memory and BIU FIFO..

DEBNCE

Debounce Count register

Offset: 0x64, 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
DEBOUNCE_COUNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEBOUNCE_COUNT
rw
Toggle Fields

DEBOUNCE_COUNT

Bits 0-23: Number of host clocks (SD_CLK) used by debounce filter logic for card detect; typical debounce time is 5-25 ms..

RST_N

Hardware Reset

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
CARD_RESET
rw
Toggle Fields

CARD_RESET

Bit 0: Hardware reset..

BMOD

Bus Mode register

Offset: 0x80, 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
PBL
rw
DE
rw
DSL
rw
FB
rw
SWR
rw
Toggle Fields

SWR

Bit 0: Software Reset..

FB

Bit 1: Fixed Burst..

DSL

Bits 2-6: Descriptor Skip Length..

DE

Bit 7: SD/MMC DMA Enable..

PBL

Bits 8-10: Programmable Burst Length..

PLDMND

Poll Demand register

Offset: 0x84, 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
PD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PD
rw
Toggle Fields

PD

Bits 0-31: Poll Demand..

DBADDR

Descriptor List Base Address register

Offset: 0x88, 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
SDL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDL
rw
Toggle Fields

SDL

Bits 0-31: Start of Descriptor List..

IDSTS

Internal DMAC Status register

Offset: 0x8c, reset: 0, access: read-write

0/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FSM
rw
EB
rw
AIS
rw
NIS
rw
CES
rw
DU
rw
FBE
rw
RI
rw
TI
rw
Toggle Fields

TI

Bit 0: Transmit Interrupt..

RI

Bit 1: Receive Interrupt..

FBE

Bit 2: Fatal Bus Error Interrupt..

DU

Bit 4: Descriptor Unavailable Interrupt..

CES

Bit 5: Card Error Summary..

NIS

Bit 8: Normal Interrupt Summary..

AIS

Bit 9: Abnormal Interrupt Summary..

EB

Bits 10-12: Error Bits..

FSM

Bits 13-16: DMAC state machine present state..

IDINTEN

Internal DMAC Interrupt Enable register

Offset: 0x90, reset: 0, access: read-write

0/7 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
AIS
rw
NIS
rw
CES
rw
DU
rw
FBE
rw
RI
rw
TI
rw
Toggle Fields

TI

Bit 0: Transmit Interrupt Enable..

RI

Bit 1: Receive Interrupt Enable..

FBE

Bit 2: Fatal Bus Error Enable..

DU

Bit 4: Descriptor Unavailable Interrupt..

CES

Bit 5: Card Error summary Interrupt Enable..

NIS

Bit 8: Normal Interrupt Summary Enable..

AIS

Bit 9: Abnormal Interrupt Summary Enable..

DSCADDR

Current Host Descriptor Address register

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
HDA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HDA
rw
Toggle Fields

HDA

Bits 0-31: Host Descriptor Address Pointer..

BUFADDR

Current Buffer Descriptor Address register

Offset: 0x98, 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
HBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HBA
rw
Toggle Fields

HBA

Bits 0-31: Host Buffer Address Pointer..

CARDTHRCTL

Card Threshold Control

Offset: 0x100, 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
CARDTHRESHOLD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BSYCLRINTEN
rw
CARDRDTHREN
rw
Toggle Fields

CARDRDTHREN

Bit 0: Card Read Threshold Enable..

BSYCLRINTEN

Bit 1: Busy Clear Interrupt Enable..

CARDTHRESHOLD

Bits 16-23: Card Threshold size..

BACKENDPWR

Power control

Offset: 0x104, 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
BACKENDPWR
rw
Toggle Fields

BACKENDPWR

Bit 0: Back-end Power control for card application..

FIFO[[0]]

SDIF FIFO

Offset: 0x200, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[1]]

SDIF FIFO

Offset: 0x204, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[2]]

SDIF FIFO

Offset: 0x208, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[3]]

SDIF FIFO

Offset: 0x20c, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[4]]

SDIF FIFO

Offset: 0x210, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[5]]

SDIF FIFO

Offset: 0x214, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[6]]

SDIF FIFO

Offset: 0x218, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[7]]

SDIF FIFO

Offset: 0x21c, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[8]]

SDIF FIFO

Offset: 0x220, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[9]]

SDIF FIFO

Offset: 0x224, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[10]]

SDIF FIFO

Offset: 0x228, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[11]]

SDIF FIFO

Offset: 0x22c, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[12]]

SDIF FIFO

Offset: 0x230, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[13]]

SDIF FIFO

Offset: 0x234, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[14]]

SDIF FIFO

Offset: 0x238, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[15]]

SDIF FIFO

Offset: 0x23c, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[16]]

SDIF FIFO

Offset: 0x240, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[17]]

SDIF FIFO

Offset: 0x244, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[18]]

SDIF FIFO

Offset: 0x248, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[19]]

SDIF FIFO

Offset: 0x24c, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[20]]

SDIF FIFO

Offset: 0x250, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[21]]

SDIF FIFO

Offset: 0x254, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[22]]

SDIF FIFO

Offset: 0x258, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[23]]

SDIF FIFO

Offset: 0x25c, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[24]]

SDIF FIFO

Offset: 0x260, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[25]]

SDIF FIFO

Offset: 0x264, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[26]]

SDIF FIFO

Offset: 0x268, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[27]]

SDIF FIFO

Offset: 0x26c, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[28]]

SDIF FIFO

Offset: 0x270, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[29]]

SDIF FIFO

Offset: 0x274, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[30]]

SDIF FIFO

Offset: 0x278, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[31]]

SDIF FIFO

Offset: 0x27c, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[32]]

SDIF FIFO

Offset: 0x280, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[33]]

SDIF FIFO

Offset: 0x284, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[34]]

SDIF FIFO

Offset: 0x288, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[35]]

SDIF FIFO

Offset: 0x28c, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[36]]

SDIF FIFO

Offset: 0x290, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[37]]

SDIF FIFO

Offset: 0x294, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[38]]

SDIF FIFO

Offset: 0x298, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[39]]

SDIF FIFO

Offset: 0x29c, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[40]]

SDIF FIFO

Offset: 0x2a0, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[41]]

SDIF FIFO

Offset: 0x2a4, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[42]]

SDIF FIFO

Offset: 0x2a8, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[43]]

SDIF FIFO

Offset: 0x2ac, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[44]]

SDIF FIFO

Offset: 0x2b0, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[45]]

SDIF FIFO

Offset: 0x2b4, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[46]]

SDIF FIFO

Offset: 0x2b8, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[47]]

SDIF FIFO

Offset: 0x2bc, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[48]]

SDIF FIFO

Offset: 0x2c0, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[49]]

SDIF FIFO

Offset: 0x2c4, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[50]]

SDIF FIFO

Offset: 0x2c8, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[51]]

SDIF FIFO

Offset: 0x2cc, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[52]]

SDIF FIFO

Offset: 0x2d0, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[53]]

SDIF FIFO

Offset: 0x2d4, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[54]]

SDIF FIFO

Offset: 0x2d8, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[55]]

SDIF FIFO

Offset: 0x2dc, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[56]]

SDIF FIFO

Offset: 0x2e0, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[57]]

SDIF FIFO

Offset: 0x2e4, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[58]]

SDIF FIFO

Offset: 0x2e8, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[59]]

SDIF FIFO

Offset: 0x2ec, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[60]]

SDIF FIFO

Offset: 0x2f0, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[61]]

SDIF FIFO

Offset: 0x2f4, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[62]]

SDIF FIFO

Offset: 0x2f8, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

FIFO[[63]]

SDIF FIFO

Offset: 0x2fc, 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: SDIF FIFO..

SMARTCARD0

0x40036000: LPC5460x Smart Card Interface

11/36 fields covered. Toggle Registers

Show register map

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 DLL
0x0 RBR
0x0 THR
0x4 DLM
0x4 IER
0x8 FCR
0x8 IIR
0xc LCR
0x14 LSR
0x1c SCR
0x2c OSR
0x48 SCICTRL

DLL

Divisor Latch LSB

Offset: 0x0, 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
DLLSB
rw
Toggle Fields

DLLSB

Bits 0-7: The SCIn Divisor Latch LSB Register, along with the SCInDLM register, determines the baud rate of the SCIn..

RBR

Receiver Buffer Register

Offset: 0x0, 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
RBR
r
Toggle Fields

RBR

Bits 0-7: The SCIn Receiver Buffer Register contains the oldest received byte in the SCIn Rx FIFO..

THR

Transmit Holding Register

Offset: 0x0, 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
THR
w
Toggle Fields

THR

Bits 0-7: Writing to the SCIn Transmit Holding Register causes the data to be stored in the SCIn transmit FIFO..

DLM

Divisor Latch MSB

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
DLMSB
rw
Toggle Fields

DLMSB

Bits 0-7: The SCIn Divisor Latch MSB Register, along with the DLL register, determines the baud rate of the SCIn..

IER

Interrupt Enable Register

Offset: 0x4, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXIE
rw
THREIE
rw
RBRIE
rw
Toggle Fields

RBRIE

Bit 0: RBR Interrupt Enable..

THREIE

Bit 1: THRE Interrupt Enable..

RXIE

Bit 2: RX Line Status Interrupt Enable..

FCR

FIFO Control Register

Offset: 0x8, reset: 0, access: write-only

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
RXTRIGLVL
w
DMAMODE
w
TXFIFORES
w
RXFIFORES
w
FIFOEN
w
Toggle Fields

FIFOEN

Bit 0: FIFO Enable..

RXFIFORES

Bit 1: RX FIFO Reset..

TXFIFORES

Bit 2: TX FIFO Reset..

DMAMODE

Bit 3: DMA Mode Select..

RXTRIGLVL

Bits 6-7: RX Trigger Level..

IIR

Interrupt ID Register

Offset: 0x8, reset: 0x1, access: read-only

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
FIFOENABLE
r
INTID
r
INTSTATUS
r
Toggle Fields

INTSTATUS

Bit 0: Interrupt status..

INTID

Bits 1-3: Interrupt identification..

FIFOENABLE

Bits 6-7: Copies of SCInFCR[0]..

LCR

Line Control Register

Offset: 0xc, 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
DLAB
rw
PS
rw
PE
rw
SBS
rw
WLS
rw
Toggle Fields

WLS

Bits 0-1: Word Length Select..

SBS

Bit 2: Stop Bit Select..

PE

Bit 3: Parity Enable..

PS

Bits 4-5: Parity Select..

DLAB

Bit 7: Divisor Latch Access Bit..

LSR

Line Status Register

Offset: 0x14, reset: 0x60, access: read-only

7/7 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
RXFE
r
TEMT
r
THRE
r
FE
r
PE
r
OE
r
RDR
r
Toggle Fields

RDR

Bit 0: Receiver Data Ready..

OE

Bit 1: Overrun Error..

PE

Bit 2: Parity Error..

FE

Bit 3: Framing Error..

THRE

Bit 5: Transmitter Holding Register Empty..

TEMT

Bit 6: Transmitter Empty..

RXFE

Bit 7: Error in RX FIFO..

SCR

Scratch Pad 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
PAD
rw
Toggle Fields

PAD

Bits 0-7: A readable, writable byte..

OSR

Oversampling register

Offset: 0x2c, reset: 0xF0, access: read-write

0/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
FDINT
rw
OSINT
rw
OSFRAC
rw
Toggle Fields

OSFRAC

Bits 1-3: Fractional part of the oversampling ratio, in units of 1/8th of an input clock period..

OSINT

Bits 4-7: Integer part of the oversampling ratio, minus 1..

FDINT

Bits 8-14: These bits act as a more-significant extension of the OSint field, allowing an oversampling ratio up to 2048 as required by ISO7816-3..

SCICTRL

Smart Card Interface control register

Offset: 0x48, 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
GUARDTIME
rw
TXRETRY
rw
PROTSEL
rw
NACKDIS
rw
SCIEN
rw
Toggle Fields

SCIEN

Bit 0: Smart Card Interface Enable..

NACKDIS

Bit 1: NACK response disable..

PROTSEL

Bit 2: Protocol selection as defined in the ISO7816-3 standard..

TXRETRY

Bits 5-7: Maximum number of retransmissions in case of a negative acknowledge (protocol T=0)..

GUARDTIME

Bits 8-15: Extra guard time..

SMARTCARD1

0x40037000: LPC5460x Smart Card Interface

11/36 fields covered. Toggle Registers

Show register map

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 DLL
0x0 RBR
0x0 THR
0x4 DLM
0x4 IER
0x8 FCR
0x8 IIR
0xc LCR
0x14 LSR
0x1c SCR
0x2c OSR
0x48 SCICTRL

DLL

Divisor Latch LSB

Offset: 0x0, 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
DLLSB
rw
Toggle Fields

DLLSB

Bits 0-7: The SCIn Divisor Latch LSB Register, along with the SCInDLM register, determines the baud rate of the SCIn..

RBR

Receiver Buffer Register

Offset: 0x0, 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
RBR
r
Toggle Fields

RBR

Bits 0-7: The SCIn Receiver Buffer Register contains the oldest received byte in the SCIn Rx FIFO..

THR

Transmit Holding Register

Offset: 0x0, 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
THR
w
Toggle Fields

THR

Bits 0-7: Writing to the SCIn Transmit Holding Register causes the data to be stored in the SCIn transmit FIFO..

DLM

Divisor Latch MSB

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
DLMSB
rw
Toggle Fields

DLMSB

Bits 0-7: The SCIn Divisor Latch MSB Register, along with the DLL register, determines the baud rate of the SCIn..

IER

Interrupt Enable Register

Offset: 0x4, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXIE
rw
THREIE
rw
RBRIE
rw
Toggle Fields

RBRIE

Bit 0: RBR Interrupt Enable..

THREIE

Bit 1: THRE Interrupt Enable..

RXIE

Bit 2: RX Line Status Interrupt Enable..

FCR

FIFO Control Register

Offset: 0x8, reset: 0, access: write-only

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
RXTRIGLVL
w
DMAMODE
w
TXFIFORES
w
RXFIFORES
w
FIFOEN
w
Toggle Fields

FIFOEN

Bit 0: FIFO Enable..

RXFIFORES

Bit 1: RX FIFO Reset..

TXFIFORES

Bit 2: TX FIFO Reset..

DMAMODE

Bit 3: DMA Mode Select..

RXTRIGLVL

Bits 6-7: RX Trigger Level..

IIR

Interrupt ID Register

Offset: 0x8, reset: 0x1, access: read-only

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
FIFOENABLE
r
INTID
r
INTSTATUS
r
Toggle Fields

INTSTATUS

Bit 0: Interrupt status..

INTID

Bits 1-3: Interrupt identification..

FIFOENABLE

Bits 6-7: Copies of SCInFCR[0]..

LCR

Line Control Register

Offset: 0xc, 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
DLAB
rw
PS
rw
PE
rw
SBS
rw
WLS
rw
Toggle Fields

WLS

Bits 0-1: Word Length Select..

SBS

Bit 2: Stop Bit Select..

PE

Bit 3: Parity Enable..

PS

Bits 4-5: Parity Select..

DLAB

Bit 7: Divisor Latch Access Bit..

LSR

Line Status Register

Offset: 0x14, reset: 0x60, access: read-only

7/7 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
RXFE
r
TEMT
r
THRE
r
FE
r
PE
r
OE
r
RDR
r
Toggle Fields

RDR

Bit 0: Receiver Data Ready..

OE

Bit 1: Overrun Error..

PE

Bit 2: Parity Error..

FE

Bit 3: Framing Error..

THRE

Bit 5: Transmitter Holding Register Empty..

TEMT

Bit 6: Transmitter Empty..

RXFE

Bit 7: Error in RX FIFO..

SCR

Scratch Pad 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
PAD
rw
Toggle Fields

PAD

Bits 0-7: A readable, writable byte..

OSR

Oversampling register

Offset: 0x2c, reset: 0xF0, access: read-write

0/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
FDINT
rw
OSINT
rw
OSFRAC
rw
Toggle Fields

OSFRAC

Bits 1-3: Fractional part of the oversampling ratio, in units of 1/8th of an input clock period..

OSINT

Bits 4-7: Integer part of the oversampling ratio, minus 1..

FDINT

Bits 8-14: These bits act as a more-significant extension of the OSint field, allowing an oversampling ratio up to 2048 as required by ISO7816-3..

SCICTRL

Smart Card Interface control register

Offset: 0x48, 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
GUARDTIME
rw
TXRETRY
rw
PROTSEL
rw
NACKDIS
rw
SCIEN
rw
Toggle Fields

SCIEN

Bit 0: Smart Card Interface Enable..

NACKDIS

Bit 1: NACK response disable..

PROTSEL

Bit 2: Protocol selection as defined in the ISO7816-3 standard..

TXRETRY

Bits 5-7: Maximum number of retransmissions in case of a negative acknowledge (protocol T=0)..

GUARDTIME

Bits 8-15: Extra guard time..

SPI0

0x40086000: LPC5411x Serial Peripheral Interfaces (SPI)

67/90 fields covered. Toggle Registers

Show register map

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
0x400 CFG
0x404 DLY
0x408 STAT
0x40c INTENSET
0x410 INTENCLR
0x424 DIV
0x428 INTSTAT
0xe00 FIFOCFG
0xe04 FIFOSTAT
0xe08 FIFOTRIG
0xe10 FIFOINTENSET
0xe14 FIFOINTENCLR
0xe18 FIFOINTSTAT
0xe20 FIFOWR
0xe30 FIFORD
0xe40 FIFORDNOPOP
0xffc ID

CFG

SPI Configuration register

Offset: 0x400, reset: 0, 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
SPOL3
rw
SPOL2
rw
SPOL1
rw
SPOL0
rw
LOOP
rw
CPOL
rw
CPHA
rw
LSBF
rw
MASTER
rw
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: SPI enable..

Allowed values:
0: DISABLED: Disabled. The SPI is disabled and the internal state machine and counters are reset.
0x1: ENABLED: Enabled. The SPI is enabled for operation.

MASTER

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.

LSBF

Bit 3: LSB First mode enable..

Allowed values:
0: STANDARD: Standard. Data is transmitted and received in standard MSB first order.
0x1: REVERSE: Reverse. Data is transmitted and received in reverse order (LSB first).

CPHA

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.

CPOL

Bit 5: Clock Polarity select..

Allowed values:
0: LOW: Low. The rest state of the clock (between transfers) is low.
0x1: HIGH: High. The rest state of the clock (between transfers) is high.

LOOP

Bit 7: Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing..

Allowed values:
0: DISABLED: Disabled.
0x1: ENABLED: Enabled.

SPOL0

Bit 8: SSEL0 Polarity select..

Allowed values:
0: LOW: Low. The SSEL0 pin is active low.
0x1: HIGH: High. The SSEL0 pin is active high.

SPOL1

Bit 9: SSEL1 Polarity select..

Allowed values:
0: LOW: Low. The SSEL1 pin is active low.
0x1: HIGH: High. The SSEL1 pin is active high.

SPOL2

Bit 10: SSEL2 Polarity select..

Allowed values:
0: LOW: Low. The SSEL2 pin is active low.
0x1: HIGH: High. The SSEL2 pin is active high.

SPOL3

Bit 11: SSEL3 Polarity select..

Allowed values:
0: LOW: Low. The SSEL3 pin is active low.
0x1: HIGH: High. The SSEL3 pin is active high.

DLY

SPI Delay register

Offset: 0x404, 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
Toggle Fields

PRE_DELAY

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..

POST_DELAY

Bits 4-7: Controls the amount of time between the end of a data transfer and SSEL deassertion. 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..

FRAME_DELAY

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..

TRANSFER_DELAY

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..

STAT

SPI Status. Some status flags can be cleared by writing a 1 to that bit position.

Offset: 0x408, reset: 0x100, access: read-write

2/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
MSTIDLE
r
ENDTRANSFER
rw
STALLED
r
SSD
w
SSA
w
Toggle Fields

SSA

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..

SSD

Bit 5: Slave Select Deassert. This flag is set whenever any asserted slave selects transition to deasserted, in both master and slave modes. This allows determining when the SPI transmit/receive functions become idle. This flag is cleared by software..

STALLED

Bit 6: Stalled status flag. This indicates whether the SPI is currently in a stall condition..

ENDTRANSFER

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..

MSTIDLE

Bit 8: Master idle status flag. This bit is 1 whenever the SPI master function is fully idle. This means that the transmit holding register is empty and the transmitter is not in the process of sending data..

INTENSET

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: 0x40c, 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
MSTIDLEEN
rw
SSDEN
rw
SSAEN
rw
Toggle Fields

SSAEN

Bit 4: Slave select assert interrupt enable. Determines whether an interrupt occurs when the Slave Select is asserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when any Slave Select transitions from deasserted to asserted.
0x1: ENABLED: Enabled. An interrupt will be generated when any Slave Select transitions from deasserted to asserted.

SSDEN

Bit 5: Slave select deassert interrupt enable. Determines whether an interrupt occurs when the Slave Select is deasserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when all asserted Slave Selects transition to deasserted.
0x1: ENABLED: Enabled. An interrupt will be generated when all asserted Slave Selects transition to deasserted.

MSTIDLEEN

Bit 8: Master idle interrupt enable..

Allowed values:
0: DISABLED: No interrupt will be generated when the SPI master function is idle.
0x1: ENABLED: An interrupt will be generated when the SPI master function is fully idle.

INTENCLR

SPI Interrupt Enable Clear. Writing a 1 to any implemented bit position causes the corresponding bit in INTENSET to be cleared.

Offset: 0x410, reset: 0, access: write-only

0/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
MSTIDLE
w
SSDEN
w
SSAEN
w
Toggle Fields

SSAEN

Bit 4: Writing 1 clears the corresponding bit in the INTENSET register..

SSDEN

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

MSTIDLE

Bit 8: Writing 1 clears the corresponding bit in the INTENSET register..

DIV

SPI clock Divider

Offset: 0x424, 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
Toggle Fields

DIVVAL

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..

INTSTAT

SPI Interrupt Status

Offset: 0x428, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSTIDLE
r
SSD
r
SSA
r
Toggle Fields

SSA

Bit 4: Slave Select Assert..

SSD

Bit 5: Slave Select Deassert..

MSTIDLE

Bit 8: Master Idle status flag..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LEN
w
RXIGNORE
w
EOF
w
EOT
w
TXSSEL3_N
w
TXSSEL2_N
w
TXSSEL1_N
w
TXSSEL0_N
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-15: Transmit data to the FIFO..

TXSSEL0_N

Bit 16: Transmit slave select. This field asserts SSEL0 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL0 asserted.
0x1: NOT_ASSERTED: SSEL0 not asserted.

TXSSEL1_N

Bit 17: Transmit slave select. This field asserts SSEL1 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL1 asserted.
0x1: NOT_ASSERTED: SSEL1 not asserted.

TXSSEL2_N

Bit 18: Transmit slave select. This field asserts SSEL2 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL2 asserted.
0x1: NOT_ASSERTED: SSEL2 not asserted.

TXSSEL3_N

Bit 19: Transmit slave select. This field asserts SSEL3 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL3 asserted.
0x1: NOT_ASSERTED: SSEL3 not asserted.

EOT

Bit 20: End of transfer. The asserted SSEL will be deasserted at the end of a transfer and remain so far at least the time specified by the Transfer_delay value in the DLY register..

Allowed values:
0: NOT_DEASSERTED: SSEL not 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: DEASSERTED: SSEL 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.

EOF

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: NOT_EOF: Data not EOF. This piece of data transmitted is not treated as the end of a frame.
0x1: EOF: 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.

RXIGNORE

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: Read received data. Received data must be read in order to allow transmission to progress. SPI transmit will halt when the receive data FIFO is full. In slave mode, an overrun error will occur if received data is not read before new data is received.
0x1: IGNORE: Ignore received data. Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.

LEN

Bits 24-27: Data Length. Specifies the data length from 4 to 16 bits. Note that transfer lengths greater than 16 bits are supported by implementing multiple sequential transmits. 0x0-2 = Reserved. 0x3 = Data transfer is 4 bits in length. 0x4 = Data transfer is 5 bits in length. 0xF = Data transfer is 16 bits in length..

FIFORD

FIFO read data.

Offset: 0xe30, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

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..

RXSSEL1_N

Bit 17: Slave Select for receive. This field allows the state of the SSEL1 pin to be saved along with received data. The value will reflect the SSEL1 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..

RXSSEL2_N

Bit 18: Slave Select for receive. This field allows the state of the SSEL2 pin to be saved along with received data. The value will reflect the SSEL2 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..

RXSSEL3_N

Bit 19: Slave Select for receive. This field allows the state of the SSEL3 pin to be saved along with received data. The value will reflect the SSEL3 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..

SOT

Bit 20: Start of Transfer flag. This flag will be 1 if this is the first data after the SSELs went from deasserted to asserted (i.e., any previous transfer has ended). This information can be used to identify the first piece of data in cases where the transfer length is greater than 16 bits..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

Bit 16: Slave Select for receive..

RXSSEL1_N

Bit 17: Slave Select for receive..

RXSSEL2_N

Bit 18: Slave Select for receive..

RXSSEL3_N

Bit 19: Slave Select for receive..

SOT

Bit 20: Start of transfer flag..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

SPI1

0x40087000: LPC5411x Serial Peripheral Interfaces (SPI)

67/90 fields covered. Toggle Registers

Show register map

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
0x400 CFG
0x404 DLY
0x408 STAT
0x40c INTENSET
0x410 INTENCLR
0x424 DIV
0x428 INTSTAT
0xe00 FIFOCFG
0xe04 FIFOSTAT
0xe08 FIFOTRIG
0xe10 FIFOINTENSET
0xe14 FIFOINTENCLR
0xe18 FIFOINTSTAT
0xe20 FIFOWR
0xe30 FIFORD
0xe40 FIFORDNOPOP
0xffc ID

CFG

SPI Configuration register

Offset: 0x400, reset: 0, 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
SPOL3
rw
SPOL2
rw
SPOL1
rw
SPOL0
rw
LOOP
rw
CPOL
rw
CPHA
rw
LSBF
rw
MASTER
rw
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: SPI enable..

Allowed values:
0: DISABLED: Disabled. The SPI is disabled and the internal state machine and counters are reset.
0x1: ENABLED: Enabled. The SPI is enabled for operation.

MASTER

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.

LSBF

Bit 3: LSB First mode enable..

Allowed values:
0: STANDARD: Standard. Data is transmitted and received in standard MSB first order.
0x1: REVERSE: Reverse. Data is transmitted and received in reverse order (LSB first).

CPHA

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.

CPOL

Bit 5: Clock Polarity select..

Allowed values:
0: LOW: Low. The rest state of the clock (between transfers) is low.
0x1: HIGH: High. The rest state of the clock (between transfers) is high.

LOOP

Bit 7: Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing..

Allowed values:
0: DISABLED: Disabled.
0x1: ENABLED: Enabled.

SPOL0

Bit 8: SSEL0 Polarity select..

Allowed values:
0: LOW: Low. The SSEL0 pin is active low.
0x1: HIGH: High. The SSEL0 pin is active high.

SPOL1

Bit 9: SSEL1 Polarity select..

Allowed values:
0: LOW: Low. The SSEL1 pin is active low.
0x1: HIGH: High. The SSEL1 pin is active high.

SPOL2

Bit 10: SSEL2 Polarity select..

Allowed values:
0: LOW: Low. The SSEL2 pin is active low.
0x1: HIGH: High. The SSEL2 pin is active high.

SPOL3

Bit 11: SSEL3 Polarity select..

Allowed values:
0: LOW: Low. The SSEL3 pin is active low.
0x1: HIGH: High. The SSEL3 pin is active high.

DLY

SPI Delay register

Offset: 0x404, 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
Toggle Fields

PRE_DELAY

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..

POST_DELAY

Bits 4-7: Controls the amount of time between the end of a data transfer and SSEL deassertion. 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..

FRAME_DELAY

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..

TRANSFER_DELAY

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..

STAT

SPI Status. Some status flags can be cleared by writing a 1 to that bit position.

Offset: 0x408, reset: 0x100, access: read-write

2/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
MSTIDLE
r
ENDTRANSFER
rw
STALLED
r
SSD
w
SSA
w
Toggle Fields

SSA

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..

SSD

Bit 5: Slave Select Deassert. This flag is set whenever any asserted slave selects transition to deasserted, in both master and slave modes. This allows determining when the SPI transmit/receive functions become idle. This flag is cleared by software..

STALLED

Bit 6: Stalled status flag. This indicates whether the SPI is currently in a stall condition..

ENDTRANSFER

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..

MSTIDLE

Bit 8: Master idle status flag. This bit is 1 whenever the SPI master function is fully idle. This means that the transmit holding register is empty and the transmitter is not in the process of sending data..

INTENSET

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: 0x40c, 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
MSTIDLEEN
rw
SSDEN
rw
SSAEN
rw
Toggle Fields

SSAEN

Bit 4: Slave select assert interrupt enable. Determines whether an interrupt occurs when the Slave Select is asserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when any Slave Select transitions from deasserted to asserted.
0x1: ENABLED: Enabled. An interrupt will be generated when any Slave Select transitions from deasserted to asserted.

SSDEN

Bit 5: Slave select deassert interrupt enable. Determines whether an interrupt occurs when the Slave Select is deasserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when all asserted Slave Selects transition to deasserted.
0x1: ENABLED: Enabled. An interrupt will be generated when all asserted Slave Selects transition to deasserted.

MSTIDLEEN

Bit 8: Master idle interrupt enable..

Allowed values:
0: DISABLED: No interrupt will be generated when the SPI master function is idle.
0x1: ENABLED: An interrupt will be generated when the SPI master function is fully idle.

INTENCLR

SPI Interrupt Enable Clear. Writing a 1 to any implemented bit position causes the corresponding bit in INTENSET to be cleared.

Offset: 0x410, reset: 0, access: write-only

0/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
MSTIDLE
w
SSDEN
w
SSAEN
w
Toggle Fields

SSAEN

Bit 4: Writing 1 clears the corresponding bit in the INTENSET register..

SSDEN

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

MSTIDLE

Bit 8: Writing 1 clears the corresponding bit in the INTENSET register..

DIV

SPI clock Divider

Offset: 0x424, 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
Toggle Fields

DIVVAL

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..

INTSTAT

SPI Interrupt Status

Offset: 0x428, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSTIDLE
r
SSD
r
SSA
r
Toggle Fields

SSA

Bit 4: Slave Select Assert..

SSD

Bit 5: Slave Select Deassert..

MSTIDLE

Bit 8: Master Idle status flag..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LEN
w
RXIGNORE
w
EOF
w
EOT
w
TXSSEL3_N
w
TXSSEL2_N
w
TXSSEL1_N
w
TXSSEL0_N
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-15: Transmit data to the FIFO..

TXSSEL0_N

Bit 16: Transmit slave select. This field asserts SSEL0 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL0 asserted.
0x1: NOT_ASSERTED: SSEL0 not asserted.

TXSSEL1_N

Bit 17: Transmit slave select. This field asserts SSEL1 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL1 asserted.
0x1: NOT_ASSERTED: SSEL1 not asserted.

TXSSEL2_N

Bit 18: Transmit slave select. This field asserts SSEL2 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL2 asserted.
0x1: NOT_ASSERTED: SSEL2 not asserted.

TXSSEL3_N

Bit 19: Transmit slave select. This field asserts SSEL3 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL3 asserted.
0x1: NOT_ASSERTED: SSEL3 not asserted.

EOT

Bit 20: End of transfer. The asserted SSEL will be deasserted at the end of a transfer and remain so far at least the time specified by the Transfer_delay value in the DLY register..

Allowed values:
0: NOT_DEASSERTED: SSEL not 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: DEASSERTED: SSEL 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.

EOF

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: NOT_EOF: Data not EOF. This piece of data transmitted is not treated as the end of a frame.
0x1: EOF: 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.

RXIGNORE

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: Read received data. Received data must be read in order to allow transmission to progress. SPI transmit will halt when the receive data FIFO is full. In slave mode, an overrun error will occur if received data is not read before new data is received.
0x1: IGNORE: Ignore received data. Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.

LEN

Bits 24-27: Data Length. Specifies the data length from 4 to 16 bits. Note that transfer lengths greater than 16 bits are supported by implementing multiple sequential transmits. 0x0-2 = Reserved. 0x3 = Data transfer is 4 bits in length. 0x4 = Data transfer is 5 bits in length. 0xF = Data transfer is 16 bits in length..

FIFORD

FIFO read data.

Offset: 0xe30, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

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..

RXSSEL1_N

Bit 17: Slave Select for receive. This field allows the state of the SSEL1 pin to be saved along with received data. The value will reflect the SSEL1 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..

RXSSEL2_N

Bit 18: Slave Select for receive. This field allows the state of the SSEL2 pin to be saved along with received data. The value will reflect the SSEL2 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..

RXSSEL3_N

Bit 19: Slave Select for receive. This field allows the state of the SSEL3 pin to be saved along with received data. The value will reflect the SSEL3 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..

SOT

Bit 20: Start of Transfer flag. This flag will be 1 if this is the first data after the SSELs went from deasserted to asserted (i.e., any previous transfer has ended). This information can be used to identify the first piece of data in cases where the transfer length is greater than 16 bits..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

Bit 16: Slave Select for receive..

RXSSEL1_N

Bit 17: Slave Select for receive..

RXSSEL2_N

Bit 18: Slave Select for receive..

RXSSEL3_N

Bit 19: Slave Select for receive..

SOT

Bit 20: Start of transfer flag..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

SPI2

0x40088000: LPC5411x Serial Peripheral Interfaces (SPI)

67/90 fields covered. Toggle Registers

Show register map

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
0x400 CFG
0x404 DLY
0x408 STAT
0x40c INTENSET
0x410 INTENCLR
0x424 DIV
0x428 INTSTAT
0xe00 FIFOCFG
0xe04 FIFOSTAT
0xe08 FIFOTRIG
0xe10 FIFOINTENSET
0xe14 FIFOINTENCLR
0xe18 FIFOINTSTAT
0xe20 FIFOWR
0xe30 FIFORD
0xe40 FIFORDNOPOP
0xffc ID

CFG

SPI Configuration register

Offset: 0x400, reset: 0, 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
SPOL3
rw
SPOL2
rw
SPOL1
rw
SPOL0
rw
LOOP
rw
CPOL
rw
CPHA
rw
LSBF
rw
MASTER
rw
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: SPI enable..

Allowed values:
0: DISABLED: Disabled. The SPI is disabled and the internal state machine and counters are reset.
0x1: ENABLED: Enabled. The SPI is enabled for operation.

MASTER

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.

LSBF

Bit 3: LSB First mode enable..

Allowed values:
0: STANDARD: Standard. Data is transmitted and received in standard MSB first order.
0x1: REVERSE: Reverse. Data is transmitted and received in reverse order (LSB first).

CPHA

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.

CPOL

Bit 5: Clock Polarity select..

Allowed values:
0: LOW: Low. The rest state of the clock (between transfers) is low.
0x1: HIGH: High. The rest state of the clock (between transfers) is high.

LOOP

Bit 7: Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing..

Allowed values:
0: DISABLED: Disabled.
0x1: ENABLED: Enabled.

SPOL0

Bit 8: SSEL0 Polarity select..

Allowed values:
0: LOW: Low. The SSEL0 pin is active low.
0x1: HIGH: High. The SSEL0 pin is active high.

SPOL1

Bit 9: SSEL1 Polarity select..

Allowed values:
0: LOW: Low. The SSEL1 pin is active low.
0x1: HIGH: High. The SSEL1 pin is active high.

SPOL2

Bit 10: SSEL2 Polarity select..

Allowed values:
0: LOW: Low. The SSEL2 pin is active low.
0x1: HIGH: High. The SSEL2 pin is active high.

SPOL3

Bit 11: SSEL3 Polarity select..

Allowed values:
0: LOW: Low. The SSEL3 pin is active low.
0x1: HIGH: High. The SSEL3 pin is active high.

DLY

SPI Delay register

Offset: 0x404, 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
Toggle Fields

PRE_DELAY

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..

POST_DELAY

Bits 4-7: Controls the amount of time between the end of a data transfer and SSEL deassertion. 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..

FRAME_DELAY

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..

TRANSFER_DELAY

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..

STAT

SPI Status. Some status flags can be cleared by writing a 1 to that bit position.

Offset: 0x408, reset: 0x100, access: read-write

2/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
MSTIDLE
r
ENDTRANSFER
rw
STALLED
r
SSD
w
SSA
w
Toggle Fields

SSA

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..

SSD

Bit 5: Slave Select Deassert. This flag is set whenever any asserted slave selects transition to deasserted, in both master and slave modes. This allows determining when the SPI transmit/receive functions become idle. This flag is cleared by software..

STALLED

Bit 6: Stalled status flag. This indicates whether the SPI is currently in a stall condition..

ENDTRANSFER

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..

MSTIDLE

Bit 8: Master idle status flag. This bit is 1 whenever the SPI master function is fully idle. This means that the transmit holding register is empty and the transmitter is not in the process of sending data..

INTENSET

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: 0x40c, 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
MSTIDLEEN
rw
SSDEN
rw
SSAEN
rw
Toggle Fields

SSAEN

Bit 4: Slave select assert interrupt enable. Determines whether an interrupt occurs when the Slave Select is asserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when any Slave Select transitions from deasserted to asserted.
0x1: ENABLED: Enabled. An interrupt will be generated when any Slave Select transitions from deasserted to asserted.

SSDEN

Bit 5: Slave select deassert interrupt enable. Determines whether an interrupt occurs when the Slave Select is deasserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when all asserted Slave Selects transition to deasserted.
0x1: ENABLED: Enabled. An interrupt will be generated when all asserted Slave Selects transition to deasserted.

MSTIDLEEN

Bit 8: Master idle interrupt enable..

Allowed values:
0: DISABLED: No interrupt will be generated when the SPI master function is idle.
0x1: ENABLED: An interrupt will be generated when the SPI master function is fully idle.

INTENCLR

SPI Interrupt Enable Clear. Writing a 1 to any implemented bit position causes the corresponding bit in INTENSET to be cleared.

Offset: 0x410, reset: 0, access: write-only

0/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
MSTIDLE
w
SSDEN
w
SSAEN
w
Toggle Fields

SSAEN

Bit 4: Writing 1 clears the corresponding bit in the INTENSET register..

SSDEN

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

MSTIDLE

Bit 8: Writing 1 clears the corresponding bit in the INTENSET register..

DIV

SPI clock Divider

Offset: 0x424, 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
Toggle Fields

DIVVAL

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..

INTSTAT

SPI Interrupt Status

Offset: 0x428, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSTIDLE
r
SSD
r
SSA
r
Toggle Fields

SSA

Bit 4: Slave Select Assert..

SSD

Bit 5: Slave Select Deassert..

MSTIDLE

Bit 8: Master Idle status flag..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LEN
w
RXIGNORE
w
EOF
w
EOT
w
TXSSEL3_N
w
TXSSEL2_N
w
TXSSEL1_N
w
TXSSEL0_N
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-15: Transmit data to the FIFO..

TXSSEL0_N

Bit 16: Transmit slave select. This field asserts SSEL0 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL0 asserted.
0x1: NOT_ASSERTED: SSEL0 not asserted.

TXSSEL1_N

Bit 17: Transmit slave select. This field asserts SSEL1 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL1 asserted.
0x1: NOT_ASSERTED: SSEL1 not asserted.

TXSSEL2_N

Bit 18: Transmit slave select. This field asserts SSEL2 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL2 asserted.
0x1: NOT_ASSERTED: SSEL2 not asserted.

TXSSEL3_N

Bit 19: Transmit slave select. This field asserts SSEL3 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL3 asserted.
0x1: NOT_ASSERTED: SSEL3 not asserted.

EOT

Bit 20: End of transfer. The asserted SSEL will be deasserted at the end of a transfer and remain so far at least the time specified by the Transfer_delay value in the DLY register..

Allowed values:
0: NOT_DEASSERTED: SSEL not 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: DEASSERTED: SSEL 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.

EOF

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: NOT_EOF: Data not EOF. This piece of data transmitted is not treated as the end of a frame.
0x1: EOF: 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.

RXIGNORE

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: Read received data. Received data must be read in order to allow transmission to progress. SPI transmit will halt when the receive data FIFO is full. In slave mode, an overrun error will occur if received data is not read before new data is received.
0x1: IGNORE: Ignore received data. Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.

LEN

Bits 24-27: Data Length. Specifies the data length from 4 to 16 bits. Note that transfer lengths greater than 16 bits are supported by implementing multiple sequential transmits. 0x0-2 = Reserved. 0x3 = Data transfer is 4 bits in length. 0x4 = Data transfer is 5 bits in length. 0xF = Data transfer is 16 bits in length..

FIFORD

FIFO read data.

Offset: 0xe30, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

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..

RXSSEL1_N

Bit 17: Slave Select for receive. This field allows the state of the SSEL1 pin to be saved along with received data. The value will reflect the SSEL1 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..

RXSSEL2_N

Bit 18: Slave Select for receive. This field allows the state of the SSEL2 pin to be saved along with received data. The value will reflect the SSEL2 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..

RXSSEL3_N

Bit 19: Slave Select for receive. This field allows the state of the SSEL3 pin to be saved along with received data. The value will reflect the SSEL3 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..

SOT

Bit 20: Start of Transfer flag. This flag will be 1 if this is the first data after the SSELs went from deasserted to asserted (i.e., any previous transfer has ended). This information can be used to identify the first piece of data in cases where the transfer length is greater than 16 bits..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

Bit 16: Slave Select for receive..

RXSSEL1_N

Bit 17: Slave Select for receive..

RXSSEL2_N

Bit 18: Slave Select for receive..

RXSSEL3_N

Bit 19: Slave Select for receive..

SOT

Bit 20: Start of transfer flag..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

SPI3

0x40089000: LPC5411x Serial Peripheral Interfaces (SPI)

67/90 fields covered. Toggle Registers

Show register map

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
0x400 CFG
0x404 DLY
0x408 STAT
0x40c INTENSET
0x410 INTENCLR
0x424 DIV
0x428 INTSTAT
0xe00 FIFOCFG
0xe04 FIFOSTAT
0xe08 FIFOTRIG
0xe10 FIFOINTENSET
0xe14 FIFOINTENCLR
0xe18 FIFOINTSTAT
0xe20 FIFOWR
0xe30 FIFORD
0xe40 FIFORDNOPOP
0xffc ID

CFG

SPI Configuration register

Offset: 0x400, reset: 0, 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
SPOL3
rw
SPOL2
rw
SPOL1
rw
SPOL0
rw
LOOP
rw
CPOL
rw
CPHA
rw
LSBF
rw
MASTER
rw
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: SPI enable..

Allowed values:
0: DISABLED: Disabled. The SPI is disabled and the internal state machine and counters are reset.
0x1: ENABLED: Enabled. The SPI is enabled for operation.

MASTER

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.

LSBF

Bit 3: LSB First mode enable..

Allowed values:
0: STANDARD: Standard. Data is transmitted and received in standard MSB first order.
0x1: REVERSE: Reverse. Data is transmitted and received in reverse order (LSB first).

CPHA

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.

CPOL

Bit 5: Clock Polarity select..

Allowed values:
0: LOW: Low. The rest state of the clock (between transfers) is low.
0x1: HIGH: High. The rest state of the clock (between transfers) is high.

LOOP

Bit 7: Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing..

Allowed values:
0: DISABLED: Disabled.
0x1: ENABLED: Enabled.

SPOL0

Bit 8: SSEL0 Polarity select..

Allowed values:
0: LOW: Low. The SSEL0 pin is active low.
0x1: HIGH: High. The SSEL0 pin is active high.

SPOL1

Bit 9: SSEL1 Polarity select..

Allowed values:
0: LOW: Low. The SSEL1 pin is active low.
0x1: HIGH: High. The SSEL1 pin is active high.

SPOL2

Bit 10: SSEL2 Polarity select..

Allowed values:
0: LOW: Low. The SSEL2 pin is active low.
0x1: HIGH: High. The SSEL2 pin is active high.

SPOL3

Bit 11: SSEL3 Polarity select..

Allowed values:
0: LOW: Low. The SSEL3 pin is active low.
0x1: HIGH: High. The SSEL3 pin is active high.

DLY

SPI Delay register

Offset: 0x404, 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
Toggle Fields

PRE_DELAY

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..

POST_DELAY

Bits 4-7: Controls the amount of time between the end of a data transfer and SSEL deassertion. 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..

FRAME_DELAY

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..

TRANSFER_DELAY

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..

STAT

SPI Status. Some status flags can be cleared by writing a 1 to that bit position.

Offset: 0x408, reset: 0x100, access: read-write

2/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
MSTIDLE
r
ENDTRANSFER
rw
STALLED
r
SSD
w
SSA
w
Toggle Fields

SSA

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..

SSD

Bit 5: Slave Select Deassert. This flag is set whenever any asserted slave selects transition to deasserted, in both master and slave modes. This allows determining when the SPI transmit/receive functions become idle. This flag is cleared by software..

STALLED

Bit 6: Stalled status flag. This indicates whether the SPI is currently in a stall condition..

ENDTRANSFER

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..

MSTIDLE

Bit 8: Master idle status flag. This bit is 1 whenever the SPI master function is fully idle. This means that the transmit holding register is empty and the transmitter is not in the process of sending data..

INTENSET

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: 0x40c, 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
MSTIDLEEN
rw
SSDEN
rw
SSAEN
rw
Toggle Fields

SSAEN

Bit 4: Slave select assert interrupt enable. Determines whether an interrupt occurs when the Slave Select is asserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when any Slave Select transitions from deasserted to asserted.
0x1: ENABLED: Enabled. An interrupt will be generated when any Slave Select transitions from deasserted to asserted.

SSDEN

Bit 5: Slave select deassert interrupt enable. Determines whether an interrupt occurs when the Slave Select is deasserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when all asserted Slave Selects transition to deasserted.
0x1: ENABLED: Enabled. An interrupt will be generated when all asserted Slave Selects transition to deasserted.

MSTIDLEEN

Bit 8: Master idle interrupt enable..

Allowed values:
0: DISABLED: No interrupt will be generated when the SPI master function is idle.
0x1: ENABLED: An interrupt will be generated when the SPI master function is fully idle.

INTENCLR

SPI Interrupt Enable Clear. Writing a 1 to any implemented bit position causes the corresponding bit in INTENSET to be cleared.

Offset: 0x410, reset: 0, access: write-only

0/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
MSTIDLE
w
SSDEN
w
SSAEN
w
Toggle Fields

SSAEN

Bit 4: Writing 1 clears the corresponding bit in the INTENSET register..

SSDEN

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

MSTIDLE

Bit 8: Writing 1 clears the corresponding bit in the INTENSET register..

DIV

SPI clock Divider

Offset: 0x424, 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
Toggle Fields

DIVVAL

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..

INTSTAT

SPI Interrupt Status

Offset: 0x428, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSTIDLE
r
SSD
r
SSA
r
Toggle Fields

SSA

Bit 4: Slave Select Assert..

SSD

Bit 5: Slave Select Deassert..

MSTIDLE

Bit 8: Master Idle status flag..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LEN
w
RXIGNORE
w
EOF
w
EOT
w
TXSSEL3_N
w
TXSSEL2_N
w
TXSSEL1_N
w
TXSSEL0_N
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-15: Transmit data to the FIFO..

TXSSEL0_N

Bit 16: Transmit slave select. This field asserts SSEL0 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL0 asserted.
0x1: NOT_ASSERTED: SSEL0 not asserted.

TXSSEL1_N

Bit 17: Transmit slave select. This field asserts SSEL1 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL1 asserted.
0x1: NOT_ASSERTED: SSEL1 not asserted.

TXSSEL2_N

Bit 18: Transmit slave select. This field asserts SSEL2 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL2 asserted.
0x1: NOT_ASSERTED: SSEL2 not asserted.

TXSSEL3_N

Bit 19: Transmit slave select. This field asserts SSEL3 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL3 asserted.
0x1: NOT_ASSERTED: SSEL3 not asserted.

EOT

Bit 20: End of transfer. The asserted SSEL will be deasserted at the end of a transfer and remain so far at least the time specified by the Transfer_delay value in the DLY register..

Allowed values:
0: NOT_DEASSERTED: SSEL not 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: DEASSERTED: SSEL 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.

EOF

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: NOT_EOF: Data not EOF. This piece of data transmitted is not treated as the end of a frame.
0x1: EOF: 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.

RXIGNORE

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: Read received data. Received data must be read in order to allow transmission to progress. SPI transmit will halt when the receive data FIFO is full. In slave mode, an overrun error will occur if received data is not read before new data is received.
0x1: IGNORE: Ignore received data. Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.

LEN

Bits 24-27: Data Length. Specifies the data length from 4 to 16 bits. Note that transfer lengths greater than 16 bits are supported by implementing multiple sequential transmits. 0x0-2 = Reserved. 0x3 = Data transfer is 4 bits in length. 0x4 = Data transfer is 5 bits in length. 0xF = Data transfer is 16 bits in length..

FIFORD

FIFO read data.

Offset: 0xe30, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

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..

RXSSEL1_N

Bit 17: Slave Select for receive. This field allows the state of the SSEL1 pin to be saved along with received data. The value will reflect the SSEL1 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..

RXSSEL2_N

Bit 18: Slave Select for receive. This field allows the state of the SSEL2 pin to be saved along with received data. The value will reflect the SSEL2 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..

RXSSEL3_N

Bit 19: Slave Select for receive. This field allows the state of the SSEL3 pin to be saved along with received data. The value will reflect the SSEL3 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..

SOT

Bit 20: Start of Transfer flag. This flag will be 1 if this is the first data after the SSELs went from deasserted to asserted (i.e., any previous transfer has ended). This information can be used to identify the first piece of data in cases where the transfer length is greater than 16 bits..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

Bit 16: Slave Select for receive..

RXSSEL1_N

Bit 17: Slave Select for receive..

RXSSEL2_N

Bit 18: Slave Select for receive..

RXSSEL3_N

Bit 19: Slave Select for receive..

SOT

Bit 20: Start of transfer flag..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

SPI4

0x4008a000: LPC5411x Serial Peripheral Interfaces (SPI)

67/90 fields covered. Toggle Registers

Show register map

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
0x400 CFG
0x404 DLY
0x408 STAT
0x40c INTENSET
0x410 INTENCLR
0x424 DIV
0x428 INTSTAT
0xe00 FIFOCFG
0xe04 FIFOSTAT
0xe08 FIFOTRIG
0xe10 FIFOINTENSET
0xe14 FIFOINTENCLR
0xe18 FIFOINTSTAT
0xe20 FIFOWR
0xe30 FIFORD
0xe40 FIFORDNOPOP
0xffc ID

CFG

SPI Configuration register

Offset: 0x400, reset: 0, 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
SPOL3
rw
SPOL2
rw
SPOL1
rw
SPOL0
rw
LOOP
rw
CPOL
rw
CPHA
rw
LSBF
rw
MASTER
rw
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: SPI enable..

Allowed values:
0: DISABLED: Disabled. The SPI is disabled and the internal state machine and counters are reset.
0x1: ENABLED: Enabled. The SPI is enabled for operation.

MASTER

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.

LSBF

Bit 3: LSB First mode enable..

Allowed values:
0: STANDARD: Standard. Data is transmitted and received in standard MSB first order.
0x1: REVERSE: Reverse. Data is transmitted and received in reverse order (LSB first).

CPHA

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.

CPOL

Bit 5: Clock Polarity select..

Allowed values:
0: LOW: Low. The rest state of the clock (between transfers) is low.
0x1: HIGH: High. The rest state of the clock (between transfers) is high.

LOOP

Bit 7: Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing..

Allowed values:
0: DISABLED: Disabled.
0x1: ENABLED: Enabled.

SPOL0

Bit 8: SSEL0 Polarity select..

Allowed values:
0: LOW: Low. The SSEL0 pin is active low.
0x1: HIGH: High. The SSEL0 pin is active high.

SPOL1

Bit 9: SSEL1 Polarity select..

Allowed values:
0: LOW: Low. The SSEL1 pin is active low.
0x1: HIGH: High. The SSEL1 pin is active high.

SPOL2

Bit 10: SSEL2 Polarity select..

Allowed values:
0: LOW: Low. The SSEL2 pin is active low.
0x1: HIGH: High. The SSEL2 pin is active high.

SPOL3

Bit 11: SSEL3 Polarity select..

Allowed values:
0: LOW: Low. The SSEL3 pin is active low.
0x1: HIGH: High. The SSEL3 pin is active high.

DLY

SPI Delay register

Offset: 0x404, 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
Toggle Fields

PRE_DELAY

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..

POST_DELAY

Bits 4-7: Controls the amount of time between the end of a data transfer and SSEL deassertion. 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..

FRAME_DELAY

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..

TRANSFER_DELAY

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..

STAT

SPI Status. Some status flags can be cleared by writing a 1 to that bit position.

Offset: 0x408, reset: 0x100, access: read-write

2/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
MSTIDLE
r
ENDTRANSFER
rw
STALLED
r
SSD
w
SSA
w
Toggle Fields

SSA

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..

SSD

Bit 5: Slave Select Deassert. This flag is set whenever any asserted slave selects transition to deasserted, in both master and slave modes. This allows determining when the SPI transmit/receive functions become idle. This flag is cleared by software..

STALLED

Bit 6: Stalled status flag. This indicates whether the SPI is currently in a stall condition..

ENDTRANSFER

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..

MSTIDLE

Bit 8: Master idle status flag. This bit is 1 whenever the SPI master function is fully idle. This means that the transmit holding register is empty and the transmitter is not in the process of sending data..

INTENSET

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: 0x40c, 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
MSTIDLEEN
rw
SSDEN
rw
SSAEN
rw
Toggle Fields

SSAEN

Bit 4: Slave select assert interrupt enable. Determines whether an interrupt occurs when the Slave Select is asserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when any Slave Select transitions from deasserted to asserted.
0x1: ENABLED: Enabled. An interrupt will be generated when any Slave Select transitions from deasserted to asserted.

SSDEN

Bit 5: Slave select deassert interrupt enable. Determines whether an interrupt occurs when the Slave Select is deasserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when all asserted Slave Selects transition to deasserted.
0x1: ENABLED: Enabled. An interrupt will be generated when all asserted Slave Selects transition to deasserted.

MSTIDLEEN

Bit 8: Master idle interrupt enable..

Allowed values:
0: DISABLED: No interrupt will be generated when the SPI master function is idle.
0x1: ENABLED: An interrupt will be generated when the SPI master function is fully idle.

INTENCLR

SPI Interrupt Enable Clear. Writing a 1 to any implemented bit position causes the corresponding bit in INTENSET to be cleared.

Offset: 0x410, reset: 0, access: write-only

0/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
MSTIDLE
w
SSDEN
w
SSAEN
w
Toggle Fields

SSAEN

Bit 4: Writing 1 clears the corresponding bit in the INTENSET register..

SSDEN

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

MSTIDLE

Bit 8: Writing 1 clears the corresponding bit in the INTENSET register..

DIV

SPI clock Divider

Offset: 0x424, 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
Toggle Fields

DIVVAL

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..

INTSTAT

SPI Interrupt Status

Offset: 0x428, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSTIDLE
r
SSD
r
SSA
r
Toggle Fields

SSA

Bit 4: Slave Select Assert..

SSD

Bit 5: Slave Select Deassert..

MSTIDLE

Bit 8: Master Idle status flag..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LEN
w
RXIGNORE
w
EOF
w
EOT
w
TXSSEL3_N
w
TXSSEL2_N
w
TXSSEL1_N
w
TXSSEL0_N
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-15: Transmit data to the FIFO..

TXSSEL0_N

Bit 16: Transmit slave select. This field asserts SSEL0 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL0 asserted.
0x1: NOT_ASSERTED: SSEL0 not asserted.

TXSSEL1_N

Bit 17: Transmit slave select. This field asserts SSEL1 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL1 asserted.
0x1: NOT_ASSERTED: SSEL1 not asserted.

TXSSEL2_N

Bit 18: Transmit slave select. This field asserts SSEL2 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL2 asserted.
0x1: NOT_ASSERTED: SSEL2 not asserted.

TXSSEL3_N

Bit 19: Transmit slave select. This field asserts SSEL3 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL3 asserted.
0x1: NOT_ASSERTED: SSEL3 not asserted.

EOT

Bit 20: End of transfer. The asserted SSEL will be deasserted at the end of a transfer and remain so far at least the time specified by the Transfer_delay value in the DLY register..

Allowed values:
0: NOT_DEASSERTED: SSEL not 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: DEASSERTED: SSEL 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.

EOF

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: NOT_EOF: Data not EOF. This piece of data transmitted is not treated as the end of a frame.
0x1: EOF: 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.

RXIGNORE

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: Read received data. Received data must be read in order to allow transmission to progress. SPI transmit will halt when the receive data FIFO is full. In slave mode, an overrun error will occur if received data is not read before new data is received.
0x1: IGNORE: Ignore received data. Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.

LEN

Bits 24-27: Data Length. Specifies the data length from 4 to 16 bits. Note that transfer lengths greater than 16 bits are supported by implementing multiple sequential transmits. 0x0-2 = Reserved. 0x3 = Data transfer is 4 bits in length. 0x4 = Data transfer is 5 bits in length. 0xF = Data transfer is 16 bits in length..

FIFORD

FIFO read data.

Offset: 0xe30, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

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..

RXSSEL1_N

Bit 17: Slave Select for receive. This field allows the state of the SSEL1 pin to be saved along with received data. The value will reflect the SSEL1 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..

RXSSEL2_N

Bit 18: Slave Select for receive. This field allows the state of the SSEL2 pin to be saved along with received data. The value will reflect the SSEL2 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..

RXSSEL3_N

Bit 19: Slave Select for receive. This field allows the state of the SSEL3 pin to be saved along with received data. The value will reflect the SSEL3 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..

SOT

Bit 20: Start of Transfer flag. This flag will be 1 if this is the first data after the SSELs went from deasserted to asserted (i.e., any previous transfer has ended). This information can be used to identify the first piece of data in cases where the transfer length is greater than 16 bits..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

Bit 16: Slave Select for receive..

RXSSEL1_N

Bit 17: Slave Select for receive..

RXSSEL2_N

Bit 18: Slave Select for receive..

RXSSEL3_N

Bit 19: Slave Select for receive..

SOT

Bit 20: Start of transfer flag..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

SPI5

0x40096000: LPC5411x Serial Peripheral Interfaces (SPI)

67/90 fields covered. Toggle Registers

Show register map

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
0x400 CFG
0x404 DLY
0x408 STAT
0x40c INTENSET
0x410 INTENCLR
0x424 DIV
0x428 INTSTAT
0xe00 FIFOCFG
0xe04 FIFOSTAT
0xe08 FIFOTRIG
0xe10 FIFOINTENSET
0xe14 FIFOINTENCLR
0xe18 FIFOINTSTAT
0xe20 FIFOWR
0xe30 FIFORD
0xe40 FIFORDNOPOP
0xffc ID

CFG

SPI Configuration register

Offset: 0x400, reset: 0, 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
SPOL3
rw
SPOL2
rw
SPOL1
rw
SPOL0
rw
LOOP
rw
CPOL
rw
CPHA
rw
LSBF
rw
MASTER
rw
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: SPI enable..

Allowed values:
0: DISABLED: Disabled. The SPI is disabled and the internal state machine and counters are reset.
0x1: ENABLED: Enabled. The SPI is enabled for operation.

MASTER

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.

LSBF

Bit 3: LSB First mode enable..

Allowed values:
0: STANDARD: Standard. Data is transmitted and received in standard MSB first order.
0x1: REVERSE: Reverse. Data is transmitted and received in reverse order (LSB first).

CPHA

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.

CPOL

Bit 5: Clock Polarity select..

Allowed values:
0: LOW: Low. The rest state of the clock (between transfers) is low.
0x1: HIGH: High. The rest state of the clock (between transfers) is high.

LOOP

Bit 7: Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing..

Allowed values:
0: DISABLED: Disabled.
0x1: ENABLED: Enabled.

SPOL0

Bit 8: SSEL0 Polarity select..

Allowed values:
0: LOW: Low. The SSEL0 pin is active low.
0x1: HIGH: High. The SSEL0 pin is active high.

SPOL1

Bit 9: SSEL1 Polarity select..

Allowed values:
0: LOW: Low. The SSEL1 pin is active low.
0x1: HIGH: High. The SSEL1 pin is active high.

SPOL2

Bit 10: SSEL2 Polarity select..

Allowed values:
0: LOW: Low. The SSEL2 pin is active low.
0x1: HIGH: High. The SSEL2 pin is active high.

SPOL3

Bit 11: SSEL3 Polarity select..

Allowed values:
0: LOW: Low. The SSEL3 pin is active low.
0x1: HIGH: High. The SSEL3 pin is active high.

DLY

SPI Delay register

Offset: 0x404, 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
Toggle Fields

PRE_DELAY

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..

POST_DELAY

Bits 4-7: Controls the amount of time between the end of a data transfer and SSEL deassertion. 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..

FRAME_DELAY

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..

TRANSFER_DELAY

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..

STAT

SPI Status. Some status flags can be cleared by writing a 1 to that bit position.

Offset: 0x408, reset: 0x100, access: read-write

2/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
MSTIDLE
r
ENDTRANSFER
rw
STALLED
r
SSD
w
SSA
w
Toggle Fields

SSA

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..

SSD

Bit 5: Slave Select Deassert. This flag is set whenever any asserted slave selects transition to deasserted, in both master and slave modes. This allows determining when the SPI transmit/receive functions become idle. This flag is cleared by software..

STALLED

Bit 6: Stalled status flag. This indicates whether the SPI is currently in a stall condition..

ENDTRANSFER

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..

MSTIDLE

Bit 8: Master idle status flag. This bit is 1 whenever the SPI master function is fully idle. This means that the transmit holding register is empty and the transmitter is not in the process of sending data..

INTENSET

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: 0x40c, 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
MSTIDLEEN
rw
SSDEN
rw
SSAEN
rw
Toggle Fields

SSAEN

Bit 4: Slave select assert interrupt enable. Determines whether an interrupt occurs when the Slave Select is asserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when any Slave Select transitions from deasserted to asserted.
0x1: ENABLED: Enabled. An interrupt will be generated when any Slave Select transitions from deasserted to asserted.

SSDEN

Bit 5: Slave select deassert interrupt enable. Determines whether an interrupt occurs when the Slave Select is deasserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when all asserted Slave Selects transition to deasserted.
0x1: ENABLED: Enabled. An interrupt will be generated when all asserted Slave Selects transition to deasserted.

MSTIDLEEN

Bit 8: Master idle interrupt enable..

Allowed values:
0: DISABLED: No interrupt will be generated when the SPI master function is idle.
0x1: ENABLED: An interrupt will be generated when the SPI master function is fully idle.

INTENCLR

SPI Interrupt Enable Clear. Writing a 1 to any implemented bit position causes the corresponding bit in INTENSET to be cleared.

Offset: 0x410, reset: 0, access: write-only

0/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
MSTIDLE
w
SSDEN
w
SSAEN
w
Toggle Fields

SSAEN

Bit 4: Writing 1 clears the corresponding bit in the INTENSET register..

SSDEN

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

MSTIDLE

Bit 8: Writing 1 clears the corresponding bit in the INTENSET register..

DIV

SPI clock Divider

Offset: 0x424, 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
Toggle Fields

DIVVAL

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..

INTSTAT

SPI Interrupt Status

Offset: 0x428, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSTIDLE
r
SSD
r
SSA
r
Toggle Fields

SSA

Bit 4: Slave Select Assert..

SSD

Bit 5: Slave Select Deassert..

MSTIDLE

Bit 8: Master Idle status flag..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LEN
w
RXIGNORE
w
EOF
w
EOT
w
TXSSEL3_N
w
TXSSEL2_N
w
TXSSEL1_N
w
TXSSEL0_N
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-15: Transmit data to the FIFO..

TXSSEL0_N

Bit 16: Transmit slave select. This field asserts SSEL0 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL0 asserted.
0x1: NOT_ASSERTED: SSEL0 not asserted.

TXSSEL1_N

Bit 17: Transmit slave select. This field asserts SSEL1 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL1 asserted.
0x1: NOT_ASSERTED: SSEL1 not asserted.

TXSSEL2_N

Bit 18: Transmit slave select. This field asserts SSEL2 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL2 asserted.
0x1: NOT_ASSERTED: SSEL2 not asserted.

TXSSEL3_N

Bit 19: Transmit slave select. This field asserts SSEL3 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL3 asserted.
0x1: NOT_ASSERTED: SSEL3 not asserted.

EOT

Bit 20: End of transfer. The asserted SSEL will be deasserted at the end of a transfer and remain so far at least the time specified by the Transfer_delay value in the DLY register..

Allowed values:
0: NOT_DEASSERTED: SSEL not 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: DEASSERTED: SSEL 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.

EOF

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: NOT_EOF: Data not EOF. This piece of data transmitted is not treated as the end of a frame.
0x1: EOF: 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.

RXIGNORE

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: Read received data. Received data must be read in order to allow transmission to progress. SPI transmit will halt when the receive data FIFO is full. In slave mode, an overrun error will occur if received data is not read before new data is received.
0x1: IGNORE: Ignore received data. Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.

LEN

Bits 24-27: Data Length. Specifies the data length from 4 to 16 bits. Note that transfer lengths greater than 16 bits are supported by implementing multiple sequential transmits. 0x0-2 = Reserved. 0x3 = Data transfer is 4 bits in length. 0x4 = Data transfer is 5 bits in length. 0xF = Data transfer is 16 bits in length..

FIFORD

FIFO read data.

Offset: 0xe30, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

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..

RXSSEL1_N

Bit 17: Slave Select for receive. This field allows the state of the SSEL1 pin to be saved along with received data. The value will reflect the SSEL1 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..

RXSSEL2_N

Bit 18: Slave Select for receive. This field allows the state of the SSEL2 pin to be saved along with received data. The value will reflect the SSEL2 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..

RXSSEL3_N

Bit 19: Slave Select for receive. This field allows the state of the SSEL3 pin to be saved along with received data. The value will reflect the SSEL3 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..

SOT

Bit 20: Start of Transfer flag. This flag will be 1 if this is the first data after the SSELs went from deasserted to asserted (i.e., any previous transfer has ended). This information can be used to identify the first piece of data in cases where the transfer length is greater than 16 bits..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

Bit 16: Slave Select for receive..

RXSSEL1_N

Bit 17: Slave Select for receive..

RXSSEL2_N

Bit 18: Slave Select for receive..

RXSSEL3_N

Bit 19: Slave Select for receive..

SOT

Bit 20: Start of transfer flag..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

SPI6

0x40097000: LPC5411x Serial Peripheral Interfaces (SPI)

67/90 fields covered. Toggle Registers

Show register map

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
0x400 CFG
0x404 DLY
0x408 STAT
0x40c INTENSET
0x410 INTENCLR
0x424 DIV
0x428 INTSTAT
0xe00 FIFOCFG
0xe04 FIFOSTAT
0xe08 FIFOTRIG
0xe10 FIFOINTENSET
0xe14 FIFOINTENCLR
0xe18 FIFOINTSTAT
0xe20 FIFOWR
0xe30 FIFORD
0xe40 FIFORDNOPOP
0xffc ID

CFG

SPI Configuration register

Offset: 0x400, reset: 0, 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
SPOL3
rw
SPOL2
rw
SPOL1
rw
SPOL0
rw
LOOP
rw
CPOL
rw
CPHA
rw
LSBF
rw
MASTER
rw
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: SPI enable..

Allowed values:
0: DISABLED: Disabled. The SPI is disabled and the internal state machine and counters are reset.
0x1: ENABLED: Enabled. The SPI is enabled for operation.

MASTER

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.

LSBF

Bit 3: LSB First mode enable..

Allowed values:
0: STANDARD: Standard. Data is transmitted and received in standard MSB first order.
0x1: REVERSE: Reverse. Data is transmitted and received in reverse order (LSB first).

CPHA

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.

CPOL

Bit 5: Clock Polarity select..

Allowed values:
0: LOW: Low. The rest state of the clock (between transfers) is low.
0x1: HIGH: High. The rest state of the clock (between transfers) is high.

LOOP

Bit 7: Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing..

Allowed values:
0: DISABLED: Disabled.
0x1: ENABLED: Enabled.

SPOL0

Bit 8: SSEL0 Polarity select..

Allowed values:
0: LOW: Low. The SSEL0 pin is active low.
0x1: HIGH: High. The SSEL0 pin is active high.

SPOL1

Bit 9: SSEL1 Polarity select..

Allowed values:
0: LOW: Low. The SSEL1 pin is active low.
0x1: HIGH: High. The SSEL1 pin is active high.

SPOL2

Bit 10: SSEL2 Polarity select..

Allowed values:
0: LOW: Low. The SSEL2 pin is active low.
0x1: HIGH: High. The SSEL2 pin is active high.

SPOL3

Bit 11: SSEL3 Polarity select..

Allowed values:
0: LOW: Low. The SSEL3 pin is active low.
0x1: HIGH: High. The SSEL3 pin is active high.

DLY

SPI Delay register

Offset: 0x404, 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
Toggle Fields

PRE_DELAY

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..

POST_DELAY

Bits 4-7: Controls the amount of time between the end of a data transfer and SSEL deassertion. 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..

FRAME_DELAY

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..

TRANSFER_DELAY

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..

STAT

SPI Status. Some status flags can be cleared by writing a 1 to that bit position.

Offset: 0x408, reset: 0x100, access: read-write

2/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
MSTIDLE
r
ENDTRANSFER
rw
STALLED
r
SSD
w
SSA
w
Toggle Fields

SSA

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..

SSD

Bit 5: Slave Select Deassert. This flag is set whenever any asserted slave selects transition to deasserted, in both master and slave modes. This allows determining when the SPI transmit/receive functions become idle. This flag is cleared by software..

STALLED

Bit 6: Stalled status flag. This indicates whether the SPI is currently in a stall condition..

ENDTRANSFER

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..

MSTIDLE

Bit 8: Master idle status flag. This bit is 1 whenever the SPI master function is fully idle. This means that the transmit holding register is empty and the transmitter is not in the process of sending data..

INTENSET

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: 0x40c, 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
MSTIDLEEN
rw
SSDEN
rw
SSAEN
rw
Toggle Fields

SSAEN

Bit 4: Slave select assert interrupt enable. Determines whether an interrupt occurs when the Slave Select is asserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when any Slave Select transitions from deasserted to asserted.
0x1: ENABLED: Enabled. An interrupt will be generated when any Slave Select transitions from deasserted to asserted.

SSDEN

Bit 5: Slave select deassert interrupt enable. Determines whether an interrupt occurs when the Slave Select is deasserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when all asserted Slave Selects transition to deasserted.
0x1: ENABLED: Enabled. An interrupt will be generated when all asserted Slave Selects transition to deasserted.

MSTIDLEEN

Bit 8: Master idle interrupt enable..

Allowed values:
0: DISABLED: No interrupt will be generated when the SPI master function is idle.
0x1: ENABLED: An interrupt will be generated when the SPI master function is fully idle.

INTENCLR

SPI Interrupt Enable Clear. Writing a 1 to any implemented bit position causes the corresponding bit in INTENSET to be cleared.

Offset: 0x410, reset: 0, access: write-only

0/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
MSTIDLE
w
SSDEN
w
SSAEN
w
Toggle Fields

SSAEN

Bit 4: Writing 1 clears the corresponding bit in the INTENSET register..

SSDEN

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

MSTIDLE

Bit 8: Writing 1 clears the corresponding bit in the INTENSET register..

DIV

SPI clock Divider

Offset: 0x424, 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
Toggle Fields

DIVVAL

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..

INTSTAT

SPI Interrupt Status

Offset: 0x428, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSTIDLE
r
SSD
r
SSA
r
Toggle Fields

SSA

Bit 4: Slave Select Assert..

SSD

Bit 5: Slave Select Deassert..

MSTIDLE

Bit 8: Master Idle status flag..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LEN
w
RXIGNORE
w
EOF
w
EOT
w
TXSSEL3_N
w
TXSSEL2_N
w
TXSSEL1_N
w
TXSSEL0_N
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-15: Transmit data to the FIFO..

TXSSEL0_N

Bit 16: Transmit slave select. This field asserts SSEL0 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL0 asserted.
0x1: NOT_ASSERTED: SSEL0 not asserted.

TXSSEL1_N

Bit 17: Transmit slave select. This field asserts SSEL1 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL1 asserted.
0x1: NOT_ASSERTED: SSEL1 not asserted.

TXSSEL2_N

Bit 18: Transmit slave select. This field asserts SSEL2 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL2 asserted.
0x1: NOT_ASSERTED: SSEL2 not asserted.

TXSSEL3_N

Bit 19: Transmit slave select. This field asserts SSEL3 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL3 asserted.
0x1: NOT_ASSERTED: SSEL3 not asserted.

EOT

Bit 20: End of transfer. The asserted SSEL will be deasserted at the end of a transfer and remain so far at least the time specified by the Transfer_delay value in the DLY register..

Allowed values:
0: NOT_DEASSERTED: SSEL not 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: DEASSERTED: SSEL 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.

EOF

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: NOT_EOF: Data not EOF. This piece of data transmitted is not treated as the end of a frame.
0x1: EOF: 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.

RXIGNORE

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: Read received data. Received data must be read in order to allow transmission to progress. SPI transmit will halt when the receive data FIFO is full. In slave mode, an overrun error will occur if received data is not read before new data is received.
0x1: IGNORE: Ignore received data. Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.

LEN

Bits 24-27: Data Length. Specifies the data length from 4 to 16 bits. Note that transfer lengths greater than 16 bits are supported by implementing multiple sequential transmits. 0x0-2 = Reserved. 0x3 = Data transfer is 4 bits in length. 0x4 = Data transfer is 5 bits in length. 0xF = Data transfer is 16 bits in length..

FIFORD

FIFO read data.

Offset: 0xe30, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

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..

RXSSEL1_N

Bit 17: Slave Select for receive. This field allows the state of the SSEL1 pin to be saved along with received data. The value will reflect the SSEL1 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..

RXSSEL2_N

Bit 18: Slave Select for receive. This field allows the state of the SSEL2 pin to be saved along with received data. The value will reflect the SSEL2 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..

RXSSEL3_N

Bit 19: Slave Select for receive. This field allows the state of the SSEL3 pin to be saved along with received data. The value will reflect the SSEL3 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..

SOT

Bit 20: Start of Transfer flag. This flag will be 1 if this is the first data after the SSELs went from deasserted to asserted (i.e., any previous transfer has ended). This information can be used to identify the first piece of data in cases where the transfer length is greater than 16 bits..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

Bit 16: Slave Select for receive..

RXSSEL1_N

Bit 17: Slave Select for receive..

RXSSEL2_N

Bit 18: Slave Select for receive..

RXSSEL3_N

Bit 19: Slave Select for receive..

SOT

Bit 20: Start of transfer flag..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

SPI7

0x40098000: LPC5411x Serial Peripheral Interfaces (SPI)

67/90 fields covered. Toggle Registers

Show register map

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
0x400 CFG
0x404 DLY
0x408 STAT
0x40c INTENSET
0x410 INTENCLR
0x424 DIV
0x428 INTSTAT
0xe00 FIFOCFG
0xe04 FIFOSTAT
0xe08 FIFOTRIG
0xe10 FIFOINTENSET
0xe14 FIFOINTENCLR
0xe18 FIFOINTSTAT
0xe20 FIFOWR
0xe30 FIFORD
0xe40 FIFORDNOPOP
0xffc ID

CFG

SPI Configuration register

Offset: 0x400, reset: 0, 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
SPOL3
rw
SPOL2
rw
SPOL1
rw
SPOL0
rw
LOOP
rw
CPOL
rw
CPHA
rw
LSBF
rw
MASTER
rw
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: SPI enable..

Allowed values:
0: DISABLED: Disabled. The SPI is disabled and the internal state machine and counters are reset.
0x1: ENABLED: Enabled. The SPI is enabled for operation.

MASTER

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.

LSBF

Bit 3: LSB First mode enable..

Allowed values:
0: STANDARD: Standard. Data is transmitted and received in standard MSB first order.
0x1: REVERSE: Reverse. Data is transmitted and received in reverse order (LSB first).

CPHA

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.

CPOL

Bit 5: Clock Polarity select..

Allowed values:
0: LOW: Low. The rest state of the clock (between transfers) is low.
0x1: HIGH: High. The rest state of the clock (between transfers) is high.

LOOP

Bit 7: Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing..

Allowed values:
0: DISABLED: Disabled.
0x1: ENABLED: Enabled.

SPOL0

Bit 8: SSEL0 Polarity select..

Allowed values:
0: LOW: Low. The SSEL0 pin is active low.
0x1: HIGH: High. The SSEL0 pin is active high.

SPOL1

Bit 9: SSEL1 Polarity select..

Allowed values:
0: LOW: Low. The SSEL1 pin is active low.
0x1: HIGH: High. The SSEL1 pin is active high.

SPOL2

Bit 10: SSEL2 Polarity select..

Allowed values:
0: LOW: Low. The SSEL2 pin is active low.
0x1: HIGH: High. The SSEL2 pin is active high.

SPOL3

Bit 11: SSEL3 Polarity select..

Allowed values:
0: LOW: Low. The SSEL3 pin is active low.
0x1: HIGH: High. The SSEL3 pin is active high.

DLY

SPI Delay register

Offset: 0x404, 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
Toggle Fields

PRE_DELAY

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..

POST_DELAY

Bits 4-7: Controls the amount of time between the end of a data transfer and SSEL deassertion. 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..

FRAME_DELAY

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..

TRANSFER_DELAY

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..

STAT

SPI Status. Some status flags can be cleared by writing a 1 to that bit position.

Offset: 0x408, reset: 0x100, access: read-write

2/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
MSTIDLE
r
ENDTRANSFER
rw
STALLED
r
SSD
w
SSA
w
Toggle Fields

SSA

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..

SSD

Bit 5: Slave Select Deassert. This flag is set whenever any asserted slave selects transition to deasserted, in both master and slave modes. This allows determining when the SPI transmit/receive functions become idle. This flag is cleared by software..

STALLED

Bit 6: Stalled status flag. This indicates whether the SPI is currently in a stall condition..

ENDTRANSFER

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..

MSTIDLE

Bit 8: Master idle status flag. This bit is 1 whenever the SPI master function is fully idle. This means that the transmit holding register is empty and the transmitter is not in the process of sending data..

INTENSET

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: 0x40c, 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
MSTIDLEEN
rw
SSDEN
rw
SSAEN
rw
Toggle Fields

SSAEN

Bit 4: Slave select assert interrupt enable. Determines whether an interrupt occurs when the Slave Select is asserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when any Slave Select transitions from deasserted to asserted.
0x1: ENABLED: Enabled. An interrupt will be generated when any Slave Select transitions from deasserted to asserted.

SSDEN

Bit 5: Slave select deassert interrupt enable. Determines whether an interrupt occurs when the Slave Select is deasserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when all asserted Slave Selects transition to deasserted.
0x1: ENABLED: Enabled. An interrupt will be generated when all asserted Slave Selects transition to deasserted.

MSTIDLEEN

Bit 8: Master idle interrupt enable..

Allowed values:
0: DISABLED: No interrupt will be generated when the SPI master function is idle.
0x1: ENABLED: An interrupt will be generated when the SPI master function is fully idle.

INTENCLR

SPI Interrupt Enable Clear. Writing a 1 to any implemented bit position causes the corresponding bit in INTENSET to be cleared.

Offset: 0x410, reset: 0, access: write-only

0/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
MSTIDLE
w
SSDEN
w
SSAEN
w
Toggle Fields

SSAEN

Bit 4: Writing 1 clears the corresponding bit in the INTENSET register..

SSDEN

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

MSTIDLE

Bit 8: Writing 1 clears the corresponding bit in the INTENSET register..

DIV

SPI clock Divider

Offset: 0x424, 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
Toggle Fields

DIVVAL

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..

INTSTAT

SPI Interrupt Status

Offset: 0x428, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSTIDLE
r
SSD
r
SSA
r
Toggle Fields

SSA

Bit 4: Slave Select Assert..

SSD

Bit 5: Slave Select Deassert..

MSTIDLE

Bit 8: Master Idle status flag..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LEN
w
RXIGNORE
w
EOF
w
EOT
w
TXSSEL3_N
w
TXSSEL2_N
w
TXSSEL1_N
w
TXSSEL0_N
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-15: Transmit data to the FIFO..

TXSSEL0_N

Bit 16: Transmit slave select. This field asserts SSEL0 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL0 asserted.
0x1: NOT_ASSERTED: SSEL0 not asserted.

TXSSEL1_N

Bit 17: Transmit slave select. This field asserts SSEL1 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL1 asserted.
0x1: NOT_ASSERTED: SSEL1 not asserted.

TXSSEL2_N

Bit 18: Transmit slave select. This field asserts SSEL2 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL2 asserted.
0x1: NOT_ASSERTED: SSEL2 not asserted.

TXSSEL3_N

Bit 19: Transmit slave select. This field asserts SSEL3 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL3 asserted.
0x1: NOT_ASSERTED: SSEL3 not asserted.

EOT

Bit 20: End of transfer. The asserted SSEL will be deasserted at the end of a transfer and remain so far at least the time specified by the Transfer_delay value in the DLY register..

Allowed values:
0: NOT_DEASSERTED: SSEL not 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: DEASSERTED: SSEL 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.

EOF

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: NOT_EOF: Data not EOF. This piece of data transmitted is not treated as the end of a frame.
0x1: EOF: 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.

RXIGNORE

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: Read received data. Received data must be read in order to allow transmission to progress. SPI transmit will halt when the receive data FIFO is full. In slave mode, an overrun error will occur if received data is not read before new data is received.
0x1: IGNORE: Ignore received data. Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.

LEN

Bits 24-27: Data Length. Specifies the data length from 4 to 16 bits. Note that transfer lengths greater than 16 bits are supported by implementing multiple sequential transmits. 0x0-2 = Reserved. 0x3 = Data transfer is 4 bits in length. 0x4 = Data transfer is 5 bits in length. 0xF = Data transfer is 16 bits in length..

FIFORD

FIFO read data.

Offset: 0xe30, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

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..

RXSSEL1_N

Bit 17: Slave Select for receive. This field allows the state of the SSEL1 pin to be saved along with received data. The value will reflect the SSEL1 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..

RXSSEL2_N

Bit 18: Slave Select for receive. This field allows the state of the SSEL2 pin to be saved along with received data. The value will reflect the SSEL2 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..

RXSSEL3_N

Bit 19: Slave Select for receive. This field allows the state of the SSEL3 pin to be saved along with received data. The value will reflect the SSEL3 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..

SOT

Bit 20: Start of Transfer flag. This flag will be 1 if this is the first data after the SSELs went from deasserted to asserted (i.e., any previous transfer has ended). This information can be used to identify the first piece of data in cases where the transfer length is greater than 16 bits..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

Bit 16: Slave Select for receive..

RXSSEL1_N

Bit 17: Slave Select for receive..

RXSSEL2_N

Bit 18: Slave Select for receive..

RXSSEL3_N

Bit 19: Slave Select for receive..

SOT

Bit 20: Start of transfer flag..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

SPI8

0x40099000: LPC5411x Serial Peripheral Interfaces (SPI)

67/90 fields covered. Toggle Registers

Show register map

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
0x400 CFG
0x404 DLY
0x408 STAT
0x40c INTENSET
0x410 INTENCLR
0x424 DIV
0x428 INTSTAT
0xe00 FIFOCFG
0xe04 FIFOSTAT
0xe08 FIFOTRIG
0xe10 FIFOINTENSET
0xe14 FIFOINTENCLR
0xe18 FIFOINTSTAT
0xe20 FIFOWR
0xe30 FIFORD
0xe40 FIFORDNOPOP
0xffc ID

CFG

SPI Configuration register

Offset: 0x400, reset: 0, 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
SPOL3
rw
SPOL2
rw
SPOL1
rw
SPOL0
rw
LOOP
rw
CPOL
rw
CPHA
rw
LSBF
rw
MASTER
rw
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: SPI enable..

Allowed values:
0: DISABLED: Disabled. The SPI is disabled and the internal state machine and counters are reset.
0x1: ENABLED: Enabled. The SPI is enabled for operation.

MASTER

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.

LSBF

Bit 3: LSB First mode enable..

Allowed values:
0: STANDARD: Standard. Data is transmitted and received in standard MSB first order.
0x1: REVERSE: Reverse. Data is transmitted and received in reverse order (LSB first).

CPHA

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.

CPOL

Bit 5: Clock Polarity select..

Allowed values:
0: LOW: Low. The rest state of the clock (between transfers) is low.
0x1: HIGH: High. The rest state of the clock (between transfers) is high.

LOOP

Bit 7: Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing..

Allowed values:
0: DISABLED: Disabled.
0x1: ENABLED: Enabled.

SPOL0

Bit 8: SSEL0 Polarity select..

Allowed values:
0: LOW: Low. The SSEL0 pin is active low.
0x1: HIGH: High. The SSEL0 pin is active high.

SPOL1

Bit 9: SSEL1 Polarity select..

Allowed values:
0: LOW: Low. The SSEL1 pin is active low.
0x1: HIGH: High. The SSEL1 pin is active high.

SPOL2

Bit 10: SSEL2 Polarity select..

Allowed values:
0: LOW: Low. The SSEL2 pin is active low.
0x1: HIGH: High. The SSEL2 pin is active high.

SPOL3

Bit 11: SSEL3 Polarity select..

Allowed values:
0: LOW: Low. The SSEL3 pin is active low.
0x1: HIGH: High. The SSEL3 pin is active high.

DLY

SPI Delay register

Offset: 0x404, 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
Toggle Fields

PRE_DELAY

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..

POST_DELAY

Bits 4-7: Controls the amount of time between the end of a data transfer and SSEL deassertion. 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..

FRAME_DELAY

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..

TRANSFER_DELAY

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..

STAT

SPI Status. Some status flags can be cleared by writing a 1 to that bit position.

Offset: 0x408, reset: 0x100, access: read-write

2/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
MSTIDLE
r
ENDTRANSFER
rw
STALLED
r
SSD
w
SSA
w
Toggle Fields

SSA

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..

SSD

Bit 5: Slave Select Deassert. This flag is set whenever any asserted slave selects transition to deasserted, in both master and slave modes. This allows determining when the SPI transmit/receive functions become idle. This flag is cleared by software..

STALLED

Bit 6: Stalled status flag. This indicates whether the SPI is currently in a stall condition..

ENDTRANSFER

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..

MSTIDLE

Bit 8: Master idle status flag. This bit is 1 whenever the SPI master function is fully idle. This means that the transmit holding register is empty and the transmitter is not in the process of sending data..

INTENSET

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: 0x40c, 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
MSTIDLEEN
rw
SSDEN
rw
SSAEN
rw
Toggle Fields

SSAEN

Bit 4: Slave select assert interrupt enable. Determines whether an interrupt occurs when the Slave Select is asserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when any Slave Select transitions from deasserted to asserted.
0x1: ENABLED: Enabled. An interrupt will be generated when any Slave Select transitions from deasserted to asserted.

SSDEN

Bit 5: Slave select deassert interrupt enable. Determines whether an interrupt occurs when the Slave Select is deasserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when all asserted Slave Selects transition to deasserted.
0x1: ENABLED: Enabled. An interrupt will be generated when all asserted Slave Selects transition to deasserted.

MSTIDLEEN

Bit 8: Master idle interrupt enable..

Allowed values:
0: DISABLED: No interrupt will be generated when the SPI master function is idle.
0x1: ENABLED: An interrupt will be generated when the SPI master function is fully idle.

INTENCLR

SPI Interrupt Enable Clear. Writing a 1 to any implemented bit position causes the corresponding bit in INTENSET to be cleared.

Offset: 0x410, reset: 0, access: write-only

0/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
MSTIDLE
w
SSDEN
w
SSAEN
w
Toggle Fields

SSAEN

Bit 4: Writing 1 clears the corresponding bit in the INTENSET register..

SSDEN

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

MSTIDLE

Bit 8: Writing 1 clears the corresponding bit in the INTENSET register..

DIV

SPI clock Divider

Offset: 0x424, 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
Toggle Fields

DIVVAL

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..

INTSTAT

SPI Interrupt Status

Offset: 0x428, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSTIDLE
r
SSD
r
SSA
r
Toggle Fields

SSA

Bit 4: Slave Select Assert..

SSD

Bit 5: Slave Select Deassert..

MSTIDLE

Bit 8: Master Idle status flag..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LEN
w
RXIGNORE
w
EOF
w
EOT
w
TXSSEL3_N
w
TXSSEL2_N
w
TXSSEL1_N
w
TXSSEL0_N
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-15: Transmit data to the FIFO..

TXSSEL0_N

Bit 16: Transmit slave select. This field asserts SSEL0 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL0 asserted.
0x1: NOT_ASSERTED: SSEL0 not asserted.

TXSSEL1_N

Bit 17: Transmit slave select. This field asserts SSEL1 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL1 asserted.
0x1: NOT_ASSERTED: SSEL1 not asserted.

TXSSEL2_N

Bit 18: Transmit slave select. This field asserts SSEL2 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL2 asserted.
0x1: NOT_ASSERTED: SSEL2 not asserted.

TXSSEL3_N

Bit 19: Transmit slave select. This field asserts SSEL3 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL3 asserted.
0x1: NOT_ASSERTED: SSEL3 not asserted.

EOT

Bit 20: End of transfer. The asserted SSEL will be deasserted at the end of a transfer and remain so far at least the time specified by the Transfer_delay value in the DLY register..

Allowed values:
0: NOT_DEASSERTED: SSEL not 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: DEASSERTED: SSEL 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.

EOF

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: NOT_EOF: Data not EOF. This piece of data transmitted is not treated as the end of a frame.
0x1: EOF: 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.

RXIGNORE

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: Read received data. Received data must be read in order to allow transmission to progress. SPI transmit will halt when the receive data FIFO is full. In slave mode, an overrun error will occur if received data is not read before new data is received.
0x1: IGNORE: Ignore received data. Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.

LEN

Bits 24-27: Data Length. Specifies the data length from 4 to 16 bits. Note that transfer lengths greater than 16 bits are supported by implementing multiple sequential transmits. 0x0-2 = Reserved. 0x3 = Data transfer is 4 bits in length. 0x4 = Data transfer is 5 bits in length. 0xF = Data transfer is 16 bits in length..

FIFORD

FIFO read data.

Offset: 0xe30, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

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..

RXSSEL1_N

Bit 17: Slave Select for receive. This field allows the state of the SSEL1 pin to be saved along with received data. The value will reflect the SSEL1 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..

RXSSEL2_N

Bit 18: Slave Select for receive. This field allows the state of the SSEL2 pin to be saved along with received data. The value will reflect the SSEL2 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..

RXSSEL3_N

Bit 19: Slave Select for receive. This field allows the state of the SSEL3 pin to be saved along with received data. The value will reflect the SSEL3 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..

SOT

Bit 20: Start of Transfer flag. This flag will be 1 if this is the first data after the SSELs went from deasserted to asserted (i.e., any previous transfer has ended). This information can be used to identify the first piece of data in cases where the transfer length is greater than 16 bits..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

Bit 16: Slave Select for receive..

RXSSEL1_N

Bit 17: Slave Select for receive..

RXSSEL2_N

Bit 18: Slave Select for receive..

RXSSEL3_N

Bit 19: Slave Select for receive..

SOT

Bit 20: Start of transfer flag..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

SPI9

0x4009a000: LPC5411x Serial Peripheral Interfaces (SPI)

67/90 fields covered. Toggle Registers

Show register map

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
0x400 CFG
0x404 DLY
0x408 STAT
0x40c INTENSET
0x410 INTENCLR
0x424 DIV
0x428 INTSTAT
0xe00 FIFOCFG
0xe04 FIFOSTAT
0xe08 FIFOTRIG
0xe10 FIFOINTENSET
0xe14 FIFOINTENCLR
0xe18 FIFOINTSTAT
0xe20 FIFOWR
0xe30 FIFORD
0xe40 FIFORDNOPOP
0xffc ID

CFG

SPI Configuration register

Offset: 0x400, reset: 0, 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
SPOL3
rw
SPOL2
rw
SPOL1
rw
SPOL0
rw
LOOP
rw
CPOL
rw
CPHA
rw
LSBF
rw
MASTER
rw
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: SPI enable..

Allowed values:
0: DISABLED: Disabled. The SPI is disabled and the internal state machine and counters are reset.
0x1: ENABLED: Enabled. The SPI is enabled for operation.

MASTER

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.

LSBF

Bit 3: LSB First mode enable..

Allowed values:
0: STANDARD: Standard. Data is transmitted and received in standard MSB first order.
0x1: REVERSE: Reverse. Data is transmitted and received in reverse order (LSB first).

CPHA

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.

CPOL

Bit 5: Clock Polarity select..

Allowed values:
0: LOW: Low. The rest state of the clock (between transfers) is low.
0x1: HIGH: High. The rest state of the clock (between transfers) is high.

LOOP

Bit 7: Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing..

Allowed values:
0: DISABLED: Disabled.
0x1: ENABLED: Enabled.

SPOL0

Bit 8: SSEL0 Polarity select..

Allowed values:
0: LOW: Low. The SSEL0 pin is active low.
0x1: HIGH: High. The SSEL0 pin is active high.

SPOL1

Bit 9: SSEL1 Polarity select..

Allowed values:
0: LOW: Low. The SSEL1 pin is active low.
0x1: HIGH: High. The SSEL1 pin is active high.

SPOL2

Bit 10: SSEL2 Polarity select..

Allowed values:
0: LOW: Low. The SSEL2 pin is active low.
0x1: HIGH: High. The SSEL2 pin is active high.

SPOL3

Bit 11: SSEL3 Polarity select..

Allowed values:
0: LOW: Low. The SSEL3 pin is active low.
0x1: HIGH: High. The SSEL3 pin is active high.

DLY

SPI Delay register

Offset: 0x404, 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
Toggle Fields

PRE_DELAY

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..

POST_DELAY

Bits 4-7: Controls the amount of time between the end of a data transfer and SSEL deassertion. 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..

FRAME_DELAY

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..

TRANSFER_DELAY

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..

STAT

SPI Status. Some status flags can be cleared by writing a 1 to that bit position.

Offset: 0x408, reset: 0x100, access: read-write

2/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
MSTIDLE
r
ENDTRANSFER
rw
STALLED
r
SSD
w
SSA
w
Toggle Fields

SSA

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..

SSD

Bit 5: Slave Select Deassert. This flag is set whenever any asserted slave selects transition to deasserted, in both master and slave modes. This allows determining when the SPI transmit/receive functions become idle. This flag is cleared by software..

STALLED

Bit 6: Stalled status flag. This indicates whether the SPI is currently in a stall condition..

ENDTRANSFER

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..

MSTIDLE

Bit 8: Master idle status flag. This bit is 1 whenever the SPI master function is fully idle. This means that the transmit holding register is empty and the transmitter is not in the process of sending data..

INTENSET

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: 0x40c, 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
MSTIDLEEN
rw
SSDEN
rw
SSAEN
rw
Toggle Fields

SSAEN

Bit 4: Slave select assert interrupt enable. Determines whether an interrupt occurs when the Slave Select is asserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when any Slave Select transitions from deasserted to asserted.
0x1: ENABLED: Enabled. An interrupt will be generated when any Slave Select transitions from deasserted to asserted.

SSDEN

Bit 5: Slave select deassert interrupt enable. Determines whether an interrupt occurs when the Slave Select is deasserted..

Allowed values:
0: DISABLED: Disabled. No interrupt will be generated when all asserted Slave Selects transition to deasserted.
0x1: ENABLED: Enabled. An interrupt will be generated when all asserted Slave Selects transition to deasserted.

MSTIDLEEN

Bit 8: Master idle interrupt enable..

Allowed values:
0: DISABLED: No interrupt will be generated when the SPI master function is idle.
0x1: ENABLED: An interrupt will be generated when the SPI master function is fully idle.

INTENCLR

SPI Interrupt Enable Clear. Writing a 1 to any implemented bit position causes the corresponding bit in INTENSET to be cleared.

Offset: 0x410, reset: 0, access: write-only

0/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
MSTIDLE
w
SSDEN
w
SSAEN
w
Toggle Fields

SSAEN

Bit 4: Writing 1 clears the corresponding bit in the INTENSET register..

SSDEN

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

MSTIDLE

Bit 8: Writing 1 clears the corresponding bit in the INTENSET register..

DIV

SPI clock Divider

Offset: 0x424, 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
Toggle Fields

DIVVAL

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..

INTSTAT

SPI Interrupt Status

Offset: 0x428, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSTIDLE
r
SSD
r
SSA
r
Toggle Fields

SSA

Bit 4: Slave Select Assert..

SSD

Bit 5: Slave Select Deassert..

MSTIDLE

Bit 8: Master Idle status flag..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, reset: 0, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LEN
w
RXIGNORE
w
EOF
w
EOT
w
TXSSEL3_N
w
TXSSEL2_N
w
TXSSEL1_N
w
TXSSEL0_N
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-15: Transmit data to the FIFO..

TXSSEL0_N

Bit 16: Transmit slave select. This field asserts SSEL0 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL0 asserted.
0x1: NOT_ASSERTED: SSEL0 not asserted.

TXSSEL1_N

Bit 17: Transmit slave select. This field asserts SSEL1 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL1 asserted.
0x1: NOT_ASSERTED: SSEL1 not asserted.

TXSSEL2_N

Bit 18: Transmit slave select. This field asserts SSEL2 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL2 asserted.
0x1: NOT_ASSERTED: SSEL2 not asserted.

TXSSEL3_N

Bit 19: Transmit slave select. This field asserts SSEL3 in master mode. The output on the pin is active LOW by default..

Allowed values:
0: ASSERTED: SSEL3 asserted.
0x1: NOT_ASSERTED: SSEL3 not asserted.

EOT

Bit 20: End of transfer. The asserted SSEL will be deasserted at the end of a transfer and remain so far at least the time specified by the Transfer_delay value in the DLY register..

Allowed values:
0: NOT_DEASSERTED: SSEL not 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: DEASSERTED: SSEL 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.

EOF

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: NOT_EOF: Data not EOF. This piece of data transmitted is not treated as the end of a frame.
0x1: EOF: 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.

RXIGNORE

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: Read received data. Received data must be read in order to allow transmission to progress. SPI transmit will halt when the receive data FIFO is full. In slave mode, an overrun error will occur if received data is not read before new data is received.
0x1: IGNORE: Ignore received data. Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.

LEN

Bits 24-27: Data Length. Specifies the data length from 4 to 16 bits. Note that transfer lengths greater than 16 bits are supported by implementing multiple sequential transmits. 0x0-2 = Reserved. 0x3 = Data transfer is 4 bits in length. 0x4 = Data transfer is 5 bits in length. 0xF = Data transfer is 16 bits in length..

FIFORD

FIFO read data.

Offset: 0xe30, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

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..

RXSSEL1_N

Bit 17: Slave Select for receive. This field allows the state of the SSEL1 pin to be saved along with received data. The value will reflect the SSEL1 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..

RXSSEL2_N

Bit 18: Slave Select for receive. This field allows the state of the SSEL2 pin to be saved along with received data. The value will reflect the SSEL2 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..

RXSSEL3_N

Bit 19: Slave Select for receive. This field allows the state of the SSEL3 pin to be saved along with received data. The value will reflect the SSEL3 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..

SOT

Bit 20: Start of Transfer flag. This flag will be 1 if this is the first data after the SSELs went from deasserted to asserted (i.e., any previous transfer has ended). This information can be used to identify the first piece of data in cases where the transfer length is greater than 16 bits..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, reset: 0, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOT
r
RXSSEL3_N
r
RXSSEL2_N
r
RXSSEL1_N
r
RXSSEL0_N
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle Fields

RXDATA

Bits 0-15: Received data from the FIFO..

RXSSEL0_N

Bit 16: Slave Select for receive..

RXSSEL1_N

Bit 17: Slave Select for receive..

RXSSEL2_N

Bit 18: Slave Select for receive..

RXSSEL3_N

Bit 19: Slave Select for receive..

SOT

Bit 20: Start of transfer flag..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

SPIFI0

0x40080000: LPC5411x SPI Flash Interface (SPIFI)

10/31 fields covered. Toggle Registers

Show register map

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 CMD
0x8 ADDR
0xc IDATA
0x10 CLIMIT
0x14 DATA
0x18 MCMD
0x1c STAT

CTRL

SPIFI control register

Offset: 0x0, reset: 0x400FFFFF, access: read-write

5/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAEN
rw
FBCLK
rw
RFCLK
rw
DUAL
rw
PRFTCH_DIS
rw
MODE3
rw
INTEN
rw
D_PRFTCH_DIS
rw
CSHIGH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIMEOUT
rw
Toggle Fields

TIMEOUT

Bits 0-15: This field contains the number of serial clock periods without the processor reading data in memory mode, which will cause the SPIFI hardware to terminate the command by driving the CS pin high and negating the CMD bit in the Status register. (This allows the flash memory to enter a lower-power state.) If the processor reads data from the flash region after a time-out, the command in the Memory Command Register is issued again..

CSHIGH

Bits 16-19: This field controls the minimum CS high time, expressed as a number of serial clock periods minus one..

D_PRFTCH_DIS

Bit 21: This bit allows conditioning of memory mode prefetches based on the AHB HPROT (instruction/data) access information. A 1 in this register means that the SPIFI will not attempt a speculative prefetch when it encounters data accesses..

INTEN

Bit 22: If this bit is 1 when a command ends, the SPIFI will assert its interrupt request output. See INTRQ in the status register for further details..

MODE3

Bit 23: SPI Mode 3 select..

Allowed values:
0: SCK_LOW: SCK LOW. The SPIFI drives SCK low after the rising edge at which the last bit of each command is captured, and keeps it low while CS is HIGH.
0x1: SCK_HIGH: SCK HIGH. the SPIFI keeps SCK high after the rising edge for the last bit of each command and while CS is HIGH, and drives it low after it drives CS LOW. (Known serial flash devices can handle either mode, but some devices may require a particular mode for proper operation.) MODE3, RFCLK, and FBCLK should not all be 1, because in this case there is no final falling edge on SCK on which to sample the last data bit of the frame.

PRFTCH_DIS

Bit 27: Cache prefetching enable. The SPIFI includes an internal cache. A 1 in this bit disables prefetching of cache lines..

Allowed values:
0: ENABLE: Enable. Cache prefetching enabled.
0x1: DISABLE: Disable. Disables prefetching of cache lines.

DUAL

Bit 28: Select dual protocol..

Allowed values:
0: QUAD: Quad protocol. This protocol uses IO3:0.
0x1: DUAL: Dual protocol. This protocol uses IO1:0.

RFCLK

Bit 29: Select active clock edge for input data..

Allowed values:
0: RISING_EDGE: Rising edge. Read data is sampled on rising edges on the clock, as in classic SPI operation.
0x1: FALLING_EDGE: Falling edge. Read data is sampled on falling edges of the clock, allowing a full serial clock of of time in order to maximize the serial clock frequency. MODE3, RFCLK, and FBCLK should not all be 1, because in this case there is no final falling edge on SCK on which to sample the last data bit of the frame.

FBCLK

Bit 30: Feedback clock select..

Allowed values:
0: INTERNAL_CLOCK: Internal clock. The SPIFI samples read data using an internal clock.
0x1: FEEDBACK_CLOCK: Feedback clock. Read data is sampled using a feedback clock from the SCK pin. This allows slightly more time for each received bit. MODE3, RFCLK, and FBCLK should not all be 1, because in this case there is no final falling edge on SCK on which to sample the last data bit of the frame.

DMAEN

Bit 31: A 1 in this bit enables the DMA Request output from the SPIFI. Set this bit only when a DMA channel is used to transfer data in peripheral mode. Do not set this bit when a DMA channel is used for memory-to-memory transfers from the SPIFI memory area. DMAEN should only be used in Command mode..

CMD

SPIFI command register

Offset: 0x4, reset: 0, access: read-write

3/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OPCODE
rw
FRAMEFORM
rw
FIELDFORM
rw
INTLEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DOUT
rw
POLL
rw
DATALEN
rw
Toggle Fields

DATALEN

Bits 0-13: Except when the POLL bit in this register is 1, this field controls how many data bytes are in the command. 0 indicates that the command does not contain a data field..

POLL

Bit 14: This bit should be written as 1 only with an opcode that a) contains an input data field, and b) causes the serial flash device to return byte status repetitively (e.g., a Read Status command). When this bit is 1, the SPIFI hardware continues to read bytes until the test specified by the DATALEN field is met. The hardware tests the bit in each status byte selected by DATALEN bits 2:0, until a bit is found that is equal to DATALEN bit 3. When the test succeeds, the SPIFI captures the byte that meets this test so that it can be read from the Data Register, and terminates the command by raising CS. The end-of-command interrupt can be enabled to inform software when this occurs.

DOUT

Bit 15: If the DATALEN field is not zero, this bit controls the direction of the data:.

Allowed values:
0: INPUT: Input from serial flash.
0x1: OUTPUT: Output to serial flash.

INTLEN

Bits 16-18: This field controls how many intermediate bytes precede the data. (Each such byte may require 8 or 2 SCK cycles, depending on whether the intermediate field is in serial, 2-bit, or 4-bit format.) Intermediate bytes are output by the SPIFI, and include post-address control information, dummy and delay bytes. See the description of the Intermediate Data register for the contents of such bytes..

FIELDFORM

Bits 19-20: This field controls how the fields of the command are sent..

Allowed values:
0: ALL_SERIAL: All serial. All fields of the command are serial.
0x1: QUAD_DUAL_DATA: Quad/dual data. Data field is quad/dual, other fields are serial.
0x2: SERIAL_OPCODE: Serial opcode. Opcode field is serial. Other fields are quad/dual.
0x3: ALL_QUAD_DUAL: All quad/dual. All fields of the command are in quad/dual format.

FRAMEFORM

Bits 21-23: This field controls the opcode and address fields..

Allowed values:
0x1: OPCODE: Opcode. Opcode only, no address.
0x2: OPCODE_1_BYTE: Opcode one byte. Opcode, least significant byte of address.
0x3: OPCODE_2_BYTES: Opcode two bytes. Opcode, two least significant bytes of address.
0x4: OPCODE_3_BYTES: Opcode three bytes. Opcode, three least significant bytes of address.
0x5: OPCODE_4_BYTES: Opcode four bytes. Opcode, 4 bytes of address.
0x6: NO_OPCODE_3_BYTES: No opcode three bytes. No opcode, 3 least significant bytes of address.
0x7: NO_OPCODE_4_BYTES: No opcode four bytes. No opcode, 4 bytes of address.

OPCODE

Bits 24-31: The opcode of the command (not used for some FRAMEFORM values)..

ADDR

SPIFI address register

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
ADDRESS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 0-31: Address..

IDATA

SPIFI intermediate data 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
IDATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDATA
rw
Toggle Fields

IDATA

Bits 0-31: Value of intermediate bytes..

CLIMIT

SPIFI limit register

Offset: 0x10, reset: 0x8000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CLIMIT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLIMIT
rw
Toggle Fields

CLIMIT

Bits 0-31: Zero-based upper limit of cacheable memory.

DATA

SPIFI data register

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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle Fields

DATA

Bits 0-31: Input or output data.

MCMD

SPIFI memory command register

Offset: 0x18, reset: 0, access: read-write

2/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OPCODE
rw
FRAMEFORM
rw
FIELDFORM
rw
INTLEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DOUT
rw
POLL
rw
Toggle Fields

POLL

Bit 14: This bit should be written as 0..

DOUT

Bit 15: This bit should be written as 0..

INTLEN

Bits 16-18: This field controls how many intermediate bytes precede the data. (Each such byte may require 8 or 2 SCK cycles, depending on whether the intermediate field is in serial, 2-bit, or 4-bit format.) Intermediate bytes are output by the SPIFI, and include post-address control information, dummy and delay bytes. See the description of the Intermediate Data register for the contents of such bytes..

FIELDFORM

Bits 19-20: This field controls how the fields of the command are sent..

Allowed values:
0: ALL_SERIAL: All serial. All fields of the command are serial.
0x1: QUAD_DUAL_DATA: Quad/dual data. Data field is quad/dual, other fields are serial.
0x2: SERIAL_OPCODE: Serial opcode. Opcode field is serial. Other fields are quad/dual.
0x3: ALL_QUAD_DUAL: All quad/dual. All fields of the command are in quad/dual format.

FRAMEFORM

Bits 21-23: This field controls the opcode and address fields..

Allowed values:
0x1: OPCODE: Opcode. Opcode only, no address.
0x2: OPCODE_1_BYTE: Opcode one byte. Opcode, least-significant byte of address.
0x3: OPCODE_2_BYTES: Opcode two bytes. Opcode, 2 least-significant bytes of address.
0x4: OPCODE_3_BYTES: Opcode three bytes. Opcode, 3 least-significant bytes of address.
0x5: OPCODE_4_BYTES: Opcode four bytes. Opcode, 4 bytes of address.
0x6: NO_OPCODE_3_BYTES: No opcode three bytes. No opcode, 3 least-significant bytes of address.
0x7: NO_OPCODE_4_BYTES: No opcode, 4 bytes of address.

OPCODE

Bits 24-31: The opcode of the command (not used for some FRAMEFORM values)..

STAT

SPIFI status register

Offset: 0x1c, reset: 0x2000000, 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
INTRQ
rw
RESET
rw
CMD
rw
MCINIT
rw
Toggle Fields

MCINIT

Bit 0: This bit is set when software successfully writes the Memory Command register, and is cleared by Reset or by writing a 1 to the RESET bit in this register..

CMD

Bit 1: This bit is 1 when the Command register is written. It is cleared by a hardware reset, a write to the RESET bit in this register, or the deassertion of CS which indicates that the command has completed communication with the SPI Flash..

RESET

Bit 4: Write a 1 to this bit to abort a current command or memory mode. This bit is cleared when the hardware is ready for a new command to be written to the Command register..

INTRQ

Bit 5: This bit reflects the SPIFI interrupt request. Write a 1 to this bit to clear it. This bit is set when a CMD was previously 1 and has been cleared due to the deassertion of CS..

SYSCON

0x40000000: LPC5460x System configuration (SYSCON)

54/514 fields covered. Toggle Registers

Show register map

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 AHBMATPRIO
0x40 SYSTCKCAL
0x48 NMISRC
0x4c ASYNCAPBCTRL
0xc0 PIOPORCAP[[0]]
0xc4 PIOPORCAP[[1]]
0xd0 PIORESCAP[[0]]
0xd4 PIORESCAP[[1]]
0x100 PRESETCTRL0
0x104 PRESETCTRL1
0x108 PRESETCTRL2
0x120 PRESETCTRLSET[[0]]
0x124 PRESETCTRLSET[[1]]
0x128 PRESETCTRLSET[[2]]
0x140 PRESETCTRLCLR[[0]]
0x144 PRESETCTRLCLR[[1]]
0x148 PRESETCTRLCLR[[2]]
0x1f0 SYSRSTSTAT
0x200 AHBCLKCTRL0
0x204 AHBCLKCTRL1
0x208 AHBCLKCTRL2
0x220 AHBCLKCTRLSET[[0]]
0x224 AHBCLKCTRLSET[[1]]
0x228 AHBCLKCTRLSET[[2]]
0x240 AHBCLKCTRLCLR[[0]]
0x244 AHBCLKCTRLCLR[[1]]
0x248 AHBCLKCTRLCLR[[2]]
0x280 MAINCLKSELA
0x284 MAINCLKSELB
0x288 CLKOUTSELA
0x290 SYSPLLCLKSEL
0x298 AUDPLLCLKSEL
0x2a0 SPIFICLKSEL
0x2a4 ADCCLKSEL
0x2a8 USB0CLKSEL
0x2ac USB1CLKSEL
0x2b0 FCLKSEL[[0]]
0x2b4 FCLKSEL[[1]]
0x2b8 FCLKSEL[[2]]
0x2bc FCLKSEL[[3]]
0x2c0 FCLKSEL[[4]]
0x2c4 FCLKSEL[[5]]
0x2c8 FCLKSEL[[6]]
0x2cc FCLKSEL[[7]]
0x2d0 FCLKSEL[[8]]
0x2d4 FCLKSEL[[9]]
0x2e0 MCLKCLKSEL
0x2e8 FRGCLKSEL
0x2ec DMICCLKSEL
0x2f0 SCTCLKSEL
0x2f4 LCDCLKSEL
0x2f8 SDIOCLKSEL
0x300 SYSTICKCLKDIV
0x304 ARMTRACECLKDIV
0x308 CAN0CLKDIV
0x30c CAN1CLKDIV
0x310 SC0CLKDIV
0x314 SC1CLKDIV
0x380 AHBCLKDIV
0x384 CLKOUTDIV
0x388 FROHFCLKDIV
0x390 SPIFICLKDIV
0x394 ADCCLKDIV
0x398 USB0CLKDIV
0x39c USB1CLKDIV
0x3a0 FRGCTRL
0x3a8 DMICCLKDIV
0x3ac MCLKDIV
0x3b0 LCDCLKDIV
0x3b4 SCTCLKDIV
0x3b8 EMCCLKDIV
0x3bc SDIOCLKDIV
0x400 FLASHCFG
0x40c USB0CLKCTRL
0x410 USB0CLKSTAT
0x418 FREQMECTRL
0x420 MCLKIO
0x424 USB1CLKCTRL
0x428 USB1CLKSTAT
0x444 EMCSYSCTRL
0x448 EMCDLYCTRL
0x44c EMCDLYCAL
0x450 ETHPHYSEL
0x454 ETHSBDCTRL
0x460 SDIOCLKCTRL
0x500 FROCTRL
0x504 SYSOSCCTRL
0x508 WDTOSCCTRL
0x50c RTCOSCCTRL
0x51c USBPLLCTRL
0x520 USBPLLSTAT
0x580 SYSPLLCTRL
0x584 SYSPLLSTAT
0x588 SYSPLLNDEC
0x58c SYSPLLPDEC
0x590 SYSPLLMDEC
0x5a0 AUDPLLCTRL
0x5a4 AUDPLLSTAT
0x5a8 AUDPLLNDEC
0x5ac AUDPLLPDEC
0x5b0 AUDPLLMDEC
0x5b4 AUDPLLFRAC
0x600 PDSLEEPCFG0
0x604 PDSLEEPCFG1
0x610 PDRUNCFG0
0x614 PDRUNCFG1
0x620 PDRUNCFGSET0
0x624 PDRUNCFGSET1
0x630 PDRUNCFGCLR0
0x634 PDRUNCFGCLR1
0x680 STARTER0
0x684 STARTER1
0x6a0 STARTERSET[[0]]
0x6a4 STARTERSET[[1]]
0x6c0 STARTERCLR[[0]]
0x6c4 STARTERCLR[[1]]
0x780 HWWAKE
0xe04 AUTOCGOR
0xff4 JTAGIDCODE
0xff8 DEVICE_ID0
0xffc DEVICE_ID1
0x20044 BODCTRL

AHBMATPRIO

AHB multilayer matrix priority control

Offset: 0x10, reset: 0, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRI_SHA
rw
PRI_MCAN2
rw
PRI_MCAN1
rw
PRI_SDIO
rw
PRI_USB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRI_USB0
rw
PRI_LCD
rw
PRI_ETH
rw
PRI_DMA
rw
PRI_SYS
rw
PRI_DCODE
rw
PRI_ICODE
rw
Toggle Fields

PRI_ICODE

Bits 0-1: I-Code bus priority..

PRI_DCODE

Bits 2-3: D-Code bus priority..

PRI_SYS

Bits 4-5: System bus priority..

PRI_DMA

Bits 6-9: DMA controller priority..

PRI_ETH

Bits 10-11: Ethernet DMA priority..

PRI_LCD

Bits 12-13: LCD DMA priority..

PRI_USB0

Bits 14-15: USB0 DMA priority..

PRI_USB1

Bits 16-17: USB1 DMA priority..

PRI_SDIO

Bits 18-19: SDIO priority..

PRI_MCAN1

Bits 20-21: MCAN1 priority..

PRI_MCAN2

Bits 22-23: MCAN2 priority..

PRI_SHA

Bits 24-25: SHA priority..

SYSTCKCAL

System tick counter calibration

Offset: 0x40, 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
NOREF
rw
SKEW
rw
CAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAL
rw
Toggle Fields

CAL

Bits 0-23: System tick timer calibration value..

SKEW

Bit 24: Initial value for the Systick timer..

NOREF

Bit 25: Initial value for the Systick timer..

NMISRC

NMI Source Select

Offset: 0x48, 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
NMIENM4
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IRQM4
rw
Toggle Fields

IRQM4

Bits 0-5: The IRQ number of the interrupt that acts as the Non-Maskable Interrupt (NMI) for the Cortex-M4, if enabled by NMIENM4..

NMIENM4

Bit 31: Write a 1 to this bit to enable the Non-Maskable Interrupt (NMI) source selected by IRQM4..

ASYNCAPBCTRL

Asynchronous APB Control

Offset: 0x4c, reset: 0x1, 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
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: Enables the asynchronous APB bridge and subsystem..

Allowed values:
0: DISABLED: Disabled. Asynchronous APB bridge is disabled.
0x1: ENABLED: Enabled. Asynchronous APB bridge is enabled.

PIOPORCAP[[0]]

POR captured value of port n

Offset: 0xc0, 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
PIOPORCAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PIOPORCAP
r
Toggle Fields

PIOPORCAP

Bits 0-31: State of PIOn_31 through PIOn_0 at power-on reset.

PIOPORCAP[[1]]

POR captured value of port n

Offset: 0xc4, 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
PIOPORCAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PIOPORCAP
r
Toggle Fields

PIOPORCAP

Bits 0-31: State of PIOn_31 through PIOn_0 at power-on reset.

PIORESCAP[[0]]

Reset captured value of port n

Offset: 0xd0, 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
PIORESCAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PIORESCAP
r
Toggle Fields

PIORESCAP

Bits 0-31: State of PIOn_31 through PIOn_0 for resets other than POR..

PIORESCAP[[1]]

Reset captured value of port n

Offset: 0xd4, 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
PIORESCAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PIORESCAP
r
Toggle Fields

PIORESCAP

Bits 0-31: State of PIOn_31 through PIOn_0 for resets other than POR..

PRESETCTRL0

Peripheral reset control n

Offset: 0x100, reset: 0, access: read-write

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADC0_RST
rw
WWDT_RST
rw
CRC_RST
rw
DMA0_RST
rw
GINT_RST
rw
PINT_RST
rw
GPIO3_RST
rw
GPIO2_RST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO1_RST
rw
GPIO0_RST
rw
IOCON_RST
rw
MUX_RST
rw
SPIFI_RST
rw
EEPROM_RST
rw
FMC_RST
rw
FLASH_RST
rw
Toggle Fields

FLASH_RST

Bit 7: Flash controller reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

FMC_RST

Bit 8: Flash accelerator reset control. Note that the FMC must not be reset while executing from flash, and must be reconfigured after reset. 0 = Clear reset to this function. 1 = Assert reset to this function..

EEPROM_RST

Bit 9: EEPROM reset control..

SPIFI_RST

Bit 10: SPIFI reset control..

MUX_RST

Bit 11: Input mux reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

IOCON_RST

Bit 13: IOCON reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

GPIO0_RST

Bit 14: GPIO0 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

GPIO1_RST

Bit 15: GPIO1 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

GPIO2_RST

Bit 16: GPIO2 reset control..

GPIO3_RST

Bit 17: GPIO3 reset control..

PINT_RST

Bit 18: Pin interrupt (PINT) reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

GINT_RST

Bit 19: Grouped interrupt (GINT) reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

DMA0_RST

Bit 20: DMA0 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

CRC_RST

Bit 21: CRC generator reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

WWDT_RST

Bit 22: Watchdog timer reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

ADC0_RST

Bit 27: ADC0 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

PRESETCTRL1

Peripheral reset control n

Offset: 0x104, reset: 0, access: read-write

0/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CTIMER1_RST
rw
CTIMER0_RST
rw
USB0D_RST
rw
CTIMER2_RST
rw
DMIC_RST
rw
FC7_RST
rw
FC6_RST
rw
FC5_RST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FC4_RST
rw
FC3_RST
rw
FC2_RST
rw
FC1_RST
rw
FC0_RST
rw
UTICK_RST
rw
MCAN1_RST
rw
MCAN0_RST
rw
SCT0_RST
rw
MRT_RST
rw
Toggle Fields

MRT_RST

Bit 0: Multi-rate timer (MRT) reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

SCT0_RST

Bit 2: State configurable timer 0 (SCT0) reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

MCAN0_RST

Bit 7: 0 = Clear reset to this function..

MCAN1_RST

Bit 8: 0 = Clear reset to this function..

UTICK_RST

Bit 10: Micro-tick Timer reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

FC0_RST

Bit 11: Flexcomm 0 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

FC1_RST

Bit 12: Flexcomm 1 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

FC2_RST

Bit 13: Flexcomm 2 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

FC3_RST

Bit 14: Flexcomm 3 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

FC4_RST

Bit 15: Flexcomm 4 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

FC5_RST

Bit 16: Flexcomm 5 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

FC6_RST

Bit 17: Flexcomm 6 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

FC7_RST

Bit 18: Flexcomm 7 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

DMIC_RST

Bit 19: Digital microphone interface reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

CTIMER2_RST

Bit 22: CTIMER2 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function.

USB0D_RST

Bit 25: USB0 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

CTIMER0_RST

Bit 26: CTIMER0 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

CTIMER1_RST

Bit 27: CTIMER1 reset control. 0 = Clear reset to this function. 1 = Assert reset to this function..

PRESETCTRL2

Peripheral reset control n

Offset: 0x108, reset: 0, access: read-write

0/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SC1_RST
rw
SC0_RST
rw
SHA_RST
rw
USB0HSL_RST
rw
USB0HMR_RST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FC9_RST
rw
FC8_RST
rw
RNG_RST
rw
OTP_RST
rw
AES_RST
rw
GPIO5_RST
rw
GPIO4_RST
rw
ETH_RST
rw
EMC_RESET
rw
USB1RAM_RST
rw
USB1D_RST
rw
USB1H_RST
rw
SDIO_RST
rw
LCD_RST
rw
Toggle Fields

LCD_RST

Bit 2: LCD reset control..

SDIO_RST

Bit 3: SDIO reset control..

USB1H_RST

Bit 4: USB1 Host reset control..

USB1D_RST

Bit 5: USB1 Device reset control..

USB1RAM_RST

Bit 6: USB1 RAM reset control..

EMC_RESET

Bit 7: EMC reset control..

ETH_RST

Bit 8: Ethernet reset control..

GPIO4_RST

Bit 9: GPIO4 reset control..

GPIO5_RST

Bit 10: GPIO5 reset control..

AES_RST

Bit 11: AES reset control..

OTP_RST

Bit 12: OTP reset control..

RNG_RST

Bit 13: RNG reset control..

FC8_RST

Bit 14: Flexcomm 8 reset control..

FC9_RST

Bit 15: Flexcomm 9 reset control..

USB0HMR_RST

Bit 16: USB0 HOST master reset control..

USB0HSL_RST

Bit 17: USB0 HOST slave reset control..

SHA_RST

Bit 18: SHA reset control..

SC0_RST

Bit 19: Smart card 0 reset control..

SC1_RST

Bit 20: Smart card 1 reset control..

PRESETCTRLSET[[0]]

Set bits in PRESETCTRLn

Offset: 0x120, 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
RST_SET
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RST_SET
w
Toggle Fields

RST_SET

Bits 0-31: Writing ones to this register sets the corresponding bit or bits in the PRESETCTRLn register, if they are implemented. Bits that do not correspond to defined bits in PRESETCTRLn are reserved and only zeroes should be written to them..

PRESETCTRLSET[[1]]

Set bits in PRESETCTRLn

Offset: 0x124, 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
RST_SET
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RST_SET
w
Toggle Fields

RST_SET

Bits 0-31: Writing ones to this register sets the corresponding bit or bits in the PRESETCTRLn register, if they are implemented. Bits that do not correspond to defined bits in PRESETCTRLn are reserved and only zeroes should be written to them..

PRESETCTRLSET[[2]]

Set bits in PRESETCTRLn

Offset: 0x128, 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
RST_SET
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RST_SET
w
Toggle Fields

RST_SET

Bits 0-31: Writing ones to this register sets the corresponding bit or bits in the PRESETCTRLn register, if they are implemented. Bits that do not correspond to defined bits in PRESETCTRLn are reserved and only zeroes should be written to them..

PRESETCTRLCLR[[0]]

Clear bits in PRESETCTRLn

Offset: 0x140, 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
RST_CLR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RST_CLR
w
Toggle Fields

RST_CLR

Bits 0-31: Writing ones to this register clears the corresponding bit or bits in the PRESETCTRLn register, if they are implemented. Bits that do not correspond to defined bits in PRESETCTRLn are reserved and only zeroes should be written to them..

PRESETCTRLCLR[[1]]

Clear bits in PRESETCTRLn

Offset: 0x144, 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
RST_CLR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RST_CLR
w
Toggle Fields

RST_CLR

Bits 0-31: Writing ones to this register clears the corresponding bit or bits in the PRESETCTRLn register, if they are implemented. Bits that do not correspond to defined bits in PRESETCTRLn are reserved and only zeroes should be written to them..

PRESETCTRLCLR[[2]]

Clear bits in PRESETCTRLn

Offset: 0x148, 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
RST_CLR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RST_CLR
w
Toggle Fields

RST_CLR

Bits 0-31: Writing ones to this register clears the corresponding bit or bits in the PRESETCTRLn register, if they are implemented. Bits that do not correspond to defined bits in PRESETCTRLn are reserved and only zeroes should be written to them..

SYSRSTSTAT

System reset status register

Offset: 0x1f0, reset: 0, access: read-write

5/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
SYSRST
rw
BOD
rw
WDT
rw
EXTRST
rw
POR
rw
Toggle Fields

POR

Bit 0: POR reset status.

Allowed values:
0: NO_POR_DETECTED: No POR detected
0x1: POR_DETECTED: POR detected. Writing a one clears this reset.

EXTRST

Bit 1: Status of the external RESET pin. External reset status.

Allowed values:
0: NO_RESET_DETECTED: No reset event detected.
0x1: RESET_DETECTED: Reset detected. Writing a one clears this reset.

WDT

Bit 2: Status of the Watchdog reset.

Allowed values:
0: NO_WDT_RESET_DETECTED: No WDT reset detected
0x1: WDT_RESET_DETECTED: WDT reset detected. Writing a one clears this reset.

BOD

Bit 3: Status of the Brown-out detect reset.

Allowed values:
0: NO_BOD_RESET_DETECTED: No BOD reset detected
0x1: BOD_RESET_DETECTED: BOD reset detected. Writing a one clears this reset.

SYSRST

Bit 4: Status of the software system reset.

Allowed values:
0: NO_SYSTEM_RESET_DETECTED: No System reset detected
0x1: SYSTEM_RESET_DETECTED: System reset detected. Writing a one clears this reset.

AHBCLKCTRL0

AHB Clock control n

Offset: 0x200, reset: 0x183, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADC0
rw
RTC
rw
WWDT
rw
CRC
rw
DMA
rw
GINT
rw
PINT
rw
GPIO3
rw
GPIO2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO1
rw
GPIO0
rw
IOCON
rw
INPUTMUX
rw
SPIFI
rw
EEPROM
rw
FMC
rw
FLASH
rw
SRAM3
rw
SRAM2
rw
SRAM1
rw
ROM
rw
Toggle Fields

ROM

Bit 1: Enables the clock for the Boot ROM. 0 = Disable; 1 = Enable..

SRAM1

Bit 3: Enables the clock for SRAM1. 0 = Disable; 1 = Enable..

SRAM2

Bit 4: Enables the clock for SRAM2. 0 = Disable; 1 = Enable..

SRAM3

Bit 5: Enables the clock for SRAM3..

FLASH

Bit 7: Enables the clock for the flash controller. 0 = Disable; 1 = Enable. This clock is needed for flash programming, not for flash read..

FMC

Bit 8: Enables the clock for the Flash accelerator. 0 = Disable; 1 = Enable. This clock is needed if the flash is being read..

EEPROM

Bit 9: Enables the clock for EEPROM..

SPIFI

Bit 10: Enables the clock for the SPIFI. 0 = Disable; 1 = Enable..

INPUTMUX

Bit 11: Enables the clock for the input muxes. 0 = Disable; 1 = Enable..

IOCON

Bit 13: Enables the clock for the IOCON block. 0 = Disable; 1 = Enable..

GPIO0

Bit 14: Enables the clock for the GPIO0 port registers. 0 = Disable; 1 = Enable..

GPIO1

Bit 15: Enables the clock for the GPIO1 port registers. 0 = Disable; 1 = Enable..

GPIO2

Bit 16: Enables the clock for the GPIO2 port registers..

GPIO3

Bit 17: Enables the clock for the GPIO3 port registers..

PINT

Bit 18: Enables the clock for the pin interrupt block.0 = Disable; 1 = Enable..

GINT

Bit 19: Enables the clock for the grouped pin interrupt block. 0 = Disable; 1 = Enable..

DMA

Bit 20: Enables the clock for the DMA controller. 0 = Disable; 1 = Enable..

CRC

Bit 21: Enables the clock for the CRC engine. 0 = Disable; 1 = Enable..

WWDT

Bit 22: Enables the clock for the Watchdog Timer. 0 = Disable; 1 = Enable..

RTC

Bit 23: Enables the bus clock for the RTC. 0 = Disable; 1 = Enable..

ADC0

Bit 27: Enables the clock for the ADC0 register interface..

AHBCLKCTRL1

AHB Clock control n

Offset: 0x204, reset: 0, access: read-write

0/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CTIMER1
rw
CTIMER0
rw
USB0D
rw
CTIMER2
rw
DMIC
rw
FLEXCOMM7
rw
FLEXCOMM6
rw
FLEXCOMM5
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLEXCOMM4
rw
FLEXCOMM3
rw
FLEXCOMM2
rw
FLEXCOMM1
rw
FLEXCOMM0
rw
UTICK
rw
MCAN1
rw
MCAN0
rw
SCT0
rw
RIT
rw
MRT
rw
Toggle Fields

MRT

Bit 0: Enables the clock for the Multi-Rate Timer..

RIT

Bit 1: Enables the clock for the Repetitive Interrupt Timer..

SCT0

Bit 2: Enables the clock for SCT0..

MCAN0

Bit 7: Enables the clock for MCAN0..

MCAN1

Bit 8: Enables the clock for MCAN1..

UTICK

Bit 10: Enables the clock for the Micro-tick Timer. 0 = Disable; 1 = Enable..

FLEXCOMM0

Bit 11: Enables the clock for Flexcomm 0. 0 = Disable; 1 = Enable..

FLEXCOMM1

Bit 12: Enables the clock for Flexcomm 1. 0 = Disable; 1 = Enable..

FLEXCOMM2

Bit 13: Enables the clock for Flexcomm 2. 0 = Disable; 1 = Enable..

FLEXCOMM3

Bit 14: Enables the clock for Flexcomm 3. 0 = Disable; 1 = Enable..

FLEXCOMM4

Bit 15: Enables the clock for Flexcomm 4. 0 = Disable; 1 = Enable..

FLEXCOMM5

Bit 16: Enables the clock for Flexcomm 5. 0 = Disable; 1 = Enable..

FLEXCOMM6

Bit 17: Enables the clock for Flexcomm 6. 0 = Disable; 1 = Enable..

FLEXCOMM7

Bit 18: Enables the clock for Flexcomm 7. 0 = Disable; 1 = Enable..

DMIC

Bit 19: Enables the clock for the digital microphone interface. 0 = Disable; 1 = Enable..

CTIMER2

Bit 22: Enables the clock for CTIMER 2. 0 = Disable; 1 = Enable..

USB0D

Bit 25: Enables the clock for the USB0 device interface. 0 = Disable; 1 = Enable..

CTIMER0

Bit 26: Enables the clock for timer CTIMER0. 0 = Disable; 1 = Enable..

CTIMER1

Bit 27: Enables the clock for timer CTIMER1. 0 = Disable; 1 = Enable..

AHBCLKCTRL2

AHB Clock control n

Offset: 0x208, reset: 0, access: read-write

0/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SC1
rw
SC0
rw
SHA0
rw
USB0HSL
rw
USB0HMR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLEXCOMM9
rw
FLEXCOMM8
rw
RNG
rw
OTP
rw
AES
rw
GPIO5
rw
GPIO4
rw
ETH
rw
EMC
rw
USB1RAM
rw
USB1D
rw
USB1H
rw
SDIO
rw
LCD
rw
Toggle Fields

LCD

Bit 2: Enables the clock for the LCD interface..

SDIO

Bit 3: Enables the clock for the SDIO interface..

USB1H

Bit 4: Enables the clock for the USB1 host interface..

USB1D

Bit 5: Enables the clock for the USB1 device interface..

USB1RAM

Bit 6: Enables the clock for the USB1 RAM interface..

EMC

Bit 7: Enables the clock for the EMC interface..

ETH

Bit 8: Enables the clock for the ethernet interface..

GPIO4

Bit 9: Enables the clock for the GPIO4 interface..

GPIO5

Bit 10: Enables the clock for the GPIO5 interface..

AES

Bit 11: Enables the clock for the AES interface..

OTP

Bit 12: Enables the clock for the OTP interface..

RNG

Bit 13: Enables the clock for the RNG interface..

FLEXCOMM8

Bit 14: Enables the clock for the Flexcomm8 interface..

FLEXCOMM9

Bit 15: Enables the clock for the Flexcomm9 interface..

USB0HMR

Bit 16: Enables the clock for the USB host master interface..

USB0HSL

Bit 17: Enables the clock for the USB host slave interface..

SHA0

Bit 18: Enables the clock for the SHA interface..

SC0

Bit 19: Enables the clock for the Smart card0 interface..

SC1

Bit 20: Enables the clock for the Smart card1 interface..

AHBCLKCTRLSET[[0]]

Set bits in AHBCLKCTRLn

Offset: 0x220, 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
CLK_SET
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLK_SET
w
Toggle Fields

CLK_SET

Bits 0-31: Writing ones to this register sets the corresponding bit or bits in the AHBCLKCTRLn register, if they are implemented. Bits that do not correspond to defined bits in AHBCLKCTRLn are reserved and only zeroes should be written to them..

AHBCLKCTRLSET[[1]]

Set bits in AHBCLKCTRLn

Offset: 0x224, 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
CLK_SET
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLK_SET
w
Toggle Fields

CLK_SET

Bits 0-31: Writing ones to this register sets the corresponding bit or bits in the AHBCLKCTRLn register, if they are implemented. Bits that do not correspond to defined bits in AHBCLKCTRLn are reserved and only zeroes should be written to them..

AHBCLKCTRLSET[[2]]

Set bits in AHBCLKCTRLn

Offset: 0x228, 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
CLK_SET
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLK_SET
w
Toggle Fields

CLK_SET

Bits 0-31: Writing ones to this register sets the corresponding bit or bits in the AHBCLKCTRLn register, if they are implemented. Bits that do not correspond to defined bits in AHBCLKCTRLn are reserved and only zeroes should be written to them..

AHBCLKCTRLCLR[[0]]

Clear bits in AHBCLKCTRLn

Offset: 0x240, 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
CLK_CLR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLK_CLR
w
Toggle Fields

CLK_CLR

Bits 0-31: Writing ones to this register clears the corresponding bit or bits in the AHBCLKCTRLn register, if they are implemented. Bits that do not correspond to defined bits in AHBCLKCTRLn are reserved and only zeroes should be written to them..

AHBCLKCTRLCLR[[1]]

Clear bits in AHBCLKCTRLn

Offset: 0x244, 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
CLK_CLR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLK_CLR
w
Toggle Fields

CLK_CLR

Bits 0-31: Writing ones to this register clears the corresponding bit or bits in the AHBCLKCTRLn register, if they are implemented. Bits that do not correspond to defined bits in AHBCLKCTRLn are reserved and only zeroes should be written to them..

AHBCLKCTRLCLR[[2]]

Clear bits in AHBCLKCTRLn

Offset: 0x248, 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
CLK_CLR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLK_CLR
w
Toggle Fields

CLK_CLR

Bits 0-31: Writing ones to this register clears the corresponding bit or bits in the AHBCLKCTRLn register, if they are implemented. Bits that do not correspond to defined bits in AHBCLKCTRLn are reserved and only zeroes should be written to them..

MAINCLKSELA

Main clock source select A

Offset: 0x280, 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
Toggle Fields

SEL

Bits 0-1: Clock source for main clock source selector A.

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: CLKIN: CLKIN (clk_in)
0x2: WATCHDOG_OSCILLATOR: Watchdog oscillator (wdt_clk)
0x3: FRO_HF: FRO 96 or 48 MHz (fro_hf)

MAINCLKSELB

Main clock source select B

Offset: 0x284, 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
Toggle Fields

SEL

Bits 0-1: Clock source for main clock source selector B. Selects the clock source for the main clock..

Allowed values:
0: MAINCLKSELA: MAINCLKSELA. Use the clock source selected in MAINCLKSELA register.
0x2: SYSTEM_PLL_OUTPUT: System PLL output (pll_clk)
0x3: RTC_OSC_OUTPUT: RTC oscillator 32 kHz output (32k_clk)

CLKOUTSELA

CLKOUT clock source select A

Offset: 0x288, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: CLKOUT clock source selection.

Allowed values:
0: MAIN_CLOCK: Main clock (main_clk)
0x1: CLKIN: CLKIN (clk_in)
0x2: WATCHDOG_OSCILLATOR: Watchdog oscillator (wdt_clk)
0x3: FRO_HF: FRO 96 or 48 MHz (fro_hf)
0x4: SYSTEM_PLL_OUTPUT: PLL output (pll_clk)
0x5: USB_PLL_CLOCK: USB PLL clock (usb_pll_clk)
0x6: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x7: RTC_OSC_OUTPUT: RTC oscillator 32 kHz output (32k_clk)

SYSPLLCLKSEL

PLL clock source select

Offset: 0x290, 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
Toggle Fields

SEL

Bits 0-2: System PLL clock source selection..

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: CLKIN: CLKIN (clk_in)
0x2: WATCHDOG_OSCILLATOR: Watchdog oscillator (wdt_clk)
0x3: RTC_OSC_OUTPUT: RTC oscillator 32 kHz output (32k_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

AUDPLLCLKSEL

Audio PLL clock source select

Offset: 0x298, 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
Toggle Fields

SEL

Bits 0-2: Audio PLL clock source selection..

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: CLKIN: CLKIN (clk_in)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

SPIFICLKSEL

SPIFI clock source select

Offset: 0x2a0, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: System PLL clock source selection.

Allowed values:
0: MAIN_CLOCK: Main clock (main_clk)
0x1: SYSTEM_PLL_OUTPUT: System PLL output (pll_clk)
0x2: USB_PLL_OUTPUT: USB PLL clock (usb_pll_clk)
0x3: FRO_HF: FRO 96 or 48 MHz (fro_hf)
0x4: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

ADCCLKSEL

ADC clock source select

Offset: 0x2a4, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: ADC clock source selection.

Allowed values:
0: FRO_HF: FRO 96 or 48 MHz (fro_hf)
0x1: SYSTEM_PLL_OUTPUT: System PLL output (pll_clk)
0x2: USB_PLL_CLOCK: USB PLL clock (usb_pll_clk)
0x3: AUDIO_PLL_CLOCK: Audio PLL clock (audio_pll_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

USB0CLKSEL

USB0 clock source select

Offset: 0x2a8, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: USB0 device clock source selection..

Allowed values:
0: FRO_HF: FRO 96 or 48 MHz (fro_hf)
0x1: SYSTEM_PLL_OUTPUT: System PLL output (pll_clk)
0x2: USB_PLL_CLOCK: USB PLL clock (usb_pll_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

USB1CLKSEL

USB1 clock source select

Offset: 0x2ac, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: USB1 PHY clock source selection..

Allowed values:
0: MAIN_CLOCK: Main clock (main_clk)
0x1: SYSTEM_PLL_OUTPUT: System PLL output (pll_clk)
0x2: USB_PLL_CLOCK: USB PLL clock (usb_pll_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

FCLKSEL[[0]]

Flexcomm 0 clock source select

Offset: 0x2b0, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: Flexcomm clock source selection. One per Flexcomm..

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: FRO_HF_DIV: FRO HF DIV (fro_hf_div)
0x2: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x3: MCLK_INPUT: MCLK pin input, when selected in IOCON (mclk_in)
0x4: FRG_CLOCK_OUTPUT: FRG clock, the output of the fractional rate generator (frg_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

FCLKSEL[[1]]

Flexcomm 0 clock source select

Offset: 0x2b4, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: Flexcomm clock source selection. One per Flexcomm..

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: FRO_HF_DIV: FRO HF DIV (fro_hf_div)
0x2: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x3: MCLK_INPUT: MCLK pin input, when selected in IOCON (mclk_in)
0x4: FRG_CLOCK_OUTPUT: FRG clock, the output of the fractional rate generator (frg_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

FCLKSEL[[2]]

Flexcomm 0 clock source select

Offset: 0x2b8, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: Flexcomm clock source selection. One per Flexcomm..

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: FRO_HF_DIV: FRO HF DIV (fro_hf_div)
0x2: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x3: MCLK_INPUT: MCLK pin input, when selected in IOCON (mclk_in)
0x4: FRG_CLOCK_OUTPUT: FRG clock, the output of the fractional rate generator (frg_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

FCLKSEL[[3]]

Flexcomm 0 clock source select

Offset: 0x2bc, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: Flexcomm clock source selection. One per Flexcomm..

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: FRO_HF_DIV: FRO HF DIV (fro_hf_div)
0x2: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x3: MCLK_INPUT: MCLK pin input, when selected in IOCON (mclk_in)
0x4: FRG_CLOCK_OUTPUT: FRG clock, the output of the fractional rate generator (frg_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

FCLKSEL[[4]]

Flexcomm 0 clock source select

Offset: 0x2c0, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: Flexcomm clock source selection. One per Flexcomm..

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: FRO_HF_DIV: FRO HF DIV (fro_hf_div)
0x2: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x3: MCLK_INPUT: MCLK pin input, when selected in IOCON (mclk_in)
0x4: FRG_CLOCK_OUTPUT: FRG clock, the output of the fractional rate generator (frg_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

FCLKSEL[[5]]

Flexcomm 0 clock source select

Offset: 0x2c4, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: Flexcomm clock source selection. One per Flexcomm..

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: FRO_HF_DIV: FRO HF DIV (fro_hf_div)
0x2: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x3: MCLK_INPUT: MCLK pin input, when selected in IOCON (mclk_in)
0x4: FRG_CLOCK_OUTPUT: FRG clock, the output of the fractional rate generator (frg_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

FCLKSEL[[6]]

Flexcomm 0 clock source select

Offset: 0x2c8, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: Flexcomm clock source selection. One per Flexcomm..

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: FRO_HF_DIV: FRO HF DIV (fro_hf_div)
0x2: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x3: MCLK_INPUT: MCLK pin input, when selected in IOCON (mclk_in)
0x4: FRG_CLOCK_OUTPUT: FRG clock, the output of the fractional rate generator (frg_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

FCLKSEL[[7]]

Flexcomm 0 clock source select

Offset: 0x2cc, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: Flexcomm clock source selection. One per Flexcomm..

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: FRO_HF_DIV: FRO HF DIV (fro_hf_div)
0x2: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x3: MCLK_INPUT: MCLK pin input, when selected in IOCON (mclk_in)
0x4: FRG_CLOCK_OUTPUT: FRG clock, the output of the fractional rate generator (frg_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

FCLKSEL[[8]]

Flexcomm 0 clock source select

Offset: 0x2d0, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: Flexcomm clock source selection. One per Flexcomm..

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: FRO_HF_DIV: FRO HF DIV (fro_hf_div)
0x2: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x3: MCLK_INPUT: MCLK pin input, when selected in IOCON (mclk_in)
0x4: FRG_CLOCK_OUTPUT: FRG clock, the output of the fractional rate generator (frg_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

FCLKSEL[[9]]

Flexcomm 0 clock source select

Offset: 0x2d4, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: Flexcomm clock source selection. One per Flexcomm..

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: FRO_HF_DIV: FRO HF DIV (fro_hf_div)
0x2: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x3: MCLK_INPUT: MCLK pin input, when selected in IOCON (mclk_in)
0x4: FRG_CLOCK_OUTPUT: FRG clock, the output of the fractional rate generator (frg_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

MCLKCLKSEL

MCLK clock source select

Offset: 0x2e0, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: MCLK source select. This may be used by Flexcomms that support I2S, and/or by the digital microphone subsystem..

Allowed values:
0: FRO_HF_DIV: FRO HF DIV (fro_hf_div)
0x1: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

FRGCLKSEL

Fractional Rate Generator clock source select

Offset: 0x2e8, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: Fractional Rate Generator clock source select..

Allowed values:
0: MAIN_CLOCK: Main clock (main_clk)
0x1: SYSTEM_PLL_OUTPUT: System PLL output (pll_clk)
0x2: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x3: FRO_HF: FRO 96 or 48 MHz (fro_hf)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

DMICCLKSEL

Digital microphone (DMIC) subsystem clock select

Offset: 0x2ec, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: DMIC (audio subsystem) clock source select..

Allowed values:
0: FRO_12_MHZ: FRO 12 MHz (fro_12m)
0x1: FRO_HF_DIV: FRO HF DIV (fro_hf_div)
0x2: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x3: MCLK_INPUT: MCLK pin input, when selected in IOCON (mclk_in)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

SCTCLKSEL

SCTimer/PWM clock source select

Offset: 0x2f0, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: SCT clock source select..

Allowed values:
0: MAIN_CLOCK: Main clock (main_clk)
0x1: SYSTEM_PLL_OUTPUT: System PLL output (pll_clk)
0x2: FRO_HF: FRO 96 or 48 MHz (fro_hf)
0x3: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

LCDCLKSEL

LCD clock source select

Offset: 0x2f4, reset: 0x3, 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
Toggle Fields

SEL

Bits 0-1: LCD clock source select..

Allowed values:
0: MAIN_CLOCK: Main clock (main_clk)
0x1: LCDCLKIN: LCDCLKIN (LCDCLK_EXT)
0x2: FRO_HF: FRO 96 or 48 MHz (fro_hf)
0x3: NONE: None, this may be selected in order to reduce power when no output is needed.

SDIOCLKSEL

SDIO clock source select

Offset: 0x2f8, reset: 0x7, 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
Toggle Fields

SEL

Bits 0-2: SDIO clock source select..

Allowed values:
0: MAIN_CLOCK: Main clock (main_clk)
0x1: SYSTEM_PLL_OUTPUT: System PLL output (pll_clk)
0x2: USB_PLL_CLOCK: USB PLL clock (usb_pll_clk)
0x3: FRO_HF: FRO 96 or 48 MHz (fro_hf)
0x4: AUDIO_PLL_OUTPUT: Audio PLL clock (audio_pll_clk)
0x7: NONE: None, this may be selected in order to reduce power when no output is needed.

SYSTICKCLKDIV

SYSTICK clock divider

Offset: 0x300, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value. 0: Divide by 1 up to 255: Divide by 256..

RESET

Bit 29: Resets the divider counter. Can be used to make sure a new divider value is used right away rather than completing the previous count..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

ARMTRACECLKDIV

ARM Trace clock divider

Offset: 0x304, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value..

RESET

Bit 29: Resets the divider counter..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

CAN0CLKDIV

MCAN0 clock divider

Offset: 0x308, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value..

RESET

Bit 29: Resets the divider counter..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

CAN1CLKDIV

MCAN1 clock divider

Offset: 0x30c, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value. 0: Divide by 1 up to 255: Divide by 256..

RESET

Bit 29: Resets the divider counter. Can be used to make sure a new divider value is used right away rather than completing the previous count..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

SC0CLKDIV

Smartcard0 clock divider

Offset: 0x310, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value..

RESET

Bit 29: Resets the divider counter..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

SC1CLKDIV

Smartcard1 clock divider

Offset: 0x314, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value..

RESET

Bit 29: Resets the divider counter..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

AHBCLKDIV

AHB clock divider

Offset: 0x380, 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
REQFLAG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value. 0: Divide by 1 up to 255: Divide by 256..

REQFLAG

Bit 31: Divider status flag..

CLKOUTDIV

CLKOUT clock divider

Offset: 0x384, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value. 0: Divide by 1 up to 255: Divide by 256..

RESET

Bit 29: Resets the divider counter. Can be used to make sure a new divider value is used right away rather than completing the previous count..

HALT

Bit 30: Halts the divider counter. The intent is to allow the divider clock source to be changed without the risk of a glitch at the output..

REQFLAG

Bit 31: Divider status flag..

FROHFCLKDIV

FROHF clock divider

Offset: 0x388, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value..

RESET

Bit 29: Resets the divider counter..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

SPIFICLKDIV

SPIFI clock divider

Offset: 0x390, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value..

RESET

Bit 29: Resets the divider counter. Can be used to make sure a new divider value is used right away rather than completing the previous count..

HALT

Bit 30: Halts the divider counter. The intent is to allow the divider clock source to be changed without the risk of a glitch at the output..

REQFLAG

Bit 31: Divider status flag..

ADCCLKDIV

ADC clock divider

Offset: 0x394, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value..

RESET

Bit 29: Resets the divider counter..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

USB0CLKDIV

USB0 clock divider

Offset: 0x398, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value..

RESET

Bit 29: Resets the divider counter..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

USB1CLKDIV

USB1 clock divider

Offset: 0x39c, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value..

RESET

Bit 29: Resets the divider counter..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

FRGCTRL

Fractional rate divider

Offset: 0x3a0, reset: 0xFF, 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
MULT
rw
DIV
rw
Toggle Fields

DIV

Bits 0-7: Denominator of the fractional divider. DIV is equal to the programmed value +1. Always set to 0xFF to use with the fractional baud rate generator..

MULT

Bits 8-15: Numerator of the fractional divider. MULT is equal to the programmed value..

DMICCLKDIV

DMIC clock divider

Offset: 0x3a8, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value. 0: Divide by 1 up to 255: Divide by 256..

RESET

Bit 29: Resets the divider counter. Can be used to make sure a new divider value is used right away rather than completing the previous count..

HALT

Bit 30: Halts the divider counter. The intent is to allow the divider clock source to be changed without the risk of a glitch at the output..

REQFLAG

Bit 31: Divider status flag..

MCLKDIV

I2S MCLK clock divider

Offset: 0x3ac, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value. 0: Divide by 1 up to 255: Divide by 256..

RESET

Bit 29: Resets the divider counter..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

LCDCLKDIV

LCD clock divider

Offset: 0x3b0, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value..

RESET

Bit 29: Resets the divider counter..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

SCTCLKDIV

SCT/PWM clock divider

Offset: 0x3b4, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value..

RESET

Bit 29: Resets the divider counter..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

EMCCLKDIV

EMC clock divider

Offset: 0x3b8, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value..

RESET

Bit 29: Resets the divider counter..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

SDIOCLKDIV

SDIO clock divider

Offset: 0x3bc, reset: 0x40000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REQFLAG
rw
HALT
rw
RESET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIV
rw
Toggle Fields

DIV

Bits 0-7: Clock divider value..

RESET

Bit 29: Resets the divider counter..

HALT

Bit 30: Halts the divider counter..

REQFLAG

Bit 31: Divider status flag..

FLASHCFG

Flash wait states configuration

Offset: 0x400, reset: 0xD1A, access: read-write

6/6 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
PREFOVR
rw
PREFEN
rw
ACCEL
rw
DATACFG
rw
FETCHCFG
rw
Toggle Fields

FETCHCFG

Bits 0-1: Instruction fetch configuration. This field determines how flash accelerator buffers are used for instruction fetches..

Allowed values:
0: NO_BUFFER: Instruction fetches from flash are not buffered. Every fetch request from the CPU results in a read of the flash memory. This setting may use significantly more power than when buffering is enabled.
0x1: ONE_BUFFER: One buffer is used for all instruction fetches.
0x2: ALL_BUFFERS: All buffers may be used for instruction fetches.

DATACFG

Bits 2-3: Data read configuration. This field determines how flash accelerator buffers are used for data accesses..

Allowed values:
0: NOT_BUFFERED: Data accesses from flash are not buffered. Every data access from the CPU results in a read of the flash memory.
0x1: ONE_BUFFER: One buffer is used for all data accesses.
0x2: ALL_BUFFERS: All buffers may be used for data accesses.

ACCEL

Bit 4: Acceleration enable..

Allowed values:
0: DISABLED: Flash acceleration is disabled. Every flash read (including those fulfilled from a buffer) takes FLASHTIM + 1 system clocks. This allows more determinism at a cost of performance.
0x1: ENABLED: Flash acceleration is enabled. Performance is enhanced, dependent on other FLASHCFG settings.

PREFEN

Bit 5: Prefetch enable..

Allowed values:
0: NO_PREFETCH: No instruction prefetch is performed.
0x1: PREFETCH: If the FETCHCFG field is not 0, the next flash line following the current execution address is automatically prefetched if it is not already buffered.

PREFOVR

Bit 6: Prefetch override. This bit only applies when PREFEN = 1 and a buffered instruction is completing for which the next flash line is not already buffered or being prefetched..

Allowed values:
0: PREFETCH_COMPLETED: Any previously initiated prefetch will be completed.
0x1: PREFETCH_ABORT: Any previously initiated prefetch will be aborted, and the next flash line following the current execution address will be prefetched if not already buffered.

FLASHTIM

Bits 12-15: Flash memory access time. The number of system clocks used for flash accesses is equal to FLASHTIM +1..

Allowed values:
0: N_1_CLOCK_CYCLE: 1 system clock flash access time (for system clock rates up to 12 MHz).
0x1: N_2_CLOCK_CYCLES: 2 system clocks flash access time (for system clock rates up to 30 MHz).
0x2: N_3_CLOCK_CYCLES: 3 system clocks flash access time (for system clock rates up to 60 MHz).
0x3: N_4_CLOCK_CYCLES: 4 system clocks flash access time (for system clock rates up to 85 MHz).
0x4: N_5_CLOCK_CYCLES: 5 system clocks flash access time (for system clock rates up to 100 MHz).

USB0CLKCTRL

USB0 clock control

Offset: 0x40c, 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
PU_DISABLE
rw
POL_FS_HOST_CLK
rw
AP_FS_HOST_CLK
rw
POL_FS_DEV_CLK
rw
AP_FS_DEV_CLK
rw
Toggle Fields

AP_FS_DEV_CLK

Bit 0: USB0 Device USB0_NEEDCLK signal control..

POL_FS_DEV_CLK

Bit 1: USB0 Device USB0_NEEDCLK polarity for triggering the USB0 wake-up interrupt..

AP_FS_HOST_CLK

Bit 2: USB0 Host USB0_NEEDCLK signal control..

POL_FS_HOST_CLK

Bit 3: USB0 Host USB0_NEEDCLK polarity for triggering the USB0 wake-up interrupt..

PU_DISABLE

Bit 4: Internal pull-up disable control..

USB0CLKSTAT

USB0 clock status

Offset: 0x410, 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
HOST_NEED_CLKST
rw
DEV_NEED_CLKST
rw
Toggle Fields

DEV_NEED_CLKST

Bit 0: USB0 Device USB0_NEEDCLK signal status..

HOST_NEED_CLKST

Bit 1: USB0 Host USB0_NEEDCLK signal status..

FREQMECTRL

Frequency measure register

Offset: 0x418, 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
PROG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAPVAL
rw
Toggle Fields

CAPVAL

Bits 0-13: Stores the capture result which is used to calculate the frequency of the target clock. This field is read-only..

PROG

Bit 31: Set this bit to one to initiate a frequency measurement cycle. Hardware clears this bit when the measurement cycle has completed and there is valid capture data in the CAPVAL field (bits 13:0)..

MCLKIO

MCLK input/output control

Offset: 0x420, 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
DIR
rw
Toggle Fields

DIR

Bit 0: MCLK direction control..

USB1CLKCTRL

USB1 clock control

Offset: 0x424, reset: 0x10, 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
HS_DEV_WAKEUP_N
rw
POL_FS_HOST_CLK
rw
AP_FS_HOST_CLK
rw
POL_FS_DEV_CLK
rw
AP_FS_DEV_CLK
rw
Toggle Fields

AP_FS_DEV_CLK

Bit 0: USB1 Device need_clock signal control..

POL_FS_DEV_CLK

Bit 1: USB1 Device need_clock polarity for triggering the USB1 wake-up interrupt..

AP_FS_HOST_CLK

Bit 2: USB1 Host need_clock signal control..

POL_FS_HOST_CLK

Bit 3: USB1 Host need_clock polarity for triggering the USB1 wake-up interrupt..

HS_DEV_WAKEUP_N

Bit 4: External user wake-up signal for device mode; asserting this signal (active low) will result in exiting the low power mode; input to asynchronous control logic..

USB1CLKSTAT

USB1 clock status

Offset: 0x428, 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
HOST_NEED_CLKST
rw
DEV_NEED_CLKST
rw
Toggle Fields

DEV_NEED_CLKST

Bit 0: USB1 Device USB1_NEEDCLK signal status..

HOST_NEED_CLKST

Bit 1: USB1 Device host USB1_NEEDCLK signal status..

EMCSYSCTRL

EMC system control

Offset: 0x444, reset: 0x1, 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
EMCFBCLKINSEL
rw
EMCBC
rw
EMCRD
rw
EMCSC
rw
Toggle Fields

EMCSC

Bit 0: EMC Shift Control..

EMCRD

Bit 1: EMC Reset Disable..

EMCBC

Bit 2: External Memory Controller burst control..

EMCFBCLKINSEL

Bit 3: External Memory Controller clock select..

EMCDLYCTRL

EMC clock delay control

Offset: 0x448, reset: 0x210, 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
FBCLK_DELAY
rw
CMD_DELAY
rw
Toggle Fields

CMD_DELAY

Bits 0-4: Programmable delay value for EMC outputs in command delayed mode..

FBCLK_DELAY

Bits 8-12: Programmable delay value for the feedback clock that controls input data sampling..

EMCDLYCAL

EMC delay chain calibration control

Offset: 0x44c, 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DONE
rw
START
rw
CALVALUE
rw
Toggle Fields

CALVALUE

Bits 0-7: Returns the count of the approximately 50 MHz ring oscillator that occur during 32 clocks of the FRO 12 MHz..

START

Bit 14: Start control bit for the EMC calibration counter..

DONE

Bit 15: Measurement completion flag..

ETHPHYSEL

Ethernet PHY Selection

Offset: 0x450, 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
PHY_SEL
rw
Toggle Fields

PHY_SEL

Bit 2: PHY interface select..

ETHSBDCTRL

Ethernet SBD flow control

Offset: 0x454, 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
SBD_CTRL
rw
Toggle Fields

SBD_CTRL

Bits 0-1: Sideband Flow Control..

SDIOCLKCTRL

SDIO CCLKIN phase and delay control

Offset: 0x460, reset: 0, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CCLK_SAMPLE_DELAY_ACTIVE
rw
CCLK_SAMPLE_DELAY
rw
CCLK_DRV_DELAY_ACTIVE
rw
CCLK_DRV_DELAY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PHASE_ACTIVE
rw
CCLK_SAMPLE_PHASE
rw
CCLK_DRV_PHASE
rw
Toggle Fields

CCLK_DRV_PHASE

Bits 0-1: Programmable delay value by which cclk_in_drv is phase-shifted with regard to cclk_in..

CCLK_SAMPLE_PHASE

Bits 2-3: Programmable delay value by which cclk_in_sample is delayed with regard to cclk_in..

PHASE_ACTIVE

Bit 7: sdio_clk by 2, before feeding into ccl_in, cclk_in_sample, and cclk_in_drv..

CCLK_DRV_DELAY

Bits 16-20: Programmable delay value by which cclk_in_drv is delayed with regard to cclk_in..

CCLK_DRV_DELAY_ACTIVE

Bit 23: Enables drive delay, as controlled by the CCLK_DRV_DELAY field..

CCLK_SAMPLE_DELAY

Bits 24-28: Programmable delay value by which cclk_in_sample is delayed with regard to cclk_in..

CCLK_SAMPLE_DELAY_ACTIVE

Bit 31: Enables sample delay, as controlled by the CCLK_SAMPLE_DELAY field..

FROCTRL

FRO oscillator control

Offset: 0x500, reset: 0x4000, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WRTRIM
rw
HSPDCLK
rw
USBMODCHG
rw
USBCLKADJ
rw
FREQTRIM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEL
rw
TRIM
rw
Toggle Fields

TRIM

Bits 0-13: This value is factory trimmed to account for bias and temperature compensation..

SEL

Bit 14: Select the FRO HF output frequency..

FREQTRIM

Bits 16-23: Frequency trim..

USBCLKADJ

Bit 24: USB clock adjust mode..

USBMODCHG

Bit 25: USB Mode value Change flag..

HSPDCLK

Bit 30: High speed clock enable..

WRTRIM

Bit 31: Write Trim value..

SYSOSCCTRL

System oscillator control

Offset: 0x504, 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
Toggle Fields

BYPASS

Bit 0: Bypass system oscillator..

FREQRANGE

Bit 1: Determines frequency range for system oscillator..

WDTOSCCTRL

Watchdog oscillator control

Offset: 0x508, reset: 0xA0, 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
Toggle Fields

DIVSEL

Bits 0-4: Divider select..

FREQSEL

Bits 5-9: Frequency select..

RTCOSCCTRL

RTC oscillator 32 kHz output control

Offset: 0x50c, 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
EN
rw
Toggle Fields

EN

Bit 0: RTC 32 kHz clock enable..

USBPLLCTRL

USB PLL control

Offset: 0x51c, reset: 0, access: read-write

2/6 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
FBSEL
rw
BYPASS
rw
DIRECT
rw
NSEL
rw
PSEL
rw
MSEL
rw
Toggle Fields

MSEL

Bits 0-7: PLL feedback Divider value..

PSEL

Bits 8-9: PLL Divider value..

NSEL

Bits 10-11: PLL feedback Divider value..

DIRECT

Bit 12: Direct CCO clock output control..

Allowed values:
0: DISABLED: CCO Clock signal goes through post divider.
0x1: ENABLED: CCO Clock signal goes directly to output(s)..

BYPASS

Bit 13: Input clock bypass control..

Allowed values:
0: DISABLED: CCO clock is sent to post dividers..
0x1: ENABLED: PLL input clock is sent to post dividers..

FBSEL

Bit 14: Feedback divider input clock control..

USBPLLSTAT

USB PLL status

Offset: 0x520, 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
LOCK
rw
Toggle Fields

LOCK

Bit 0: USBPLL lock indicator..

SYSPLLCTRL

System PLL control

Offset: 0x580, reset: 0, access: read-write

2/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIRECTO
rw
DIRECTI
rw
UPLIMOFF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BYPASS
rw
SELP
rw
SELI
rw
SELR
rw
Toggle Fields

SELR

Bits 0-3: Bandwidth select R value..

SELI

Bits 4-9: Bandwidth select I value..

SELP

Bits 10-14: Bandwidth select P value..

BYPASS

Bit 15: PLL bypass control..

Allowed values:
0: DISABLED: Bypass disabled. PLL CCO is sent to the PLL post-dividers.
0x1: ENABLED: Bypass enabled. PLL input clock is sent directly to the PLL output (default).

UPLIMOFF

Bit 17: Disable upper frequency limiter..

DIRECTI

Bit 19: PLL0 direct input enable..

DIRECTO

Bit 20: PLL0 direct output enable..

Allowed values:
0: DISABLED: Disabled. The PLL output divider (P divider) is used to create the PLL output.
0x1: ENABLED: Enabled. The PLL output divider (P divider) is bypassed, the PLL CCO output is used as the PLL output.

SYSPLLSTAT

PLL status

Offset: 0x584, 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
LOCK
rw
Toggle Fields

LOCK

Bit 0: PLL lock indicator..

SYSPLLNDEC

PLL N divider

Offset: 0x588, 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
NREQ
rw
NDEC
rw
Toggle Fields

NDEC

Bits 0-9: Decoded N-divider coefficient value..

NREQ

Bit 10: NDEC reload request..

SYSPLLPDEC

PLL P divider

Offset: 0x58c, 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
PREQ
rw
PDEC
rw
Toggle Fields

PDEC

Bits 0-6: Decoded P-divider coefficient value..

PREQ

Bit 7: ..

SYSPLLMDEC

System PLL M divider

Offset: 0x590, 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
MREQ
rw
MDEC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDEC
rw
Toggle Fields

MDEC

Bits 0-16: Decoded M-divider coefficient value..

MREQ

Bit 17: MDEC reload request..

AUDPLLCTRL

Audio PLL control

Offset: 0x5a0, reset: 0, access: read-write

2/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIRECTO
rw
DIRECTI
rw
UPLIMOFF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BYPASS
rw
SELP
rw
SELI
rw
SELR
rw
Toggle Fields

SELR

Bits 0-3: Bandwidth select R value..

SELI

Bits 4-9: Bandwidth select I value..

SELP

Bits 10-14: ..

BYPASS

Bit 15: PLL bypass control..

Allowed values:
0: DISABLED: Bypass disabled. PLL CCO is sent to the PLL post-dividers.
0x1: ENABLED: Bypass enabled. PLL input clock is sent directly to the PLL output (default).

UPLIMOFF

Bit 17: Disable upper frequency limiter..

DIRECTI

Bit 19: PLL direct input enable..

DIRECTO

Bit 20: PLL direct output enable.

Allowed values:
0: DISABLED: Disabled. The PLL output divider (P divider) is used to create the PLL output.
0x1: ENABLED: Enabled. The PLL output divider (P divider) is bypassed, the PLL CCO output is used as the PLL output.

AUDPLLSTAT

Audio PLL status

Offset: 0x5a4, 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
LOCK
rw
Toggle Fields

LOCK

Bit 0: PLL lock indicator..

AUDPLLNDEC

Audio PLL N divider

Offset: 0x5a8, 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
NREQ
rw
NDEC
rw
Toggle Fields

NDEC

Bits 0-9: Decoded N-divider coefficient value..

NREQ

Bit 10: NDEC reload request..

AUDPLLPDEC

Audio PLL P divider

Offset: 0x5ac, 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
PREQ
rw
PDEC
rw
Toggle Fields

PDEC

Bits 0-6: Decoded P-divider coefficient value..

PREQ

Bit 7: PDEC reload request..

AUDPLLMDEC

Audio PLL M divider

Offset: 0x5b0, 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
MREQ
rw
MDEC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDEC
rw
Toggle Fields

MDEC

Bits 0-16: Decoded M-divider coefficient value..

MREQ

Bit 17: MDEC reload request..

AUDPLLFRAC

Audio PLL fractional divider control

Offset: 0x5b4, 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
SEL_EXT
rw
REQ
rw
CTRL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTRL
rw
Toggle Fields

CTRL

Bits 0-21: PLL fractional divider control word.

REQ

Bit 22: Writing 1 to REQ signal loads CTRL value into fractional wrapper modulator..

SEL_EXT

Bit 23: Select fractional divider..

PDSLEEPCFG0

Sleep configuration register

Offset: 0x600, reset: 0xF81F40, access: read-write

0/20 fields covered.

PDEN_FRO

Bit 4: FRO oscillator..

PDEN_TS

Bit 6: Temp sensor..

PDEN_BOD_RST

Bit 7: Brown-out Detect reset..

PDEN_BOD_INTR

Bit 8: Brown-out Detect interrupt..

PDEN_VD2_ANA

Bit 9: Analog supply for System Oscillator (also enable/disable bit 3 in PDRUNCFG1 register), Temperature Sensor (also, enable/disable bit 6), ADC (also, enable/disable bits 10, 19, and 23)..

PDEN_ADC0

Bit 10: ADC power..

PDEN_SRAMX

Bit 13: PDEN_SRAMX controls SRAMX (also enable/disable bit 27)..

PDEN_SRAM0

Bit 14: PDEN_SRAM0 controls SRAM0 (also enable/disable bit 27)..

PDEN_SRAM1_2_3

Bit 15: PDEN_SRAM1_2_3 controls SRAM1, SRAM2, and SRAM3 (also enable/disable bit 27)..

PDEN_USB_RAM

Bit 16: PDEN_USB_SRAM controls USB_RAM (also enable/disable bit 27)..

PDEN_ROM

Bit 17: ROM (also enable/disable bit 27)..

PDEN_VDDA

Bit 19: Vdda to the ADC, must be enabled for the ADC to work (also enable/disable bit 9, 10, and 23)..

PDEN_WDT_OSC

Bit 20: Watchdog oscillator..

PDEN_USB0_PHY

Bit 21: USB0 PHY power (also enable/disable bit 28)..

PDEN_SYS_PLL

Bit 22: System PLL (PLL0) power (also enable/disable bit 26)..

PDEN_VREFP

Bit 23: VREFP to the ADC must be enabled for the ADC to work (also enable/disable bit 9, 10, and 19)..

PDEN_VD3

Bit 26: Power control for all PLLs..

PDEN_VD4

Bit 27: Power control for all SRAMs and ROM..

PDEN_VD5

Bit 28: Power control both USB0 PHY and USB1 PHY..

PDEN_VD6

Bit 29: Power control for EEPROM..

PDSLEEPCFG1

Sleep configuration register

Offset: 0x604, reset: 0xF81F40, access: read-write

0/6 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
PDEN_RNG
rw
PDEN_EEPROM
rw
PDEN_SYSOSC
rw
PDEN_AUD_PLL
rw
PDEN_USB1_PLL
rw
PDEN_USB1_PHY
rw
Toggle Fields

PDEN_USB1_PHY

Bit 0: USB1 high speed PHY (also, enable/disable bit 28 in PDRUNCFG0 register)..

PDEN_USB1_PLL

Bit 1: USB PLL (PLL1) power (also, enable/disable bit 26 in PDRUNCFG0 register)..

PDEN_AUD_PLL

Bit 2: Audio PLL (PLL2) power and fractional divider (also, enable/disable bit 26 in PDRUNCFG0 register)..

PDEN_SYSOSC

Bit 3: System Oscillator Power (also, enable/disable bit 9 in PDRUNCFG0 register)..

PDEN_EEPROM

Bit 5: EEPROM power (also, enable/disable bit 29 in PDRUNCFG0 register)..

PDEN_RNG

Bit 7: Random Number Generator Power..

PDRUNCFG0

Power configuration register

Offset: 0x610, reset: 0x14F81F40, access: read-write

0/20 fields covered.

PDEN_FRO

Bit 4: FRO oscillator..

PDEN_TS

Bit 6: Temp sensor..

PDEN_BOD_RST

Bit 7: Brown-out Detect reset..

PDEN_BOD_INTR

Bit 8: Brown-out Detect interrupt..

PDEN_VD2_ANA

Bit 9: Analog supply for System Oscillator (also enable/disable bit 3 in PDRUNCFG1 register), Temperature Sensor (also, enable/disable bit 6), ADC (also, enable/disable bits 10, 19, and 23)..

PDEN_ADC0

Bit 10: ADC power..

PDEN_SRAMX

Bit 13: PDEN_SRAMX controls SRAMX (also enable/disable bit 27)..

PDEN_SRAM0

Bit 14: PDEN_SRAM0 controls SRAM0 (also enable/disable bit 27)..

PDEN_SRAM1_2_3

Bit 15: PDEN_SRAM1_2_3 controls SRAM1, SRAM2, and SRAM3 (also enable/disable bit 27)..

PDEN_USB_RAM

Bit 16: PDEN_USB_SRAM controls USB_RAM (also enable/disable bit 27)..

PDEN_ROM

Bit 17: ROM (also enable/disable bit 27)..

PDEN_VDDA

Bit 19: Vdda to the ADC, must be enabled for the ADC to work (also enable/disable bit 9, 10, and 23)..

PDEN_WDT_OSC

Bit 20: Watchdog oscillator..

PDEN_USB0_PHY

Bit 21: USB0 PHY power (also enable/disable bit 28)..

PDEN_SYS_PLL

Bit 22: System PLL (PLL0) power (also enable/disable bit 26)..

PDEN_VREFP

Bit 23: VREFP to the ADC must be enabled for the ADC to work (also enable/disable bit 9, 10, and 19)..

PDEN_VD3

Bit 26: Power control for all PLLs..

PDEN_VD4

Bit 27: Power control for all SRAMs and ROM..

PDEN_VD5

Bit 28: Power control both USB0 PHY and USB1 PHY..

PDEN_VD6

Bit 29: Power control for EEPROM..

PDRUNCFG1

Power configuration register

Offset: 0x614, reset: 0x14F81F40, access: read-write

0/6 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
PDEN_RNG
rw
PDEN_EEPROM
rw
PDEN_SYSOSC
rw
PDEN_AUD_PLL
rw
PDEN_USB1_PLL
rw
PDEN_USB1_PHY
rw
Toggle Fields

PDEN_USB1_PHY

Bit 0: USB1 high speed PHY (also, enable/disable bit 28 in PDRUNCFG0 register)..

PDEN_USB1_PLL

Bit 1: USB PLL (PLL1) power (also, enable/disable bit 26 in PDRUNCFG0 register)..

PDEN_AUD_PLL

Bit 2: Audio PLL (PLL2) power and fractional divider (also, enable/disable bit 26 in PDRUNCFG0 register)..

PDEN_SYSOSC

Bit 3: System Oscillator Power (also, enable/disable bit 9 in PDRUNCFG0 register)..

PDEN_EEPROM

Bit 5: EEPROM power (also, enable/disable bit 29 in PDRUNCFG0 register)..

PDEN_RNG

Bit 7: Random Number Generator Power..

PDRUNCFGSET0

Power configuration set register

Offset: 0x620, reset: 0, access: read-write

0/20 fields covered.

PDEN_FRO

Bit 4: FRO oscillator..

PDEN_TS

Bit 6: Temp sensor..

PDEN_BOD_RST

Bit 7: Brown-out Detect reset..

PDEN_BOD_INTR

Bit 8: Brown-out Detect interrupt..

PDEN_VD2_ANA

Bit 9: Analog supply for System Oscillator (also enable/disable bit 3 in PDRUNCFG1 register), Temperature Sensor (also, enable/disable bit 6), ADC (also, enable/disable bits 10, 19, and 23)..

PDEN_ADC0

Bit 10: ADC power..

PDEN_SRAMX

Bit 13: PDEN_SRAMX controls SRAMX (also enable/disable bit 27)..

PDEN_SRAM0

Bit 14: PDEN_SRAM0 controls SRAM0 (also enable/disable bit 27)..

PDEN_SRAM1_2_3

Bit 15: PDEN_SRAM1_2_3 controls SRAM1, SRAM2, and SRAM3 (also enable/disable bit 27)..

PDEN_USB_RAM

Bit 16: PDEN_USB_SRAM controls USB_RAM (also enable/disable bit 27)..

PDEN_ROM

Bit 17: ROM (also enable/disable bit 27)..

PDEN_VDDA

Bit 19: Vdda to the ADC, must be enabled for the ADC to work (also enable/disable bit 9, 10, and 23)..

PDEN_WDT_OSC

Bit 20: Watchdog oscillator..

PDEN_USB0_PHY

Bit 21: USB0 PHY power (also enable/disable bit 28)..

PDEN_SYS_PLL

Bit 22: System PLL (PLL0) power (also enable/disable bit 26)..

PDEN_VREFP

Bit 23: VREFP to the ADC must be enabled for the ADC to work (also enable/disable bit 9, 10, and 19)..

PDEN_VD3

Bit 26: Power control for all PLLs..

PDEN_VD4

Bit 27: Power control for all SRAMs and ROM..

PDEN_VD5

Bit 28: Power control both USB0 PHY and USB1 PHY..

PDEN_VD6

Bit 29: Power control for EEPROM..

PDRUNCFGSET1

Power configuration set register

Offset: 0x624, reset: 0, access: read-write

0/6 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
PDEN_RNG
rw
PDEN_EEPROM
rw
PDEN_SYSOSC
rw
PDEN_AUD_PLL
rw
PDEN_USB1_PLL
rw
PDEN_USB1_PHY
rw
Toggle Fields

PDEN_USB1_PHY

Bit 0: USB1 high speed PHY (also, enable/disable bit 28 in PDRUNCFG0 register)..

PDEN_USB1_PLL

Bit 1: USB PLL (PLL1) power (also, enable/disable bit 26 in PDRUNCFG0 register)..

PDEN_AUD_PLL

Bit 2: Audio PLL (PLL2) power and fractional divider (also, enable/disable bit 26 in PDRUNCFG0 register)..

PDEN_SYSOSC

Bit 3: System Oscillator Power (also, enable/disable bit 9 in PDRUNCFG0 register)..

PDEN_EEPROM

Bit 5: EEPROM power (also, enable/disable bit 29 in PDRUNCFG0 register)..

PDEN_RNG

Bit 7: Random Number Generator Power..

PDRUNCFGCLR0

Power configuration clear register

Offset: 0x630, reset: 0, access: read-write

0/20 fields covered.

PDEN_FRO

Bit 4: FRO oscillator..

PDEN_TS

Bit 6: Temp sensor..

PDEN_BOD_RST

Bit 7: Brown-out Detect reset..

PDEN_BOD_INTR

Bit 8: Brown-out Detect interrupt..

PDEN_VD2_ANA

Bit 9: Analog supply for System Oscillator (also enable/disable bit 3 in PDRUNCFG1 register), Temperature Sensor (also, enable/disable bit 6), ADC (also, enable/disable bits 10, 19, and 23)..

PDEN_ADC0

Bit 10: ADC power..

PDEN_SRAMX

Bit 13: PDEN_SRAMX controls SRAMX (also enable/disable bit 27)..

PDEN_SRAM0

Bit 14: PDEN_SRAM0 controls SRAM0 (also enable/disable bit 27)..

PDEN_SRAM1_2_3

Bit 15: PDEN_SRAM1_2_3 controls SRAM1, SRAM2, and SRAM3 (also enable/disable bit 27)..

PDEN_USB_RAM

Bit 16: PDEN_USB_SRAM controls USB_RAM (also enable/disable bit 27)..

PDEN_ROM

Bit 17: ROM (also enable/disable bit 27)..

PDEN_VDDA

Bit 19: Vdda to the ADC, must be enabled for the ADC to work (also enable/disable bit 9, 10, and 23)..

PDEN_WDT_OSC

Bit 20: Watchdog oscillator..

PDEN_USB0_PHY

Bit 21: USB0 PHY power (also enable/disable bit 28)..

PDEN_SYS_PLL

Bit 22: System PLL (PLL0) power (also enable/disable bit 26)..

PDEN_VREFP

Bit 23: VREFP to the ADC must be enabled for the ADC to work (also enable/disable bit 9, 10, and 19)..

PDEN_VD3

Bit 26: Power control for all PLLs..

PDEN_VD4

Bit 27: Power control for all SRAMs and ROM..

PDEN_VD5

Bit 28: Power control both USB0 PHY and USB1 PHY..

PDEN_VD6

Bit 29: Power control for EEPROM..

PDRUNCFGCLR1

Power configuration clear register

Offset: 0x634, reset: 0, access: read-write

0/6 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
PDEN_RNG
rw
PDEN_EEPROM
rw
PDEN_SYSOSC
rw
PDEN_AUD_PLL
rw
PDEN_USB1_PLL
rw
PDEN_USB1_PHY
rw
Toggle Fields

PDEN_USB1_PHY

Bit 0: USB1 high speed PHY (also, enable/disable bit 28 in PDRUNCFG0 register)..

PDEN_USB1_PLL

Bit 1: USB PLL (PLL1) power (also, enable/disable bit 26 in PDRUNCFG0 register)..

PDEN_AUD_PLL

Bit 2: Audio PLL (PLL2) power and fractional divider (also, enable/disable bit 26 in PDRUNCFG0 register)..

PDEN_SYSOSC

Bit 3: System Oscillator Power (also, enable/disable bit 9 in PDRUNCFG0 register)..

PDEN_EEPROM

Bit 5: EEPROM power (also, enable/disable bit 29 in PDRUNCFG0 register)..

PDEN_RNG

Bit 7: Random Number Generator Power..

STARTER0

Start logic 0 wake-up enable register

Offset: 0x680, reset: 0, access: read-write

0/30 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RTC
rw
USB0
rw
USB0_NEEDCLK
rw
HWVAD
rw
DMIC
rw
ADC0_THCMP
rw
ADC0_SEQB
rw
ADC0_SEQA
rw
FLEXCOMM7
rw
FLEXCOMM6
rw
FLEXCOMM5
rw
FLEXCOMM4
rw
FLEXCOMM3
rw
FLEXCOMM2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLEXCOMM1
rw
FLEXCOMM0
rw
CTIMER3
rw
SCT0
rw
CTIMER1
rw
CTIMER0
rw
MRT
rw
UTICK
rw
PIN_INT3
rw
PIN_INT2
rw
PIN_INT1
rw
PIN_INT0
rw
GINT1
rw
GINT0
rw
DMA
rw
WDT_BOD
rw
Toggle Fields

WDT_BOD

Bit 0: WWDT and BOD interrupt wake-up..

DMA

Bit 1: DMA wake-up..

GINT0

Bit 2: Group interrupt 0 wake-up..

GINT1

Bit 3: Group interrupt 1 wake-up..

PIN_INT0

Bit 4: GPIO pin interrupt 0 wake-up..

PIN_INT1

Bit 5: GPIO pin interrupt 1 wake-up..

PIN_INT2

Bit 6: GPIO pin interrupt 2 wake-up..

PIN_INT3

Bit 7: GPIO pin interrupt 3 wake-up..

UTICK

Bit 8: Micro-tick Timer wake-up..

MRT

Bit 9: Multi-Rate Timer wake-up..

CTIMER0

Bit 10: Standard counter/timer CTIMER0 wake-up..

CTIMER1

Bit 11: Standard counter/timer CTIMER1 wake-up..

SCT0

Bit 12: SCT0 wake-up..

CTIMER3

Bit 13: Standard counter/timer CTIMER3 wake-up..

FLEXCOMM0

Bit 14: Flexcomm0 peripheral interrupt wake-up..

FLEXCOMM1

Bit 15: Flexcomm1 peripheral interrupt wake-up..

FLEXCOMM2

Bit 16: Flexcomm2 peripheral interrupt wake-up..

FLEXCOMM3

Bit 17: Flexcomm3 peripheral interrupt wake-up..

FLEXCOMM4

Bit 18: Flexcomm4 peripheral interrupt wake-up..

FLEXCOMM5

Bit 19: Flexcomm5 peripheral interrupt wake-up..

FLEXCOMM6

Bit 20: Flexcomm6 peripheral interrupt wake-up..

FLEXCOMM7

Bit 21: Flexcomm7 peripheral interrupt wake-up..

ADC0_SEQA

Bit 22: ADC0 sequence A interrupt wake-up..

ADC0_SEQB

Bit 23: ADC0 sequence B interrupt wake-up..

ADC0_THCMP

Bit 24: ADC0 threshold and error interrupt wake-up..

DMIC

Bit 25: Digital microphone interrupt wake-up..

HWVAD

Bit 26: Hardware voice activity detect interrupt wake-up..

USB0_NEEDCLK

Bit 27: USB activity interrupt wake-up..

USB0

Bit 28: USB function interrupt wake-up..

RTC

Bit 29: RTC interrupt alarm and wake-up timer..

STARTER1

Start logic 0 wake-up enable register

Offset: 0x684, reset: 0, access: read-write

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMARTCARD1
rw
SMARTCARD0
rw
ENET_INT0
rw
ENET_INT2
rw
ENET_INT1
rw
USB1_ACT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USB1
rw
FLEXCOMM9
rw
FLEXCOMM8
rw
SPIFI
rw
CTIMER4
rw
CTIMER2
rw
PINT7
rw
PINT6
rw
PINT5
rw
PINT4
rw
Toggle Fields

PINT4

Bit 0: GPIO pin interrupt 4 wake-up..

PINT5

Bit 1: GPIO pin interrupt 5 wake-up..

PINT6

Bit 2: GPIO pin interrupt 6 wake-up..

PINT7

Bit 3: GPIO pin interrupt 7 wake-up..

CTIMER2

Bit 4: Standard counter/timer CTIMER2 wake-up..

CTIMER4

Bit 5: Standard counter/timer CTIMER4 wake-up..

SPIFI

Bit 7: SPIFI interrupt wake-up. 0 = Wake-up disabled. 1 = Wake-up enabled..

FLEXCOMM8

Bit 8: Flexcomm Interface 8 wake-up..

FLEXCOMM9

Bit 9: Flexcomm Interface 9 wake-up..

USB1

Bit 15: USB 1 wake-up..

USB1_ACT

Bit 16: USB 1 activity wake-up..

ENET_INT1

Bit 17: Ethernet..

ENET_INT2

Bit 18: Ethernet..

ENET_INT0

Bit 19: Ethernet..

SMARTCARD0

Bit 23: Smart card 0 wake-up..

SMARTCARD1

Bit 24: Smart card 1 wake-up..

STARTERSET[[0]]

Set bits in STARTER

Offset: 0x6a0, 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
START_SET
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
START_SET
w
Toggle Fields

START_SET

Bits 0-31: Writing ones to this register sets the corresponding bit or bits in the STARTER0 register, if they are implemented..

STARTERSET[[1]]

Set bits in STARTER

Offset: 0x6a4, 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
START_SET
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
START_SET
w
Toggle Fields

START_SET

Bits 0-31: Writing ones to this register sets the corresponding bit or bits in the STARTER0 register, if they are implemented..

STARTERCLR[[0]]

Clear bits in STARTER0

Offset: 0x6c0, 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
START_CLR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
START_CLR
w
Toggle Fields

START_CLR

Bits 0-31: Writing ones to this register clears the corresponding bit or bits in the STARTER0 register, if they are implemented..

STARTERCLR[[1]]

Clear bits in STARTER0

Offset: 0x6c4, 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
START_CLR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
START_CLR
w
Toggle Fields

START_CLR

Bits 0-31: Writing ones to this register clears the corresponding bit or bits in the STARTER0 register, if they are implemented..

HWWAKE

Configures special cases of hardware wake-up

Offset: 0x780, 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
WAKEDMA
rw
WAKEDMIC
rw
FCWAKE
rw
FORCEWAKE
rw
Toggle Fields

FORCEWAKE

Bit 0: Force peripheral clocking to stay on during Deep Sleep and Power-down modes. When 1, clocking to peripherals is prevented from being shut down when the CPU enters Deep Sleep and Power-down modes. This is intended to allow a coprocessor to continue operating while the main CPU(s) are shut down..

FCWAKE

Bit 1: Wake for Flexcomms. When 1, any Flexcomm FIFO reaching the level specified by its own TXLVL will cause peripheral clocking to wake up temporarily while the related status is asserted..

WAKEDMIC

Bit 2: Wake for Digital Microphone. When 1, the digital microphone input FIFO reaching the level specified by TRIGLVL of either channel will cause peripheral clocking to wake up temporarily while the related status is asserted..

WAKEDMA

Bit 3: Wake for DMA. When 1, DMA being busy will cause peripheral clocking to remain running until DMA completes. This is generally used in conjunction with bit 1 and/or 2 in order to prevent peripheral clocking from being shut down as soon as the cause of wake-up is cleared, but before DMA has completed its related activity..

AUTOCGOR

Auto Clock-Gate Override Register

Offset: 0xe04, 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
RAM3
rw
RAM2
rw
RAM1
rw
RAM0X
rw
Toggle Fields

RAM0X

Bit 1: When 1, automatic clock gating for RAMX and RAM0 are turned off..

RAM1

Bit 2: When 1, automatic clock gating for RAM1 are turned off..

RAM2

Bit 3: When 1, automatic clock gating for RAM1 are turned off..

RAM3

Bit 4: When 1, automatic clock gating for RAM1 are turned off..

JTAGIDCODE

JTAG ID code register

Offset: 0xff4, 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
JTAGID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JTAGID
r
Toggle Fields

JTAGID

Bits 0-31: JTAG ID code..

DEVICE_ID0

Part ID register

Offset: 0xff8, 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
PARTID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PARTID
r
Toggle Fields

PARTID

Bits 0-31: Part ID.

DEVICE_ID1

Boot ROM and die revision register

Offset: 0xffc, 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
REVID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REVID
r
Toggle Fields

REVID

Bits 0-31: Revision..

BODCTRL

Brown-Out Detect control

Offset: 0x20044, reset: 0, access: read-write

4/6 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
BODINTSTAT
rw
BODRSTSTAT
rw
BODINTENA
rw
BODINTLEV
rw
BODRSTENA
rw
BODRSTLEV
rw
Toggle Fields

BODRSTLEV

Bits 0-1: BOD reset level.

Allowed values:
0: LEVEL0: Level 0: 1.5 V
0x1: LEVEL1: Level 1: 1.85 V
0x2: LEVEL2: Level 2: 2.0 V
0x3: LEVEL3: Level 3: 2.3 V

BODRSTENA

Bit 2: BOD reset enable.

Allowed values:
0: DISABLE: Disable reset function.
0x1: ENABLE: Enable reset function.

BODINTLEV

Bits 3-4: BOD interrupt level.

Allowed values:
0: LEVEL0: Level 0: 2.05 V
0x1: LEVEL1: Level 1: 2.45 V
0x2: LEVEL2: Level 2: 2.75 V
0x3: LEVEL3: Level 3: 3.05 V

BODINTENA

Bit 5: BOD interrupt enable.

Allowed values:
0: DISABLE: Disable interrupt function.
0x1: ENABLE: Enable interrupt function.

BODRSTSTAT

Bit 6: BOD reset status. When 1, a BOD reset has occurred. Cleared by writing 1 to this bit..

BODINTSTAT

Bit 7: BOD interrupt status. When 1, a BOD interrupt has occurred. Cleared by writing 1 to this bit..

SystemControl

0xe000e000: System Control Block

80/99 fields covered. Toggle Registers

Show register map

ACTLR

Auxiliary Control 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
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DISFOLD
rw
DISDEFWBUF
rw
DISMCYCINT
rw
Toggle Fields

DISMCYCINT

Bit 0: Disables interruption of multi-cycle instructions..

DISDEFWBUF

Bit 1: Disables write buffer use during default memory map accesses..

DISFOLD

Bit 2: Disables folding of IT instructions..

CPUID

CPUID Base Register

Offset: 0xd00, reset: 0x410FC240, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IMPLEMENTER
r
VARIANT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PARTNO
r
REVISION
r
Toggle Fields

REVISION

Bits 0-3: Indicates patch release: 0x0 = Patch 0.

PARTNO

Bits 4-15: Indicates part number.

VARIANT

Bits 20-23: Indicates processor revision: 0x2 = Revision 2.

IMPLEMENTER

Bits 24-31: Implementer code.

ICSR

Interrupt Control and State Register

Offset: 0xd04, reset: 0, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NMIPENDSET
rw
PENDSVSET
rw
PENDSVCLR
w
PENDSTSET
rw
PENDSTCLR
w
ISRPREEMPT
r
ISRPENDING
r
VECTPENDING
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VECTPENDING
r
RETTOBASE
r
VECTACTIVE
r
Toggle Fields

VECTACTIVE

Bits 0-8: Active exception number.

RETTOBASE

Bit 11: no description available.

Allowed values:
0: RETTOBASE_0: there are preempted active exceptions to execute
0x1: RETTOBASE_1: there are no active exceptions, or the currently-executing exception is the only active exception

VECTPENDING

Bits 12-17: Exception number of the highest priority pending enabled exception.

ISRPENDING

Bit 22: no description available.

ISRPREEMPT

Bit 23: no description available.

Allowed values:
0: ISRPREEMPT_0: Will not service
0x1: ISRPREEMPT_1: Will service a pending exception

PENDSTCLR

Bit 25: no description available.

Allowed values:
0: PENDSTCLR_0: no effect
0x1: PENDSTCLR_1: removes the pending state from the SysTick exception

PENDSTSET

Bit 26: no description available.

Allowed values:
0: PENDSTSET_0: write: no effect; read: SysTick exception is not pending
0x1: PENDSTSET_1: write: changes SysTick exception state to pending; read: SysTick exception is pending

PENDSVCLR

Bit 27: no description available.

Allowed values:
0: PENDSVCLR_0: no effect
0x1: PENDSVCLR_1: removes the pending state from the PendSV exception

PENDSVSET

Bit 28: no description available.

Allowed values:
0: PENDSVSET_0: write: no effect; read: PendSV exception is not pending
0x1: PENDSVSET_1: write: changes PendSV exception state to pending; read: PendSV exception is pending

NMIPENDSET

Bit 31: no description available.

Allowed values:
0: NMIPENDSET_0: write: no effect; read: NMI exception is not pending
0x1: NMIPENDSET_1: write: changes NMI exception state to pending; read: NMI exception is pending

VTOR

Vector Table Offset Register

Offset: 0xd08, 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
TBLOFF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TBLOFF
rw
Toggle Fields

TBLOFF

Bits 7-31: Vector table base offset.

AIRCR

Application Interrupt and Reset Control Register

Offset: 0xd0c, reset: 0xFA050000, access: read-write

2/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
VECTKEY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ENDIANNESS
r
PRIGROUP
rw
SYSRESETREQ
w
VECTCLRACTIVE
w
VECTRESET
w
Toggle Fields

VECTRESET

Bit 0: no description available.

VECTCLRACTIVE

Bit 1: no description available.

SYSRESETREQ

Bit 2: no description available.

Allowed values:
0: SYSRESETREQ_0: no system reset request
0x1: SYSRESETREQ_1: asserts a signal to the outer system that requests a reset

PRIGROUP

Bits 8-10: Interrupt priority grouping field. This field determines the split of group priority from subpriority..

ENDIANNESS

Bit 15: no description available.

Allowed values:
0: ENDIANNESS_0: Little-endian
0x1: ENDIANNESS_1: Big-endian

VECTKEY

Bits 16-31: Register key.

SCR

System Control Register

Offset: 0xd10, 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
SEVONPEND
rw
SLEEPDEEP
rw
SLEEPONEXIT
rw
Toggle Fields

SLEEPONEXIT

Bit 1: no description available.

Allowed values:
0: SLEEPONEXIT_0: o not sleep when returning to Thread mode
0x1: SLEEPONEXIT_1: enter sleep, or deep sleep, on return from an ISR

SLEEPDEEP

Bit 2: no description available.

Allowed values:
0: SLEEPDEEP_0: sleep
0x1: SLEEPDEEP_1: deep sleep

SEVONPEND

Bit 4: no description available.

Allowed values:
0: SEVONPEND_0: only enabled interrupts or events can wakeup the processor, disabled interrupts are excluded
0x1: SEVONPEND_1: enabled events and all interrupts, including disabled interrupts, can wakeup the processor

CCR

Configuration and Control Register

Offset: 0xd14, reset: 0, access: read-write

6/6 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
STKALIGN
rw
BFHFNMIGN
rw
DIV_0_TRP
rw
UNALIGN_TRP
rw
USERSETMPEND
rw
NONBASETHRDENA
rw
Toggle Fields

NONBASETHRDENA

Bit 0: no description available.

Allowed values:
0: NONBASETHRDENA_0: processor can enter Thread mode only when no exception is active
0x1: NONBASETHRDENA_1: processor can enter Thread mode from any level under the control of an EXC_RETURN value

USERSETMPEND

Bit 1: Enables unprivileged software access to the STIR.

Allowed values:
0: USERSETMPEND_0: disable
0x1: USERSETMPEND_1: enable

UNALIGN_TRP

Bit 3: Enables unaligned access traps.

Allowed values:
0: UNALIGN_TRP_0: do not trap unaligned halfword and word accesses
0x1: UNALIGN_TRP_1: trap unaligned halfword and word accesses

DIV_0_TRP

Bit 4: Enables faulting or halting when the processor executes an SDIV or UDIV instruction with a divisor of 0.

Allowed values:
0: DIV_0_TRP_0: do not trap divide by 0
0x1: DIV_0_TRP_1: trap divide by 0

BFHFNMIGN

Bit 8: Enables handlers with priority -1 or -2 to ignore data BusFaults caused by load and store instructions..

Allowed values:
0: BFHFNMIGN_0: data bus faults caused by load and store instructions cause a lock-up
0x1: BFHFNMIGN_1: handlers running at priority -1 and -2 ignore data bus faults caused by load and store instructions

STKALIGN

Bit 9: Indicates stack alignment on exception entry.

Allowed values:
0: STKALIGN_0: 4-byte aligned
0x1: STKALIGN_1: 8-byte aligned

SHPR1

System Handler Priority Register 1

Offset: 0xd18, 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
PRI_6
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRI_5
rw
PRI_4
rw
Toggle Fields

PRI_4

Bits 0-7: Priority of system handler 4, MemManage.

PRI_5

Bits 8-15: Priority of system handler 5, BusFault.

PRI_6

Bits 16-23: Priority of system handler 6, UsageFault.

SHPR2

System Handler Priority Register 2

Offset: 0xd1c, 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
PRI_11
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

PRI_11

Bits 24-31: Priority of system handler 11, SVCall.

SHPR3

System Handler Priority Register 3

Offset: 0xd20, 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
PRI_15
rw
PRI_14
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

PRI_14

Bits 16-23: Priority of system handler 14, PendSV.

PRI_15

Bits 24-31: Priority of system handler 15, SysTick exception.

SHCSR

System Handler Control and State Register

Offset: 0xd24, reset: 0, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
USGFAULTENA
rw
BUSFAULTENA
rw
MEMFAULTENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SVCALLPENDED
rw
BUSFAULTPENDED
rw
MEMFAULTPENDED
rw
USGFAULTPENDED
rw
SYSTICKACT
rw
PENDSVACT
rw
MONITORACT
rw
SVCALLACT
rw
USGFAULTACT
rw
BUSFAULTACT
rw
MEMFAULTACT
rw
Toggle Fields

MEMFAULTACT

Bit 0: no description available.

Allowed values:
0: MEMFAULTACT_0: exception is not active
0x1: MEMFAULTACT_1: exception is active

BUSFAULTACT

Bit 1: no description available.

Allowed values:
0: BUSFAULTACT_0: exception is not active
0x1: BUSFAULTACT_1: exception is active

USGFAULTACT

Bit 3: no description available.

Allowed values:
0: USGFAULTACT_0: exception is not active
0x1: USGFAULTACT_1: exception is active

SVCALLACT

Bit 7: no description available.

Allowed values:
0: SVCALLACT_0: exception is not active
0x1: SVCALLACT_1: exception is active

MONITORACT

Bit 8: no description available.

Allowed values:
0: MONITORACT_0: exception is not active
0x1: MONITORACT_1: exception is active

PENDSVACT

Bit 10: no description available.

Allowed values:
0: PENDSVACT_0: exception is not active
0x1: PENDSVACT_1: exception is active

SYSTICKACT

Bit 11: no description available.

Allowed values:
0: SYSTICKACT_0: exception is not active
0x1: SYSTICKACT_1: exception is active

USGFAULTPENDED

Bit 12: no description available.

Allowed values:
0: USGFAULTPENDED_0: exception is not pending
0x1: USGFAULTPENDED_1: exception is pending

MEMFAULTPENDED

Bit 13: no description available.

Allowed values:
0: MEMFAULTPENDED_0: exception is not pending
0x1: MEMFAULTPENDED_1: exception is pending

BUSFAULTPENDED

Bit 14: no description available.

Allowed values:
0: BUSFAULTPENDED_0: exception is not pending
0x1: BUSFAULTPENDED_1: exception is pending

SVCALLPENDED

Bit 15: no description available.

Allowed values:
0: SVCALLPENDED_0: exception is not pending
0x1: SVCALLPENDED_1: exception is pending

MEMFAULTENA

Bit 16: no description available.

Allowed values:
0: MEMFAULTENA_0: disable the exception
0x1: MEMFAULTENA_1: enable the exception

BUSFAULTENA

Bit 17: no description available.

Allowed values:
0: BUSFAULTENA_0: disable the exception
0x1: BUSFAULTENA_1: enable the exception

USGFAULTENA

Bit 18: no description available.

Allowed values:
0: USGFAULTENA_0: disable the exception
0x1: USGFAULTENA_1: enable the exception

CFSR

Configurable Fault Status Registers

Offset: 0xd28, reset: 0, access: read-write

19/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIVBYZERO
rw
UNALIGNED
rw
NOCP
rw
INVPC
rw
INVSTATE
rw
UNDEFINSTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BFARVALID
rw
LSPERR
rw
STKERR
rw
UNSTKERR
rw
IMPRECISERR
rw
PRECISERR
rw
IBUSERR
rw
MMARVALID
rw
MLSPERR
rw
MSTKERR
rw
MUNSTKERR
rw
DACCVIOL
rw
IACCVIOL
rw
Toggle Fields

IACCVIOL

Bit 0: no description available.

Allowed values:
0: IACCVIOL_0: no instruction access violation fault
0x1: IACCVIOL_1: the processor attempted an instruction fetch from a location that does not permit execution

DACCVIOL

Bit 1: no description available.

Allowed values:
0: DACCVIOL_0: no data access violation fault
0x1: DACCVIOL_1: the processor attempted a load or store at a location that does not permit the operation

MUNSTKERR

Bit 3: no description available.

Allowed values:
0: MUNSTKERR_0: no unstacking fault
0x1: MUNSTKERR_1: unstack for an exception return has caused one or more access violations

MSTKERR

Bit 4: no description available.

Allowed values:
0: MSTKERR_0: no stacking fault
0x1: MSTKERR_1: stacking for an exception entry has caused one or more access violations

MLSPERR

Bit 5: no description available.

Allowed values:
0: MLSPERR_0: No MemManage fault occurred during floating-point lazy state preservation
0x1: MLSPERR_1: A MemManage fault occurred during floating-point lazy state preservation

MMARVALID

Bit 7: no description available.

Allowed values:
0: MMARVALID_0: value in MMAR is not a valid fault address
0x1: MMARVALID_1: MMAR holds a valid fault address

IBUSERR

Bit 8: no description available.

Allowed values:
0: IBUSERR_0: no instruction bus error
0x1: IBUSERR_1: instruction bus error

PRECISERR

Bit 9: no description available.

Allowed values:
0: PRECISERR_0: no precise data bus error
0x1: PRECISERR_1: a data bus error has occurred, and the PC value stacked for the exception return points to the instruction that caused the fault

IMPRECISERR

Bit 10: no description available.

Allowed values:
0: IMPRECISERR_0: no imprecise data bus error
0x1: IMPRECISERR_1: a data bus error has occurred, but the return address in the stack frame is not related to the instruction that caused the error

UNSTKERR

Bit 11: no description available.

Allowed values:
0: UNSTKERR_0: no unstacking fault
0x1: UNSTKERR_1: unstack for an exception return has caused one or more BusFaults

STKERR

Bit 12: no description available.

Allowed values:
0: STKERR_0: no stacking fault
0x1: STKERR_1: stacking for an exception entry has caused one or more BusFaults

LSPERR

Bit 13: no description available.

Allowed values:
0: LSPERR_0: No bus fault occurred during floating-point lazy state preservation
0x1: LSPERR_1: A bus fault occurred during floating-point lazy state preservation

BFARVALID

Bit 15: no description available.

Allowed values:
0: BFARVALID_0: value in BFAR is not a valid fault address
0x1: BFARVALID_1: BFAR holds a valid fault address

UNDEFINSTR

Bit 16: no description available.

Allowed values:
0: UNDEFINSTR_0: no undefined instruction UsageFault
0x1: UNDEFINSTR_1: the processor has attempted to execute an undefined instruction

INVSTATE

Bit 17: no description available.

Allowed values:
0: INVSTATE_0: no invalid state UsageFault
0x1: INVSTATE_1: the processor has attempted to execute an instruction that makes illegal use of the EPSR

INVPC

Bit 18: no description available.

Allowed values:
0: INVPC_0: no invalid PC load UsageFault
0x1: INVPC_1: the processor has attempted an illegal load of EXC_RETURN to the PC

NOCP

Bit 19: no description available.

Allowed values:
0: NOCP_0: no UsageFault caused by attempting to access a coprocessor
0x1: NOCP_1: the processor has attempted to access a coprocessor

UNALIGNED

Bit 24: no description available.

Allowed values:
0: UNALIGNED_0: no unaligned access fault, or unaligned access trapping not enabled
0x1: UNALIGNED_1: the processor has made an unaligned memory access

DIVBYZERO

Bit 25: no description available.

Allowed values:
0: DIVBYZERO_0: no divide by zero fault, or divide by zero trapping not enabled
0x1: DIVBYZERO_1: the processor has executed an SDIV or UDIV instruction with a divisor of 0

HFSR

HardFault Status register

Offset: 0xd2c, 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
DEBUGEVT
rw
FORCED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VECTTBL
rw
Toggle Fields

VECTTBL

Bit 1: no description available.

Allowed values:
0: VECTTBL_0: no BusFault on vector table read
0x1: VECTTBL_1: BusFault on vector table read

FORCED

Bit 30: no description available.

Allowed values:
0: FORCED_0: no forced HardFault
0x1: FORCED_1: forced HardFault

DEBUGEVT

Bit 31: no description available.

DFSR

Debug Fault Status Register

Offset: 0xd30, reset: 0, access: read-write

5/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
EXTERNAL
rw
VCATCH
rw
DWTTRAP
rw
BKPT
rw
HALTED
rw
Toggle Fields

HALTED

Bit 0: no description available.

Allowed values:
0: HALTED_0: No active halt request debug event
0x1: HALTED_1: Halt request debug event active

BKPT

Bit 1: no description available.

Allowed values:
0: BKPT_0: No current breakpoint debug event
0x1: BKPT_1: At least one current breakpoint debug event

DWTTRAP

Bit 2: no description available.

Allowed values:
0: DWTTRAP_0: No current debug events generated by the DWT
0x1: DWTTRAP_1: At least one current debug event generated by the DWT

VCATCH

Bit 3: no description available.

Allowed values:
0: VCATCH_0: No Vector catch triggered
0x1: VCATCH_1: Vector catch triggered

EXTERNAL

Bit 4: no description available.

Allowed values:
0: EXTERNAL_0: No EDBGRQ debug event
0x1: EXTERNAL_1: EDBGRQ debug event

MMFAR

MemManage Address Register

Offset: 0xd34, 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
ADDRESS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 0-31: Address of MemManage fault location.

BFAR

BusFault Address Register

Offset: 0xd38, 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
ADDRESS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 0-31: Address of the BusFault location.

AFSR

Auxiliary Fault Status Register

Offset: 0xd3c, 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
AUXFAULT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AUXFAULT
rw
Toggle Fields

AUXFAULT

Bits 0-31: Latched version of the AUXFAULT inputs.

CPACR

Coprocessor Access Control Register

Offset: 0xd88, 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
CP11
rw
CP10
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

CP10

Bits 20-21: Access privileges for coprocessor 10..

Allowed values:
0: CP10_0: Access denied. Any attempted access generates a NOCP UsageFault
0x1: CP10_1: Privileged access only. An unprivileged access generates a NOCP fault.
0x3: CP10_3: Full access.

CP11

Bits 22-23: Access privileges for coprocessor 11..

Allowed values:
0: CP11_0: Access denied. Any attempted access generates a NOCP UsageFault
0x1: CP11_1: Privileged access only. An unprivileged access generates a NOCP fault.
0x3: CP11_3: Full access.

FPCCR

Floating-point Context Control Register

Offset: 0xf34, reset: 0xC0000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ASPEN
rw
LSPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MONRDY
rw
BFRDY
rw
MMRDY
rw
HFRDY
rw
THREAD
rw
USER
rw
LSPACT
rw
Toggle Fields

LSPACT

Bit 0: Lazy state preservation..

Allowed values:
0: LSPACT_0: Lazy state preservation is not active.
0x1: LSPACT_1: Lazy state preservation is active. floating-point stack frame has been allocated but saving state to it has been deferred.

USER

Bit 1: Privilege level when the floating-point stack frame was allocated..

Allowed values:
0: USER_0: Privilege level was not user when the floating-point stack frame was allocated.
0x1: USER_1: Privilege level was user when the floating-point stack frame was allocated.

THREAD

Bit 3: Mode when the floating-point stack frame was allocated..

Allowed values:
0: THREAD_0: Mode was not Thread Mode when the floating-point stack frame was allocated.
0x1: THREAD_1: Mode was Thread Mode when the floating-point stack frame was allocated.

HFRDY

Bit 4: Permission to set the HardFault handler to the pending state when the floating-point stack frame was allocated..

Allowed values:
0: HFRDY_0: Priority did not permit setting the HardFault handler to the pending state when the floating-point stack frame was allocated.
0x1: HFRDY_1: Priority permitted setting the HardFault handler to the pending state when the floating-point stack frame was allocated.

MMRDY

Bit 5: Permission to set the MemManage handler to the pending state when the floating-point stack frame was allocated..

Allowed values:
0: MMRDY_0: MemManage is disabled or priority did not permit setting the MemManage handler to the pending state when the floating-point stack frame was allocated.
0x1: MMRDY_1: MemManage is enabled and priority permitted setting the MemManage handler to the pending state when the floating-point stack frame was allocated.

BFRDY

Bit 6: Permission to set the BusFault handler to the pending state when the floating-point stack frame was allocated..

Allowed values:
0: BFRDY_0: BusFault is disabled or priority did not permit setting the BusFault handler to the pending state when the floating-point stack frame was allocated.
0x1: BFRDY_1: BusFault is disabled or priority did not permit setting the BusFault handler to the pending state when the floating-point stack frame was allocated.

MONRDY

Bit 8: Permission to set the MON_PEND when the floating-point stack frame was allocated..

Allowed values:
0: MONRDY_0: DebugMonitor is disabled or priority did not permit setting MON_PEND when the floating-point stack frame was allocated.
0x1: MONRDY_1: DebugMonitor is enabled and priority permits setting MON_PEND when the floating-point stack frame was allocated.

LSPEN

Bit 30: Lazy state preservation for floating-point context..

Allowed values:
0: LSPEN_0: Disable automatic lazy state preservation for floating-point context.
0x1: LSPEN_1: Enable automatic lazy state preservation for floating-point context.

ASPEN

Bit 31: Enables CONTROL2 setting on execution of a floating-point instruction. This results in automatic hardware state preservation and restoration, for floating-point context, on exception entry and exit..

Allowed values:
0: ASPEN_0: Disable CONTROL2 setting on execution of a floating-point instruction.
0x1: ASPEN_1: Enable CONTROL2 setting on execution of a floating-point instruction.

FPCAR

Floating-point Context Address Register

Offset: 0xf38, 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
ADDRESS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 3-31: The location of the unpopulated floating-point register space allocated on an exception stack frame..

FPDSCR

Floating-point Default Status Control Register

Offset: 0xf3c, 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
AHP
rw
DN
rw
FZ
rw
RMode
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

RMode

Bits 22-23: Default value for FPSCR.RMode (Rounding Mode control field)..

Allowed values:
0: RMode_0: Round to Nearest (RN) mode
0x1: RMode_1: Round towards Plus Infinity (RP) mode.
0x2: RMode_2: Round towards Minus Infinity (RM) mode.
0x3: RMode_3: Round towards Zero (RZ) mode.

FZ

Bit 24: Default value for FPSCR.FZ (Flush-to-zero mode control bit)..

Allowed values:
0: FZ_0: Flush-to-zero mode disabled. Behavior of the floating-point system is fully compliant with the IEEE 754 standard.
0x1: FZ_1: Flush-to-zero mode enabled.

DN

Bit 25: Default value for FPSCR.DN (Default NaN mode control bit)..

Allowed values:
0: DN_0: NaN operands propagate through to the output of a floating-point operation.
0x1: DN_1: Any operation involving one or more NaNs returns the Default NaN.

AHP

Bit 26: Default value for FPSCR.AHP (Alternative half-precision control bit)..

Allowed values:
0: AHP_0: IEEE half-precision format selected.
0x1: AHP_1: Alternative half-precision format selected.

SysTick

0xe000e010: System timer

6/9 fields covered. Toggle Registers

Show register map

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 CSR
0x4 RVR
0x8 CVR
0xc CALIB

CSR

SysTick Control and Status Register

Offset: 0x0, reset: 0x4, access: read-write

3/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
COUNTFLAG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLKSOURCE
rw
TICKINT
rw
ENABLE
rw
Toggle Fields

ENABLE

Bit 0: no description available.

Allowed values:
0: ENABLE_0: counter disabled
0x1: ENABLE_1: counter enabled

TICKINT

Bit 1: no description available.

Allowed values:
0: TICKINT_0: counting down to 0 does not assert the SysTick exception request
0x1: TICKINT_1: counting down to 0 asserts the SysTick exception request

CLKSOURCE

Bit 2: no description available.

Allowed values:
0: CLKSOURCE_0: external clock
0x1: CLKSOURCE_1: processor clock

COUNTFLAG

Bit 16: no description available.

RVR

SysTick Reload Value 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
RELOAD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RELOAD
rw
Toggle Fields

RELOAD

Bits 0-23: Value to load into the SysTick Current Value Register when the counter reaches 0.

CVR

SysTick Current Value Register

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
CURRENT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CURRENT
rw
Toggle Fields

CURRENT

Bits 0-23: Current value at the time the register is accessed.

CALIB

SysTick Calibration Value Register

Offset: 0xc, reset: 0x80000000, access: read-only

3/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NOREF
r
SKEW
r
TENMS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TENMS
r
Toggle Fields

TENMS

Bits 0-23: Reload value to use for 10ms timing.

SKEW

Bit 30: no description available.

Allowed values:
0: SKEW_0: 10ms calibration value is exact
0x1: SKEW_1: 10ms calibration value is inexact, because of the clock frequency

NOREF

Bit 31: no description available.

Allowed values:
0: NOREF_0: The reference clock is provided
0x1: NOREF_1: The reference clock is not provided

USART0

0x40086000: LPC5411x USARTs

75/114 fields covered. Toggle Registers

Show register map

CFG

USART Configuration register. Basic USART configuration settings that typically are not changed during operation.

Offset: 0x0, reset: 0, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXPOL
rw
RXPOL
rw
OEPOL
rw
OESEL
rw
AUTOADDR
rw
OETA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOOP
rw
SYNCMST
rw
CLKPOL
rw
SYNCEN
rw
CTSEN
rw
LINMODE
rw
MODE32K
rw
STOPLEN
rw
PARITYSEL
rw
DATALEN
rw
ENABLE
rw
Toggle Fields

ENABLE

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.

DATALEN

Bits 2-3: Selects the data size for the USART..

Allowed values:
0: BIT_7: 7 bit Data length.
0x1: BIT_8: 8 bit Data length.
0x2: BIT_9: 9 bit data length. The 9th bit is commonly used for addressing in multidrop mode. See the ADDRDET bit in the CTL register.

PARITYSEL

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.

STOPLEN

Bit 6: Number of stop bits appended to transmitted data. Only a single stop bit is required for received data..

Allowed values:
0: BIT_1: 1 stop bit.
0x1: BITS_2: 2 stop bits. This setting should only be used for asynchronous communication.

MODE32K

Bit 7: Selects standard or 32 kHz clocking mode..

Allowed values:
0: DISABLED: Disabled. USART uses standard clocking.
0x1: ENABLED: Enabled. USART uses the 32 kHz clock from the RTC oscillator as the clock source to the BRG, and uses a special bit clocking scheme.

LINMODE

Bit 8: LIN break mode enable..

Allowed values:
0: DISABLED: Disabled. Break detect and generate is configured for normal operation.
0x1: ENABLED: Enabled. Break detect and generate is configured for LIN bus operation.

CTSEN

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.

SYNCEN

Bit 11: Selects synchronous or asynchronous operation..

Allowed values:
0: ASYNCHRONOUS_MODE: Asynchronous mode.
0x1: SYNCHRONOUS_MODE: Synchronous mode.

CLKPOL

Bit 12: Selects the clock polarity and sampling edge of received data in synchronous mode..

Allowed values:
0: FALLING_EDGE: Falling edge. Un_RXD is sampled on the falling edge of SCLK.
0x1: RISING_EDGE: Rising edge. Un_RXD is sampled on the rising edge of SCLK.

SYNCMST

Bit 14: Synchronous mode Master select..

Allowed values:
0: SLAVE: Slave. When synchronous mode is enabled, the USART is a slave.
0x1: MASTER: Master. When synchronous mode is enabled, the USART is a master.

LOOP

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.

OETA

Bit 18: Output Enable Turnaround time enable for RS-485 operation..

Allowed values:
0: DISABLED: Disabled. If selected by OESEL, the Output Enable signal deasserted at the end of the last stop bit of a transmission.
0x1: ENABLED: Enabled. If selected by OESEL, the Output Enable signal remains asserted for one character time after the end of the last stop bit of a transmission. OE will also remain asserted if another transmit begins before it is deasserted.

AUTOADDR

Bit 19: Automatic Address matching enable..

Allowed values:
0: DISABLED: Disabled. When addressing is enabled by ADDRDET, address matching is done by software. This provides the possibility of versatile addressing (e.g. respond to more than one address).
0x1: ENABLED: Enabled. When addressing is enabled by ADDRDET, address matching is done by hardware, using the value in the ADDR register as the address to match.

OESEL

Bit 20: Output Enable Select..

Allowed values:
0: STANDARD: Standard. The RTS signal is used as the standard flow control function.
0x1: RS_485: RS-485. The RTS signal configured to provide an output enable signal to control an RS-485 transceiver.

OEPOL

Bit 21: Output Enable Polarity..

Allowed values:
0: LOW: Low. If selected by OESEL, the output enable is active low.
0x1: HIGH: High. If selected by OESEL, the output enable is active high.

RXPOL

Bit 22: Receive data polarity..

Allowed values:
0: STANDARD: Standard. The RX signal is used as it arrives from the pin. This means that the RX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The RX signal is inverted before being used by the USART. This means that the RX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

TXPOL

Bit 23: Transmit data polarity..

Allowed values:
0: STANDARD: Standard. The TX signal is sent out without change. This means that the TX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The TX signal is inverted by the USART before being sent out. This means that the TX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

CTL

USART Control register. USART control settings that are more likely to change during operation.

Offset: 0x4, reset: 0, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AUTOBAUD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRCCONRX
rw
CC
rw
TXDIS
rw
ADDRDET
rw
TXBRKEN
rw
Toggle Fields

TXBRKEN

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.

ADDRDET

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.

TXDIS

Bit 6: Transmit Disable..

Allowed values:
0: ENABLED: Not disabled. USART transmitter is not disabled.
0x1: DISABLED: Disabled. USART transmitter is disabled after any character currently being transmitted is complete. This feature can be used to facilitate software flow control.

CC

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).

CLRCCONRX

Bit 9: Clear Continuous Clock..

Allowed values:
0: NO_EFFECT: No effect. No effect on the CC bit.
0x1: AUTO_CLEAR: Auto-clear. The CC bit is automatically cleared when a complete character has been received. This bit is cleared at the same time.

AUTOBAUD

Bit 16: Autobaud enable..

Allowed values:
0: DISABLED: Disabled. USART is in normal operating mode.
0x1: ENABLED: Enabled. USART is in autobaud mode. This bit should only be set when the USART receiver is idle. The first start bit of RX is measured and used the update the BRG register to match the received data rate. AUTOBAUD is cleared once this process is complete, or if there is an AERR.

STAT

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: 0xA, access: read-write

5/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXNOISEINT
rw
PARITYERRINT
rw
FRAMERRINT
rw
START
rw
DELTARXBRK
rw
RXBRK
r
TXDISSTAT
r
DELTACTS
rw
CTS
r
TXIDLE
r
RXIDLE
r
Toggle Fields

RXIDLE

Bit 1: Receiver Idle. When 0, indicates that the receiver is currently in the process of receiving data. When 1, indicates that the receiver is not currently in the process of receiving data..

TXIDLE

Bit 3: Transmitter Idle. When 0, indicates that the transmitter is currently in the process of sending data.When 1, indicate that the transmitter is not currently in the process of sending data..

CTS

Bit 4: This bit reflects the current state of the CTS signal, regardless of the setting of the CTSEN bit in the CFG register. This will be the value of the CTS input pin unless loopback mode is enabled..

DELTACTS

Bit 5: This bit is set when a change in the state is detected for the CTS flag above. This bit is cleared by software..

TXDISSTAT

Bit 6: Transmitter Disabled Status flag. When 1, this bit indicates that the USART transmitter is fully idle after being disabled via the TXDIS bit in the CFG register (TXDIS = 1)..

RXBRK

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..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs. Cleared by software..

START

Bit 12: This bit is set when a start is detected on the receiver input. Its purpose is primarily to allow wake-up from Deep-sleep or Power-down mode immediately when a start is detected. Cleared by software..

FRAMERRINT

Bit 13: Framing Error interrupt flag. This flag is set when a character is 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..

PARITYERRINT

Bit 14: Parity Error interrupt flag. This flag is set when a parity error is detected in a received character..

RXNOISEINT

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..

ABERR

Bit 16: Auto baud Error. An auto baud error can occur if the BRG counts to its limit before the end of the start bit that is being measured, essentially an auto baud time-out..

INTENSET

Interrupt Enable read and Set register for USART (not FIFO) status. Contains individual interrupt enable bits 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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERREN
rw
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
TXDISEN
rw
DELTACTSEN
rw
TXIDLEEN
rw
Toggle Fields

TXIDLEEN

Bit 3: When 1, enables an interrupt when the transmitter becomes idle (TXIDLE = 1)..

DELTACTSEN

Bit 5: When 1, enables an interrupt when there is a change in the state of the CTS input..

TXDISEN

Bit 6: When 1, enables an interrupt when the transmitter is fully disabled as indicated by the TXDISINT flag in STAT. See description of the TXDISINT bit for details..

DELTARXBRKEN

Bit 11: When 1, enables an interrupt when a change of state has occurred in the detection of a received break condition (break condition asserted or deasserted)..

STARTEN

Bit 12: When 1, enables an interrupt when a received start bit has been detected..

FRAMERREN

Bit 13: When 1, enables an interrupt when a framing error has been detected..

PARITYERREN

Bit 14: When 1, enables an interrupt when a parity error has been detected..

RXNOISEEN

Bit 15: When 1, enables an interrupt when noise is detected. See description of the RXNOISEINT bit in Table 354..

ABERREN

Bit 16: When 1, enables an interrupt when an auto baud error occurs..

INTENCLR

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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRCLR
w
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
TXDISCLR
w
DELTACTSCLR
w
TXIDLECLR
w
Toggle Fields

TXIDLECLR

Bit 3: Writing 1 clears the corresponding bit in the INTENSET register..

DELTACTSCLR

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

TXDISCLR

Bit 6: Writing 1 clears the corresponding bit in the INTENSET register..

DELTARXBRKCLR

Bit 11: Writing 1 clears the corresponding bit in the INTENSET register..

STARTCLR

Bit 12: Writing 1 clears the corresponding bit in the INTENSET register..

FRAMERRCLR

Bit 13: Writing 1 clears the corresponding bit in the INTENSET register..

PARITYERRCLR

Bit 14: Writing 1 clears the corresponding bit in the INTENSET register..

RXNOISECLR

Bit 15: Writing 1 clears the corresponding bit in the INTENSET register..

ABERRCLR

Bit 16: Writing 1 clears the corresponding bit in the INTENSET register..

BRG

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
Toggle Fields

BRGVAL

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..

INTSTAT

Interrupt status register. Reflects interrupts that are currently enabled.

Offset: 0x24, reset: 0, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRINT
r
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
TXDISINT
r
DELTACTS
r
TXIDLE
r
Toggle Fields

TXIDLE

Bit 3: Transmitter Idle status..

DELTACTS

Bit 5: This bit is set when a change in the state of the CTS input is detected..

TXDISINT

Bit 6: Transmitter Disabled Interrupt flag..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs..

START

Bit 12: This bit is set when a start is detected on the receiver input..

FRAMERRINT

Bit 13: Framing Error interrupt flag..

PARITYERRINT

Bit 14: Parity Error interrupt flag..

RXNOISEINT

Bit 15: Received Noise interrupt flag..

ABERRINT

Bit 16: Auto baud Error Interrupt flag..

OSR

Oversample selection register for asynchronous communication.

Offset: 0x28, reset: 0xF, 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
OSRVAL
rw
Toggle Fields

OSRVAL

Bits 0-3: Oversample Selection Value. 0 to 3 = not supported 0x4 = 5 function clocks are used to transmit and receive each data bit. 0x5 = 6 function clocks are used to transmit and receive each data bit. 0xF= 16 function clocks are used to transmit and receive each data bit..

ADDR

Address register for automatic address matching.

Offset: 0x2c, 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
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 0-7: 8-bit address used with automatic address matching. Used when address detection is enabled (ADDRDET in CTL = 1) and automatic address matching is enabled (AUTOADDR in CFG = 1)..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, 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
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-8: Transmit data to the FIFO..

FIFORD

FIFO read data.

Offset: 0xe30, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

USART1

0x40087000: LPC5411x USARTs

75/114 fields covered. Toggle Registers

Show register map

CFG

USART Configuration register. Basic USART configuration settings that typically are not changed during operation.

Offset: 0x0, reset: 0, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXPOL
rw
RXPOL
rw
OEPOL
rw
OESEL
rw
AUTOADDR
rw
OETA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOOP
rw
SYNCMST
rw
CLKPOL
rw
SYNCEN
rw
CTSEN
rw
LINMODE
rw
MODE32K
rw
STOPLEN
rw
PARITYSEL
rw
DATALEN
rw
ENABLE
rw
Toggle Fields

ENABLE

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.

DATALEN

Bits 2-3: Selects the data size for the USART..

Allowed values:
0: BIT_7: 7 bit Data length.
0x1: BIT_8: 8 bit Data length.
0x2: BIT_9: 9 bit data length. The 9th bit is commonly used for addressing in multidrop mode. See the ADDRDET bit in the CTL register.

PARITYSEL

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.

STOPLEN

Bit 6: Number of stop bits appended to transmitted data. Only a single stop bit is required for received data..

Allowed values:
0: BIT_1: 1 stop bit.
0x1: BITS_2: 2 stop bits. This setting should only be used for asynchronous communication.

MODE32K

Bit 7: Selects standard or 32 kHz clocking mode..

Allowed values:
0: DISABLED: Disabled. USART uses standard clocking.
0x1: ENABLED: Enabled. USART uses the 32 kHz clock from the RTC oscillator as the clock source to the BRG, and uses a special bit clocking scheme.

LINMODE

Bit 8: LIN break mode enable..

Allowed values:
0: DISABLED: Disabled. Break detect and generate is configured for normal operation.
0x1: ENABLED: Enabled. Break detect and generate is configured for LIN bus operation.

CTSEN

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.

SYNCEN

Bit 11: Selects synchronous or asynchronous operation..

Allowed values:
0: ASYNCHRONOUS_MODE: Asynchronous mode.
0x1: SYNCHRONOUS_MODE: Synchronous mode.

CLKPOL

Bit 12: Selects the clock polarity and sampling edge of received data in synchronous mode..

Allowed values:
0: FALLING_EDGE: Falling edge. Un_RXD is sampled on the falling edge of SCLK.
0x1: RISING_EDGE: Rising edge. Un_RXD is sampled on the rising edge of SCLK.

SYNCMST

Bit 14: Synchronous mode Master select..

Allowed values:
0: SLAVE: Slave. When synchronous mode is enabled, the USART is a slave.
0x1: MASTER: Master. When synchronous mode is enabled, the USART is a master.

LOOP

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.

OETA

Bit 18: Output Enable Turnaround time enable for RS-485 operation..

Allowed values:
0: DISABLED: Disabled. If selected by OESEL, the Output Enable signal deasserted at the end of the last stop bit of a transmission.
0x1: ENABLED: Enabled. If selected by OESEL, the Output Enable signal remains asserted for one character time after the end of the last stop bit of a transmission. OE will also remain asserted if another transmit begins before it is deasserted.

AUTOADDR

Bit 19: Automatic Address matching enable..

Allowed values:
0: DISABLED: Disabled. When addressing is enabled by ADDRDET, address matching is done by software. This provides the possibility of versatile addressing (e.g. respond to more than one address).
0x1: ENABLED: Enabled. When addressing is enabled by ADDRDET, address matching is done by hardware, using the value in the ADDR register as the address to match.

OESEL

Bit 20: Output Enable Select..

Allowed values:
0: STANDARD: Standard. The RTS signal is used as the standard flow control function.
0x1: RS_485: RS-485. The RTS signal configured to provide an output enable signal to control an RS-485 transceiver.

OEPOL

Bit 21: Output Enable Polarity..

Allowed values:
0: LOW: Low. If selected by OESEL, the output enable is active low.
0x1: HIGH: High. If selected by OESEL, the output enable is active high.

RXPOL

Bit 22: Receive data polarity..

Allowed values:
0: STANDARD: Standard. The RX signal is used as it arrives from the pin. This means that the RX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The RX signal is inverted before being used by the USART. This means that the RX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

TXPOL

Bit 23: Transmit data polarity..

Allowed values:
0: STANDARD: Standard. The TX signal is sent out without change. This means that the TX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The TX signal is inverted by the USART before being sent out. This means that the TX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

CTL

USART Control register. USART control settings that are more likely to change during operation.

Offset: 0x4, reset: 0, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AUTOBAUD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRCCONRX
rw
CC
rw
TXDIS
rw
ADDRDET
rw
TXBRKEN
rw
Toggle Fields

TXBRKEN

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.

ADDRDET

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.

TXDIS

Bit 6: Transmit Disable..

Allowed values:
0: ENABLED: Not disabled. USART transmitter is not disabled.
0x1: DISABLED: Disabled. USART transmitter is disabled after any character currently being transmitted is complete. This feature can be used to facilitate software flow control.

CC

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).

CLRCCONRX

Bit 9: Clear Continuous Clock..

Allowed values:
0: NO_EFFECT: No effect. No effect on the CC bit.
0x1: AUTO_CLEAR: Auto-clear. The CC bit is automatically cleared when a complete character has been received. This bit is cleared at the same time.

AUTOBAUD

Bit 16: Autobaud enable..

Allowed values:
0: DISABLED: Disabled. USART is in normal operating mode.
0x1: ENABLED: Enabled. USART is in autobaud mode. This bit should only be set when the USART receiver is idle. The first start bit of RX is measured and used the update the BRG register to match the received data rate. AUTOBAUD is cleared once this process is complete, or if there is an AERR.

STAT

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: 0xA, access: read-write

5/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXNOISEINT
rw
PARITYERRINT
rw
FRAMERRINT
rw
START
rw
DELTARXBRK
rw
RXBRK
r
TXDISSTAT
r
DELTACTS
rw
CTS
r
TXIDLE
r
RXIDLE
r
Toggle Fields

RXIDLE

Bit 1: Receiver Idle. When 0, indicates that the receiver is currently in the process of receiving data. When 1, indicates that the receiver is not currently in the process of receiving data..

TXIDLE

Bit 3: Transmitter Idle. When 0, indicates that the transmitter is currently in the process of sending data.When 1, indicate that the transmitter is not currently in the process of sending data..

CTS

Bit 4: This bit reflects the current state of the CTS signal, regardless of the setting of the CTSEN bit in the CFG register. This will be the value of the CTS input pin unless loopback mode is enabled..

DELTACTS

Bit 5: This bit is set when a change in the state is detected for the CTS flag above. This bit is cleared by software..

TXDISSTAT

Bit 6: Transmitter Disabled Status flag. When 1, this bit indicates that the USART transmitter is fully idle after being disabled via the TXDIS bit in the CFG register (TXDIS = 1)..

RXBRK

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..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs. Cleared by software..

START

Bit 12: This bit is set when a start is detected on the receiver input. Its purpose is primarily to allow wake-up from Deep-sleep or Power-down mode immediately when a start is detected. Cleared by software..

FRAMERRINT

Bit 13: Framing Error interrupt flag. This flag is set when a character is 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..

PARITYERRINT

Bit 14: Parity Error interrupt flag. This flag is set when a parity error is detected in a received character..

RXNOISEINT

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..

ABERR

Bit 16: Auto baud Error. An auto baud error can occur if the BRG counts to its limit before the end of the start bit that is being measured, essentially an auto baud time-out..

INTENSET

Interrupt Enable read and Set register for USART (not FIFO) status. Contains individual interrupt enable bits 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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERREN
rw
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
TXDISEN
rw
DELTACTSEN
rw
TXIDLEEN
rw
Toggle Fields

TXIDLEEN

Bit 3: When 1, enables an interrupt when the transmitter becomes idle (TXIDLE = 1)..

DELTACTSEN

Bit 5: When 1, enables an interrupt when there is a change in the state of the CTS input..

TXDISEN

Bit 6: When 1, enables an interrupt when the transmitter is fully disabled as indicated by the TXDISINT flag in STAT. See description of the TXDISINT bit for details..

DELTARXBRKEN

Bit 11: When 1, enables an interrupt when a change of state has occurred in the detection of a received break condition (break condition asserted or deasserted)..

STARTEN

Bit 12: When 1, enables an interrupt when a received start bit has been detected..

FRAMERREN

Bit 13: When 1, enables an interrupt when a framing error has been detected..

PARITYERREN

Bit 14: When 1, enables an interrupt when a parity error has been detected..

RXNOISEEN

Bit 15: When 1, enables an interrupt when noise is detected. See description of the RXNOISEINT bit in Table 354..

ABERREN

Bit 16: When 1, enables an interrupt when an auto baud error occurs..

INTENCLR

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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRCLR
w
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
TXDISCLR
w
DELTACTSCLR
w
TXIDLECLR
w
Toggle Fields

TXIDLECLR

Bit 3: Writing 1 clears the corresponding bit in the INTENSET register..

DELTACTSCLR

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

TXDISCLR

Bit 6: Writing 1 clears the corresponding bit in the INTENSET register..

DELTARXBRKCLR

Bit 11: Writing 1 clears the corresponding bit in the INTENSET register..

STARTCLR

Bit 12: Writing 1 clears the corresponding bit in the INTENSET register..

FRAMERRCLR

Bit 13: Writing 1 clears the corresponding bit in the INTENSET register..

PARITYERRCLR

Bit 14: Writing 1 clears the corresponding bit in the INTENSET register..

RXNOISECLR

Bit 15: Writing 1 clears the corresponding bit in the INTENSET register..

ABERRCLR

Bit 16: Writing 1 clears the corresponding bit in the INTENSET register..

BRG

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
Toggle Fields

BRGVAL

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..

INTSTAT

Interrupt status register. Reflects interrupts that are currently enabled.

Offset: 0x24, reset: 0, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRINT
r
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
TXDISINT
r
DELTACTS
r
TXIDLE
r
Toggle Fields

TXIDLE

Bit 3: Transmitter Idle status..

DELTACTS

Bit 5: This bit is set when a change in the state of the CTS input is detected..

TXDISINT

Bit 6: Transmitter Disabled Interrupt flag..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs..

START

Bit 12: This bit is set when a start is detected on the receiver input..

FRAMERRINT

Bit 13: Framing Error interrupt flag..

PARITYERRINT

Bit 14: Parity Error interrupt flag..

RXNOISEINT

Bit 15: Received Noise interrupt flag..

ABERRINT

Bit 16: Auto baud Error Interrupt flag..

OSR

Oversample selection register for asynchronous communication.

Offset: 0x28, reset: 0xF, 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
OSRVAL
rw
Toggle Fields

OSRVAL

Bits 0-3: Oversample Selection Value. 0 to 3 = not supported 0x4 = 5 function clocks are used to transmit and receive each data bit. 0x5 = 6 function clocks are used to transmit and receive each data bit. 0xF= 16 function clocks are used to transmit and receive each data bit..

ADDR

Address register for automatic address matching.

Offset: 0x2c, 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
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 0-7: 8-bit address used with automatic address matching. Used when address detection is enabled (ADDRDET in CTL = 1) and automatic address matching is enabled (AUTOADDR in CFG = 1)..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, 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
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-8: Transmit data to the FIFO..

FIFORD

FIFO read data.

Offset: 0xe30, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

USART2

0x40088000: LPC5411x USARTs

75/114 fields covered. Toggle Registers

Show register map

CFG

USART Configuration register. Basic USART configuration settings that typically are not changed during operation.

Offset: 0x0, reset: 0, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXPOL
rw
RXPOL
rw
OEPOL
rw
OESEL
rw
AUTOADDR
rw
OETA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOOP
rw
SYNCMST
rw
CLKPOL
rw
SYNCEN
rw
CTSEN
rw
LINMODE
rw
MODE32K
rw
STOPLEN
rw
PARITYSEL
rw
DATALEN
rw
ENABLE
rw
Toggle Fields

ENABLE

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.

DATALEN

Bits 2-3: Selects the data size for the USART..

Allowed values:
0: BIT_7: 7 bit Data length.
0x1: BIT_8: 8 bit Data length.
0x2: BIT_9: 9 bit data length. The 9th bit is commonly used for addressing in multidrop mode. See the ADDRDET bit in the CTL register.

PARITYSEL

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.

STOPLEN

Bit 6: Number of stop bits appended to transmitted data. Only a single stop bit is required for received data..

Allowed values:
0: BIT_1: 1 stop bit.
0x1: BITS_2: 2 stop bits. This setting should only be used for asynchronous communication.

MODE32K

Bit 7: Selects standard or 32 kHz clocking mode..

Allowed values:
0: DISABLED: Disabled. USART uses standard clocking.
0x1: ENABLED: Enabled. USART uses the 32 kHz clock from the RTC oscillator as the clock source to the BRG, and uses a special bit clocking scheme.

LINMODE

Bit 8: LIN break mode enable..

Allowed values:
0: DISABLED: Disabled. Break detect and generate is configured for normal operation.
0x1: ENABLED: Enabled. Break detect and generate is configured for LIN bus operation.

CTSEN

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.

SYNCEN

Bit 11: Selects synchronous or asynchronous operation..

Allowed values:
0: ASYNCHRONOUS_MODE: Asynchronous mode.
0x1: SYNCHRONOUS_MODE: Synchronous mode.

CLKPOL

Bit 12: Selects the clock polarity and sampling edge of received data in synchronous mode..

Allowed values:
0: FALLING_EDGE: Falling edge. Un_RXD is sampled on the falling edge of SCLK.
0x1: RISING_EDGE: Rising edge. Un_RXD is sampled on the rising edge of SCLK.

SYNCMST

Bit 14: Synchronous mode Master select..

Allowed values:
0: SLAVE: Slave. When synchronous mode is enabled, the USART is a slave.
0x1: MASTER: Master. When synchronous mode is enabled, the USART is a master.

LOOP

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.

OETA

Bit 18: Output Enable Turnaround time enable for RS-485 operation..

Allowed values:
0: DISABLED: Disabled. If selected by OESEL, the Output Enable signal deasserted at the end of the last stop bit of a transmission.
0x1: ENABLED: Enabled. If selected by OESEL, the Output Enable signal remains asserted for one character time after the end of the last stop bit of a transmission. OE will also remain asserted if another transmit begins before it is deasserted.

AUTOADDR

Bit 19: Automatic Address matching enable..

Allowed values:
0: DISABLED: Disabled. When addressing is enabled by ADDRDET, address matching is done by software. This provides the possibility of versatile addressing (e.g. respond to more than one address).
0x1: ENABLED: Enabled. When addressing is enabled by ADDRDET, address matching is done by hardware, using the value in the ADDR register as the address to match.

OESEL

Bit 20: Output Enable Select..

Allowed values:
0: STANDARD: Standard. The RTS signal is used as the standard flow control function.
0x1: RS_485: RS-485. The RTS signal configured to provide an output enable signal to control an RS-485 transceiver.

OEPOL

Bit 21: Output Enable Polarity..

Allowed values:
0: LOW: Low. If selected by OESEL, the output enable is active low.
0x1: HIGH: High. If selected by OESEL, the output enable is active high.

RXPOL

Bit 22: Receive data polarity..

Allowed values:
0: STANDARD: Standard. The RX signal is used as it arrives from the pin. This means that the RX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The RX signal is inverted before being used by the USART. This means that the RX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

TXPOL

Bit 23: Transmit data polarity..

Allowed values:
0: STANDARD: Standard. The TX signal is sent out without change. This means that the TX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The TX signal is inverted by the USART before being sent out. This means that the TX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

CTL

USART Control register. USART control settings that are more likely to change during operation.

Offset: 0x4, reset: 0, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AUTOBAUD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRCCONRX
rw
CC
rw
TXDIS
rw
ADDRDET
rw
TXBRKEN
rw
Toggle Fields

TXBRKEN

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.

ADDRDET

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.

TXDIS

Bit 6: Transmit Disable..

Allowed values:
0: ENABLED: Not disabled. USART transmitter is not disabled.
0x1: DISABLED: Disabled. USART transmitter is disabled after any character currently being transmitted is complete. This feature can be used to facilitate software flow control.

CC

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).

CLRCCONRX

Bit 9: Clear Continuous Clock..

Allowed values:
0: NO_EFFECT: No effect. No effect on the CC bit.
0x1: AUTO_CLEAR: Auto-clear. The CC bit is automatically cleared when a complete character has been received. This bit is cleared at the same time.

AUTOBAUD

Bit 16: Autobaud enable..

Allowed values:
0: DISABLED: Disabled. USART is in normal operating mode.
0x1: ENABLED: Enabled. USART is in autobaud mode. This bit should only be set when the USART receiver is idle. The first start bit of RX is measured and used the update the BRG register to match the received data rate. AUTOBAUD is cleared once this process is complete, or if there is an AERR.

STAT

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: 0xA, access: read-write

5/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXNOISEINT
rw
PARITYERRINT
rw
FRAMERRINT
rw
START
rw
DELTARXBRK
rw
RXBRK
r
TXDISSTAT
r
DELTACTS
rw
CTS
r
TXIDLE
r
RXIDLE
r
Toggle Fields

RXIDLE

Bit 1: Receiver Idle. When 0, indicates that the receiver is currently in the process of receiving data. When 1, indicates that the receiver is not currently in the process of receiving data..

TXIDLE

Bit 3: Transmitter Idle. When 0, indicates that the transmitter is currently in the process of sending data.When 1, indicate that the transmitter is not currently in the process of sending data..

CTS

Bit 4: This bit reflects the current state of the CTS signal, regardless of the setting of the CTSEN bit in the CFG register. This will be the value of the CTS input pin unless loopback mode is enabled..

DELTACTS

Bit 5: This bit is set when a change in the state is detected for the CTS flag above. This bit is cleared by software..

TXDISSTAT

Bit 6: Transmitter Disabled Status flag. When 1, this bit indicates that the USART transmitter is fully idle after being disabled via the TXDIS bit in the CFG register (TXDIS = 1)..

RXBRK

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..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs. Cleared by software..

START

Bit 12: This bit is set when a start is detected on the receiver input. Its purpose is primarily to allow wake-up from Deep-sleep or Power-down mode immediately when a start is detected. Cleared by software..

FRAMERRINT

Bit 13: Framing Error interrupt flag. This flag is set when a character is 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..

PARITYERRINT

Bit 14: Parity Error interrupt flag. This flag is set when a parity error is detected in a received character..

RXNOISEINT

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..

ABERR

Bit 16: Auto baud Error. An auto baud error can occur if the BRG counts to its limit before the end of the start bit that is being measured, essentially an auto baud time-out..

INTENSET

Interrupt Enable read and Set register for USART (not FIFO) status. Contains individual interrupt enable bits 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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERREN
rw
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
TXDISEN
rw
DELTACTSEN
rw
TXIDLEEN
rw
Toggle Fields

TXIDLEEN

Bit 3: When 1, enables an interrupt when the transmitter becomes idle (TXIDLE = 1)..

DELTACTSEN

Bit 5: When 1, enables an interrupt when there is a change in the state of the CTS input..

TXDISEN

Bit 6: When 1, enables an interrupt when the transmitter is fully disabled as indicated by the TXDISINT flag in STAT. See description of the TXDISINT bit for details..

DELTARXBRKEN

Bit 11: When 1, enables an interrupt when a change of state has occurred in the detection of a received break condition (break condition asserted or deasserted)..

STARTEN

Bit 12: When 1, enables an interrupt when a received start bit has been detected..

FRAMERREN

Bit 13: When 1, enables an interrupt when a framing error has been detected..

PARITYERREN

Bit 14: When 1, enables an interrupt when a parity error has been detected..

RXNOISEEN

Bit 15: When 1, enables an interrupt when noise is detected. See description of the RXNOISEINT bit in Table 354..

ABERREN

Bit 16: When 1, enables an interrupt when an auto baud error occurs..

INTENCLR

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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRCLR
w
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
TXDISCLR
w
DELTACTSCLR
w
TXIDLECLR
w
Toggle Fields

TXIDLECLR

Bit 3: Writing 1 clears the corresponding bit in the INTENSET register..

DELTACTSCLR

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

TXDISCLR

Bit 6: Writing 1 clears the corresponding bit in the INTENSET register..

DELTARXBRKCLR

Bit 11: Writing 1 clears the corresponding bit in the INTENSET register..

STARTCLR

Bit 12: Writing 1 clears the corresponding bit in the INTENSET register..

FRAMERRCLR

Bit 13: Writing 1 clears the corresponding bit in the INTENSET register..

PARITYERRCLR

Bit 14: Writing 1 clears the corresponding bit in the INTENSET register..

RXNOISECLR

Bit 15: Writing 1 clears the corresponding bit in the INTENSET register..

ABERRCLR

Bit 16: Writing 1 clears the corresponding bit in the INTENSET register..

BRG

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
Toggle Fields

BRGVAL

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..

INTSTAT

Interrupt status register. Reflects interrupts that are currently enabled.

Offset: 0x24, reset: 0, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRINT
r
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
TXDISINT
r
DELTACTS
r
TXIDLE
r
Toggle Fields

TXIDLE

Bit 3: Transmitter Idle status..

DELTACTS

Bit 5: This bit is set when a change in the state of the CTS input is detected..

TXDISINT

Bit 6: Transmitter Disabled Interrupt flag..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs..

START

Bit 12: This bit is set when a start is detected on the receiver input..

FRAMERRINT

Bit 13: Framing Error interrupt flag..

PARITYERRINT

Bit 14: Parity Error interrupt flag..

RXNOISEINT

Bit 15: Received Noise interrupt flag..

ABERRINT

Bit 16: Auto baud Error Interrupt flag..

OSR

Oversample selection register for asynchronous communication.

Offset: 0x28, reset: 0xF, 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
OSRVAL
rw
Toggle Fields

OSRVAL

Bits 0-3: Oversample Selection Value. 0 to 3 = not supported 0x4 = 5 function clocks are used to transmit and receive each data bit. 0x5 = 6 function clocks are used to transmit and receive each data bit. 0xF= 16 function clocks are used to transmit and receive each data bit..

ADDR

Address register for automatic address matching.

Offset: 0x2c, 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
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 0-7: 8-bit address used with automatic address matching. Used when address detection is enabled (ADDRDET in CTL = 1) and automatic address matching is enabled (AUTOADDR in CFG = 1)..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, 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
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-8: Transmit data to the FIFO..

FIFORD

FIFO read data.

Offset: 0xe30, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

USART3

0x40089000: LPC5411x USARTs

75/114 fields covered. Toggle Registers

Show register map

CFG

USART Configuration register. Basic USART configuration settings that typically are not changed during operation.

Offset: 0x0, reset: 0, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXPOL
rw
RXPOL
rw
OEPOL
rw
OESEL
rw
AUTOADDR
rw
OETA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOOP
rw
SYNCMST
rw
CLKPOL
rw
SYNCEN
rw
CTSEN
rw
LINMODE
rw
MODE32K
rw
STOPLEN
rw
PARITYSEL
rw
DATALEN
rw
ENABLE
rw
Toggle Fields

ENABLE

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.

DATALEN

Bits 2-3: Selects the data size for the USART..

Allowed values:
0: BIT_7: 7 bit Data length.
0x1: BIT_8: 8 bit Data length.
0x2: BIT_9: 9 bit data length. The 9th bit is commonly used for addressing in multidrop mode. See the ADDRDET bit in the CTL register.

PARITYSEL

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.

STOPLEN

Bit 6: Number of stop bits appended to transmitted data. Only a single stop bit is required for received data..

Allowed values:
0: BIT_1: 1 stop bit.
0x1: BITS_2: 2 stop bits. This setting should only be used for asynchronous communication.

MODE32K

Bit 7: Selects standard or 32 kHz clocking mode..

Allowed values:
0: DISABLED: Disabled. USART uses standard clocking.
0x1: ENABLED: Enabled. USART uses the 32 kHz clock from the RTC oscillator as the clock source to the BRG, and uses a special bit clocking scheme.

LINMODE

Bit 8: LIN break mode enable..

Allowed values:
0: DISABLED: Disabled. Break detect and generate is configured for normal operation.
0x1: ENABLED: Enabled. Break detect and generate is configured for LIN bus operation.

CTSEN

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.

SYNCEN

Bit 11: Selects synchronous or asynchronous operation..

Allowed values:
0: ASYNCHRONOUS_MODE: Asynchronous mode.
0x1: SYNCHRONOUS_MODE: Synchronous mode.

CLKPOL

Bit 12: Selects the clock polarity and sampling edge of received data in synchronous mode..

Allowed values:
0: FALLING_EDGE: Falling edge. Un_RXD is sampled on the falling edge of SCLK.
0x1: RISING_EDGE: Rising edge. Un_RXD is sampled on the rising edge of SCLK.

SYNCMST

Bit 14: Synchronous mode Master select..

Allowed values:
0: SLAVE: Slave. When synchronous mode is enabled, the USART is a slave.
0x1: MASTER: Master. When synchronous mode is enabled, the USART is a master.

LOOP

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.

OETA

Bit 18: Output Enable Turnaround time enable for RS-485 operation..

Allowed values:
0: DISABLED: Disabled. If selected by OESEL, the Output Enable signal deasserted at the end of the last stop bit of a transmission.
0x1: ENABLED: Enabled. If selected by OESEL, the Output Enable signal remains asserted for one character time after the end of the last stop bit of a transmission. OE will also remain asserted if another transmit begins before it is deasserted.

AUTOADDR

Bit 19: Automatic Address matching enable..

Allowed values:
0: DISABLED: Disabled. When addressing is enabled by ADDRDET, address matching is done by software. This provides the possibility of versatile addressing (e.g. respond to more than one address).
0x1: ENABLED: Enabled. When addressing is enabled by ADDRDET, address matching is done by hardware, using the value in the ADDR register as the address to match.

OESEL

Bit 20: Output Enable Select..

Allowed values:
0: STANDARD: Standard. The RTS signal is used as the standard flow control function.
0x1: RS_485: RS-485. The RTS signal configured to provide an output enable signal to control an RS-485 transceiver.

OEPOL

Bit 21: Output Enable Polarity..

Allowed values:
0: LOW: Low. If selected by OESEL, the output enable is active low.
0x1: HIGH: High. If selected by OESEL, the output enable is active high.

RXPOL

Bit 22: Receive data polarity..

Allowed values:
0: STANDARD: Standard. The RX signal is used as it arrives from the pin. This means that the RX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The RX signal is inverted before being used by the USART. This means that the RX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

TXPOL

Bit 23: Transmit data polarity..

Allowed values:
0: STANDARD: Standard. The TX signal is sent out without change. This means that the TX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The TX signal is inverted by the USART before being sent out. This means that the TX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

CTL

USART Control register. USART control settings that are more likely to change during operation.

Offset: 0x4, reset: 0, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AUTOBAUD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRCCONRX
rw
CC
rw
TXDIS
rw
ADDRDET
rw
TXBRKEN
rw
Toggle Fields

TXBRKEN

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.

ADDRDET

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.

TXDIS

Bit 6: Transmit Disable..

Allowed values:
0: ENABLED: Not disabled. USART transmitter is not disabled.
0x1: DISABLED: Disabled. USART transmitter is disabled after any character currently being transmitted is complete. This feature can be used to facilitate software flow control.

CC

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).

CLRCCONRX

Bit 9: Clear Continuous Clock..

Allowed values:
0: NO_EFFECT: No effect. No effect on the CC bit.
0x1: AUTO_CLEAR: Auto-clear. The CC bit is automatically cleared when a complete character has been received. This bit is cleared at the same time.

AUTOBAUD

Bit 16: Autobaud enable..

Allowed values:
0: DISABLED: Disabled. USART is in normal operating mode.
0x1: ENABLED: Enabled. USART is in autobaud mode. This bit should only be set when the USART receiver is idle. The first start bit of RX is measured and used the update the BRG register to match the received data rate. AUTOBAUD is cleared once this process is complete, or if there is an AERR.

STAT

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: 0xA, access: read-write

5/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXNOISEINT
rw
PARITYERRINT
rw
FRAMERRINT
rw
START
rw
DELTARXBRK
rw
RXBRK
r
TXDISSTAT
r
DELTACTS
rw
CTS
r
TXIDLE
r
RXIDLE
r
Toggle Fields

RXIDLE

Bit 1: Receiver Idle. When 0, indicates that the receiver is currently in the process of receiving data. When 1, indicates that the receiver is not currently in the process of receiving data..

TXIDLE

Bit 3: Transmitter Idle. When 0, indicates that the transmitter is currently in the process of sending data.When 1, indicate that the transmitter is not currently in the process of sending data..

CTS

Bit 4: This bit reflects the current state of the CTS signal, regardless of the setting of the CTSEN bit in the CFG register. This will be the value of the CTS input pin unless loopback mode is enabled..

DELTACTS

Bit 5: This bit is set when a change in the state is detected for the CTS flag above. This bit is cleared by software..

TXDISSTAT

Bit 6: Transmitter Disabled Status flag. When 1, this bit indicates that the USART transmitter is fully idle after being disabled via the TXDIS bit in the CFG register (TXDIS = 1)..

RXBRK

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..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs. Cleared by software..

START

Bit 12: This bit is set when a start is detected on the receiver input. Its purpose is primarily to allow wake-up from Deep-sleep or Power-down mode immediately when a start is detected. Cleared by software..

FRAMERRINT

Bit 13: Framing Error interrupt flag. This flag is set when a character is 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..

PARITYERRINT

Bit 14: Parity Error interrupt flag. This flag is set when a parity error is detected in a received character..

RXNOISEINT

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..

ABERR

Bit 16: Auto baud Error. An auto baud error can occur if the BRG counts to its limit before the end of the start bit that is being measured, essentially an auto baud time-out..

INTENSET

Interrupt Enable read and Set register for USART (not FIFO) status. Contains individual interrupt enable bits 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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERREN
rw
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
TXDISEN
rw
DELTACTSEN
rw
TXIDLEEN
rw
Toggle Fields

TXIDLEEN

Bit 3: When 1, enables an interrupt when the transmitter becomes idle (TXIDLE = 1)..

DELTACTSEN

Bit 5: When 1, enables an interrupt when there is a change in the state of the CTS input..

TXDISEN

Bit 6: When 1, enables an interrupt when the transmitter is fully disabled as indicated by the TXDISINT flag in STAT. See description of the TXDISINT bit for details..

DELTARXBRKEN

Bit 11: When 1, enables an interrupt when a change of state has occurred in the detection of a received break condition (break condition asserted or deasserted)..

STARTEN

Bit 12: When 1, enables an interrupt when a received start bit has been detected..

FRAMERREN

Bit 13: When 1, enables an interrupt when a framing error has been detected..

PARITYERREN

Bit 14: When 1, enables an interrupt when a parity error has been detected..

RXNOISEEN

Bit 15: When 1, enables an interrupt when noise is detected. See description of the RXNOISEINT bit in Table 354..

ABERREN

Bit 16: When 1, enables an interrupt when an auto baud error occurs..

INTENCLR

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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRCLR
w
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
TXDISCLR
w
DELTACTSCLR
w
TXIDLECLR
w
Toggle Fields

TXIDLECLR

Bit 3: Writing 1 clears the corresponding bit in the INTENSET register..

DELTACTSCLR

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

TXDISCLR

Bit 6: Writing 1 clears the corresponding bit in the INTENSET register..

DELTARXBRKCLR

Bit 11: Writing 1 clears the corresponding bit in the INTENSET register..

STARTCLR

Bit 12: Writing 1 clears the corresponding bit in the INTENSET register..

FRAMERRCLR

Bit 13: Writing 1 clears the corresponding bit in the INTENSET register..

PARITYERRCLR

Bit 14: Writing 1 clears the corresponding bit in the INTENSET register..

RXNOISECLR

Bit 15: Writing 1 clears the corresponding bit in the INTENSET register..

ABERRCLR

Bit 16: Writing 1 clears the corresponding bit in the INTENSET register..

BRG

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
Toggle Fields

BRGVAL

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..

INTSTAT

Interrupt status register. Reflects interrupts that are currently enabled.

Offset: 0x24, reset: 0, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRINT
r
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
TXDISINT
r
DELTACTS
r
TXIDLE
r
Toggle Fields

TXIDLE

Bit 3: Transmitter Idle status..

DELTACTS

Bit 5: This bit is set when a change in the state of the CTS input is detected..

TXDISINT

Bit 6: Transmitter Disabled Interrupt flag..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs..

START

Bit 12: This bit is set when a start is detected on the receiver input..

FRAMERRINT

Bit 13: Framing Error interrupt flag..

PARITYERRINT

Bit 14: Parity Error interrupt flag..

RXNOISEINT

Bit 15: Received Noise interrupt flag..

ABERRINT

Bit 16: Auto baud Error Interrupt flag..

OSR

Oversample selection register for asynchronous communication.

Offset: 0x28, reset: 0xF, 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
OSRVAL
rw
Toggle Fields

OSRVAL

Bits 0-3: Oversample Selection Value. 0 to 3 = not supported 0x4 = 5 function clocks are used to transmit and receive each data bit. 0x5 = 6 function clocks are used to transmit and receive each data bit. 0xF= 16 function clocks are used to transmit and receive each data bit..

ADDR

Address register for automatic address matching.

Offset: 0x2c, 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
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 0-7: 8-bit address used with automatic address matching. Used when address detection is enabled (ADDRDET in CTL = 1) and automatic address matching is enabled (AUTOADDR in CFG = 1)..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, 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
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-8: Transmit data to the FIFO..

FIFORD

FIFO read data.

Offset: 0xe30, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

USART4

0x4008a000: LPC5411x USARTs

75/114 fields covered. Toggle Registers

Show register map

CFG

USART Configuration register. Basic USART configuration settings that typically are not changed during operation.

Offset: 0x0, reset: 0, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXPOL
rw
RXPOL
rw
OEPOL
rw
OESEL
rw
AUTOADDR
rw
OETA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOOP
rw
SYNCMST
rw
CLKPOL
rw
SYNCEN
rw
CTSEN
rw
LINMODE
rw
MODE32K
rw
STOPLEN
rw
PARITYSEL
rw
DATALEN
rw
ENABLE
rw
Toggle Fields

ENABLE

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.

DATALEN

Bits 2-3: Selects the data size for the USART..

Allowed values:
0: BIT_7: 7 bit Data length.
0x1: BIT_8: 8 bit Data length.
0x2: BIT_9: 9 bit data length. The 9th bit is commonly used for addressing in multidrop mode. See the ADDRDET bit in the CTL register.

PARITYSEL

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.

STOPLEN

Bit 6: Number of stop bits appended to transmitted data. Only a single stop bit is required for received data..

Allowed values:
0: BIT_1: 1 stop bit.
0x1: BITS_2: 2 stop bits. This setting should only be used for asynchronous communication.

MODE32K

Bit 7: Selects standard or 32 kHz clocking mode..

Allowed values:
0: DISABLED: Disabled. USART uses standard clocking.
0x1: ENABLED: Enabled. USART uses the 32 kHz clock from the RTC oscillator as the clock source to the BRG, and uses a special bit clocking scheme.

LINMODE

Bit 8: LIN break mode enable..

Allowed values:
0: DISABLED: Disabled. Break detect and generate is configured for normal operation.
0x1: ENABLED: Enabled. Break detect and generate is configured for LIN bus operation.

CTSEN

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.

SYNCEN

Bit 11: Selects synchronous or asynchronous operation..

Allowed values:
0: ASYNCHRONOUS_MODE: Asynchronous mode.
0x1: SYNCHRONOUS_MODE: Synchronous mode.

CLKPOL

Bit 12: Selects the clock polarity and sampling edge of received data in synchronous mode..

Allowed values:
0: FALLING_EDGE: Falling edge. Un_RXD is sampled on the falling edge of SCLK.
0x1: RISING_EDGE: Rising edge. Un_RXD is sampled on the rising edge of SCLK.

SYNCMST

Bit 14: Synchronous mode Master select..

Allowed values:
0: SLAVE: Slave. When synchronous mode is enabled, the USART is a slave.
0x1: MASTER: Master. When synchronous mode is enabled, the USART is a master.

LOOP

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.

OETA

Bit 18: Output Enable Turnaround time enable for RS-485 operation..

Allowed values:
0: DISABLED: Disabled. If selected by OESEL, the Output Enable signal deasserted at the end of the last stop bit of a transmission.
0x1: ENABLED: Enabled. If selected by OESEL, the Output Enable signal remains asserted for one character time after the end of the last stop bit of a transmission. OE will also remain asserted if another transmit begins before it is deasserted.

AUTOADDR

Bit 19: Automatic Address matching enable..

Allowed values:
0: DISABLED: Disabled. When addressing is enabled by ADDRDET, address matching is done by software. This provides the possibility of versatile addressing (e.g. respond to more than one address).
0x1: ENABLED: Enabled. When addressing is enabled by ADDRDET, address matching is done by hardware, using the value in the ADDR register as the address to match.

OESEL

Bit 20: Output Enable Select..

Allowed values:
0: STANDARD: Standard. The RTS signal is used as the standard flow control function.
0x1: RS_485: RS-485. The RTS signal configured to provide an output enable signal to control an RS-485 transceiver.

OEPOL

Bit 21: Output Enable Polarity..

Allowed values:
0: LOW: Low. If selected by OESEL, the output enable is active low.
0x1: HIGH: High. If selected by OESEL, the output enable is active high.

RXPOL

Bit 22: Receive data polarity..

Allowed values:
0: STANDARD: Standard. The RX signal is used as it arrives from the pin. This means that the RX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The RX signal is inverted before being used by the USART. This means that the RX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

TXPOL

Bit 23: Transmit data polarity..

Allowed values:
0: STANDARD: Standard. The TX signal is sent out without change. This means that the TX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The TX signal is inverted by the USART before being sent out. This means that the TX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

CTL

USART Control register. USART control settings that are more likely to change during operation.

Offset: 0x4, reset: 0, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AUTOBAUD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRCCONRX
rw
CC
rw
TXDIS
rw
ADDRDET
rw
TXBRKEN
rw
Toggle Fields

TXBRKEN

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.

ADDRDET

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.

TXDIS

Bit 6: Transmit Disable..

Allowed values:
0: ENABLED: Not disabled. USART transmitter is not disabled.
0x1: DISABLED: Disabled. USART transmitter is disabled after any character currently being transmitted is complete. This feature can be used to facilitate software flow control.

CC

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).

CLRCCONRX

Bit 9: Clear Continuous Clock..

Allowed values:
0: NO_EFFECT: No effect. No effect on the CC bit.
0x1: AUTO_CLEAR: Auto-clear. The CC bit is automatically cleared when a complete character has been received. This bit is cleared at the same time.

AUTOBAUD

Bit 16: Autobaud enable..

Allowed values:
0: DISABLED: Disabled. USART is in normal operating mode.
0x1: ENABLED: Enabled. USART is in autobaud mode. This bit should only be set when the USART receiver is idle. The first start bit of RX is measured and used the update the BRG register to match the received data rate. AUTOBAUD is cleared once this process is complete, or if there is an AERR.

STAT

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: 0xA, access: read-write

5/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXNOISEINT
rw
PARITYERRINT
rw
FRAMERRINT
rw
START
rw
DELTARXBRK
rw
RXBRK
r
TXDISSTAT
r
DELTACTS
rw
CTS
r
TXIDLE
r
RXIDLE
r
Toggle Fields

RXIDLE

Bit 1: Receiver Idle. When 0, indicates that the receiver is currently in the process of receiving data. When 1, indicates that the receiver is not currently in the process of receiving data..

TXIDLE

Bit 3: Transmitter Idle. When 0, indicates that the transmitter is currently in the process of sending data.When 1, indicate that the transmitter is not currently in the process of sending data..

CTS

Bit 4: This bit reflects the current state of the CTS signal, regardless of the setting of the CTSEN bit in the CFG register. This will be the value of the CTS input pin unless loopback mode is enabled..

DELTACTS

Bit 5: This bit is set when a change in the state is detected for the CTS flag above. This bit is cleared by software..

TXDISSTAT

Bit 6: Transmitter Disabled Status flag. When 1, this bit indicates that the USART transmitter is fully idle after being disabled via the TXDIS bit in the CFG register (TXDIS = 1)..

RXBRK

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..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs. Cleared by software..

START

Bit 12: This bit is set when a start is detected on the receiver input. Its purpose is primarily to allow wake-up from Deep-sleep or Power-down mode immediately when a start is detected. Cleared by software..

FRAMERRINT

Bit 13: Framing Error interrupt flag. This flag is set when a character is 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..

PARITYERRINT

Bit 14: Parity Error interrupt flag. This flag is set when a parity error is detected in a received character..

RXNOISEINT

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..

ABERR

Bit 16: Auto baud Error. An auto baud error can occur if the BRG counts to its limit before the end of the start bit that is being measured, essentially an auto baud time-out..

INTENSET

Interrupt Enable read and Set register for USART (not FIFO) status. Contains individual interrupt enable bits 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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERREN
rw
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
TXDISEN
rw
DELTACTSEN
rw
TXIDLEEN
rw
Toggle Fields

TXIDLEEN

Bit 3: When 1, enables an interrupt when the transmitter becomes idle (TXIDLE = 1)..

DELTACTSEN

Bit 5: When 1, enables an interrupt when there is a change in the state of the CTS input..

TXDISEN

Bit 6: When 1, enables an interrupt when the transmitter is fully disabled as indicated by the TXDISINT flag in STAT. See description of the TXDISINT bit for details..

DELTARXBRKEN

Bit 11: When 1, enables an interrupt when a change of state has occurred in the detection of a received break condition (break condition asserted or deasserted)..

STARTEN

Bit 12: When 1, enables an interrupt when a received start bit has been detected..

FRAMERREN

Bit 13: When 1, enables an interrupt when a framing error has been detected..

PARITYERREN

Bit 14: When 1, enables an interrupt when a parity error has been detected..

RXNOISEEN

Bit 15: When 1, enables an interrupt when noise is detected. See description of the RXNOISEINT bit in Table 354..

ABERREN

Bit 16: When 1, enables an interrupt when an auto baud error occurs..

INTENCLR

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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRCLR
w
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
TXDISCLR
w
DELTACTSCLR
w
TXIDLECLR
w
Toggle Fields

TXIDLECLR

Bit 3: Writing 1 clears the corresponding bit in the INTENSET register..

DELTACTSCLR

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

TXDISCLR

Bit 6: Writing 1 clears the corresponding bit in the INTENSET register..

DELTARXBRKCLR

Bit 11: Writing 1 clears the corresponding bit in the INTENSET register..

STARTCLR

Bit 12: Writing 1 clears the corresponding bit in the INTENSET register..

FRAMERRCLR

Bit 13: Writing 1 clears the corresponding bit in the INTENSET register..

PARITYERRCLR

Bit 14: Writing 1 clears the corresponding bit in the INTENSET register..

RXNOISECLR

Bit 15: Writing 1 clears the corresponding bit in the INTENSET register..

ABERRCLR

Bit 16: Writing 1 clears the corresponding bit in the INTENSET register..

BRG

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
Toggle Fields

BRGVAL

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..

INTSTAT

Interrupt status register. Reflects interrupts that are currently enabled.

Offset: 0x24, reset: 0, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRINT
r
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
TXDISINT
r
DELTACTS
r
TXIDLE
r
Toggle Fields

TXIDLE

Bit 3: Transmitter Idle status..

DELTACTS

Bit 5: This bit is set when a change in the state of the CTS input is detected..

TXDISINT

Bit 6: Transmitter Disabled Interrupt flag..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs..

START

Bit 12: This bit is set when a start is detected on the receiver input..

FRAMERRINT

Bit 13: Framing Error interrupt flag..

PARITYERRINT

Bit 14: Parity Error interrupt flag..

RXNOISEINT

Bit 15: Received Noise interrupt flag..

ABERRINT

Bit 16: Auto baud Error Interrupt flag..

OSR

Oversample selection register for asynchronous communication.

Offset: 0x28, reset: 0xF, 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
OSRVAL
rw
Toggle Fields

OSRVAL

Bits 0-3: Oversample Selection Value. 0 to 3 = not supported 0x4 = 5 function clocks are used to transmit and receive each data bit. 0x5 = 6 function clocks are used to transmit and receive each data bit. 0xF= 16 function clocks are used to transmit and receive each data bit..

ADDR

Address register for automatic address matching.

Offset: 0x2c, 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
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 0-7: 8-bit address used with automatic address matching. Used when address detection is enabled (ADDRDET in CTL = 1) and automatic address matching is enabled (AUTOADDR in CFG = 1)..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, 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
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-8: Transmit data to the FIFO..

FIFORD

FIFO read data.

Offset: 0xe30, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

USART5

0x40096000: LPC5411x USARTs

75/114 fields covered. Toggle Registers

Show register map

CFG

USART Configuration register. Basic USART configuration settings that typically are not changed during operation.

Offset: 0x0, reset: 0, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXPOL
rw
RXPOL
rw
OEPOL
rw
OESEL
rw
AUTOADDR
rw
OETA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOOP
rw
SYNCMST
rw
CLKPOL
rw
SYNCEN
rw
CTSEN
rw
LINMODE
rw
MODE32K
rw
STOPLEN
rw
PARITYSEL
rw
DATALEN
rw
ENABLE
rw
Toggle Fields

ENABLE

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.

DATALEN

Bits 2-3: Selects the data size for the USART..

Allowed values:
0: BIT_7: 7 bit Data length.
0x1: BIT_8: 8 bit Data length.
0x2: BIT_9: 9 bit data length. The 9th bit is commonly used for addressing in multidrop mode. See the ADDRDET bit in the CTL register.

PARITYSEL

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.

STOPLEN

Bit 6: Number of stop bits appended to transmitted data. Only a single stop bit is required for received data..

Allowed values:
0: BIT_1: 1 stop bit.
0x1: BITS_2: 2 stop bits. This setting should only be used for asynchronous communication.

MODE32K

Bit 7: Selects standard or 32 kHz clocking mode..

Allowed values:
0: DISABLED: Disabled. USART uses standard clocking.
0x1: ENABLED: Enabled. USART uses the 32 kHz clock from the RTC oscillator as the clock source to the BRG, and uses a special bit clocking scheme.

LINMODE

Bit 8: LIN break mode enable..

Allowed values:
0: DISABLED: Disabled. Break detect and generate is configured for normal operation.
0x1: ENABLED: Enabled. Break detect and generate is configured for LIN bus operation.

CTSEN

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.

SYNCEN

Bit 11: Selects synchronous or asynchronous operation..

Allowed values:
0: ASYNCHRONOUS_MODE: Asynchronous mode.
0x1: SYNCHRONOUS_MODE: Synchronous mode.

CLKPOL

Bit 12: Selects the clock polarity and sampling edge of received data in synchronous mode..

Allowed values:
0: FALLING_EDGE: Falling edge. Un_RXD is sampled on the falling edge of SCLK.
0x1: RISING_EDGE: Rising edge. Un_RXD is sampled on the rising edge of SCLK.

SYNCMST

Bit 14: Synchronous mode Master select..

Allowed values:
0: SLAVE: Slave. When synchronous mode is enabled, the USART is a slave.
0x1: MASTER: Master. When synchronous mode is enabled, the USART is a master.

LOOP

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.

OETA

Bit 18: Output Enable Turnaround time enable for RS-485 operation..

Allowed values:
0: DISABLED: Disabled. If selected by OESEL, the Output Enable signal deasserted at the end of the last stop bit of a transmission.
0x1: ENABLED: Enabled. If selected by OESEL, the Output Enable signal remains asserted for one character time after the end of the last stop bit of a transmission. OE will also remain asserted if another transmit begins before it is deasserted.

AUTOADDR

Bit 19: Automatic Address matching enable..

Allowed values:
0: DISABLED: Disabled. When addressing is enabled by ADDRDET, address matching is done by software. This provides the possibility of versatile addressing (e.g. respond to more than one address).
0x1: ENABLED: Enabled. When addressing is enabled by ADDRDET, address matching is done by hardware, using the value in the ADDR register as the address to match.

OESEL

Bit 20: Output Enable Select..

Allowed values:
0: STANDARD: Standard. The RTS signal is used as the standard flow control function.
0x1: RS_485: RS-485. The RTS signal configured to provide an output enable signal to control an RS-485 transceiver.

OEPOL

Bit 21: Output Enable Polarity..

Allowed values:
0: LOW: Low. If selected by OESEL, the output enable is active low.
0x1: HIGH: High. If selected by OESEL, the output enable is active high.

RXPOL

Bit 22: Receive data polarity..

Allowed values:
0: STANDARD: Standard. The RX signal is used as it arrives from the pin. This means that the RX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The RX signal is inverted before being used by the USART. This means that the RX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

TXPOL

Bit 23: Transmit data polarity..

Allowed values:
0: STANDARD: Standard. The TX signal is sent out without change. This means that the TX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The TX signal is inverted by the USART before being sent out. This means that the TX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

CTL

USART Control register. USART control settings that are more likely to change during operation.

Offset: 0x4, reset: 0, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AUTOBAUD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRCCONRX
rw
CC
rw
TXDIS
rw
ADDRDET
rw
TXBRKEN
rw
Toggle Fields

TXBRKEN

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.

ADDRDET

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.

TXDIS

Bit 6: Transmit Disable..

Allowed values:
0: ENABLED: Not disabled. USART transmitter is not disabled.
0x1: DISABLED: Disabled. USART transmitter is disabled after any character currently being transmitted is complete. This feature can be used to facilitate software flow control.

CC

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).

CLRCCONRX

Bit 9: Clear Continuous Clock..

Allowed values:
0: NO_EFFECT: No effect. No effect on the CC bit.
0x1: AUTO_CLEAR: Auto-clear. The CC bit is automatically cleared when a complete character has been received. This bit is cleared at the same time.

AUTOBAUD

Bit 16: Autobaud enable..

Allowed values:
0: DISABLED: Disabled. USART is in normal operating mode.
0x1: ENABLED: Enabled. USART is in autobaud mode. This bit should only be set when the USART receiver is idle. The first start bit of RX is measured and used the update the BRG register to match the received data rate. AUTOBAUD is cleared once this process is complete, or if there is an AERR.

STAT

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: 0xA, access: read-write

5/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXNOISEINT
rw
PARITYERRINT
rw
FRAMERRINT
rw
START
rw
DELTARXBRK
rw
RXBRK
r
TXDISSTAT
r
DELTACTS
rw
CTS
r
TXIDLE
r
RXIDLE
r
Toggle Fields

RXIDLE

Bit 1: Receiver Idle. When 0, indicates that the receiver is currently in the process of receiving data. When 1, indicates that the receiver is not currently in the process of receiving data..

TXIDLE

Bit 3: Transmitter Idle. When 0, indicates that the transmitter is currently in the process of sending data.When 1, indicate that the transmitter is not currently in the process of sending data..

CTS

Bit 4: This bit reflects the current state of the CTS signal, regardless of the setting of the CTSEN bit in the CFG register. This will be the value of the CTS input pin unless loopback mode is enabled..

DELTACTS

Bit 5: This bit is set when a change in the state is detected for the CTS flag above. This bit is cleared by software..

TXDISSTAT

Bit 6: Transmitter Disabled Status flag. When 1, this bit indicates that the USART transmitter is fully idle after being disabled via the TXDIS bit in the CFG register (TXDIS = 1)..

RXBRK

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..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs. Cleared by software..

START

Bit 12: This bit is set when a start is detected on the receiver input. Its purpose is primarily to allow wake-up from Deep-sleep or Power-down mode immediately when a start is detected. Cleared by software..

FRAMERRINT

Bit 13: Framing Error interrupt flag. This flag is set when a character is 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..

PARITYERRINT

Bit 14: Parity Error interrupt flag. This flag is set when a parity error is detected in a received character..

RXNOISEINT

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..

ABERR

Bit 16: Auto baud Error. An auto baud error can occur if the BRG counts to its limit before the end of the start bit that is being measured, essentially an auto baud time-out..

INTENSET

Interrupt Enable read and Set register for USART (not FIFO) status. Contains individual interrupt enable bits 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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERREN
rw
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
TXDISEN
rw
DELTACTSEN
rw
TXIDLEEN
rw
Toggle Fields

TXIDLEEN

Bit 3: When 1, enables an interrupt when the transmitter becomes idle (TXIDLE = 1)..

DELTACTSEN

Bit 5: When 1, enables an interrupt when there is a change in the state of the CTS input..

TXDISEN

Bit 6: When 1, enables an interrupt when the transmitter is fully disabled as indicated by the TXDISINT flag in STAT. See description of the TXDISINT bit for details..

DELTARXBRKEN

Bit 11: When 1, enables an interrupt when a change of state has occurred in the detection of a received break condition (break condition asserted or deasserted)..

STARTEN

Bit 12: When 1, enables an interrupt when a received start bit has been detected..

FRAMERREN

Bit 13: When 1, enables an interrupt when a framing error has been detected..

PARITYERREN

Bit 14: When 1, enables an interrupt when a parity error has been detected..

RXNOISEEN

Bit 15: When 1, enables an interrupt when noise is detected. See description of the RXNOISEINT bit in Table 354..

ABERREN

Bit 16: When 1, enables an interrupt when an auto baud error occurs..

INTENCLR

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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRCLR
w
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
TXDISCLR
w
DELTACTSCLR
w
TXIDLECLR
w
Toggle Fields

TXIDLECLR

Bit 3: Writing 1 clears the corresponding bit in the INTENSET register..

DELTACTSCLR

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

TXDISCLR

Bit 6: Writing 1 clears the corresponding bit in the INTENSET register..

DELTARXBRKCLR

Bit 11: Writing 1 clears the corresponding bit in the INTENSET register..

STARTCLR

Bit 12: Writing 1 clears the corresponding bit in the INTENSET register..

FRAMERRCLR

Bit 13: Writing 1 clears the corresponding bit in the INTENSET register..

PARITYERRCLR

Bit 14: Writing 1 clears the corresponding bit in the INTENSET register..

RXNOISECLR

Bit 15: Writing 1 clears the corresponding bit in the INTENSET register..

ABERRCLR

Bit 16: Writing 1 clears the corresponding bit in the INTENSET register..

BRG

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
Toggle Fields

BRGVAL

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..

INTSTAT

Interrupt status register. Reflects interrupts that are currently enabled.

Offset: 0x24, reset: 0, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRINT
r
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
TXDISINT
r
DELTACTS
r
TXIDLE
r
Toggle Fields

TXIDLE

Bit 3: Transmitter Idle status..

DELTACTS

Bit 5: This bit is set when a change in the state of the CTS input is detected..

TXDISINT

Bit 6: Transmitter Disabled Interrupt flag..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs..

START

Bit 12: This bit is set when a start is detected on the receiver input..

FRAMERRINT

Bit 13: Framing Error interrupt flag..

PARITYERRINT

Bit 14: Parity Error interrupt flag..

RXNOISEINT

Bit 15: Received Noise interrupt flag..

ABERRINT

Bit 16: Auto baud Error Interrupt flag..

OSR

Oversample selection register for asynchronous communication.

Offset: 0x28, reset: 0xF, 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
OSRVAL
rw
Toggle Fields

OSRVAL

Bits 0-3: Oversample Selection Value. 0 to 3 = not supported 0x4 = 5 function clocks are used to transmit and receive each data bit. 0x5 = 6 function clocks are used to transmit and receive each data bit. 0xF= 16 function clocks are used to transmit and receive each data bit..

ADDR

Address register for automatic address matching.

Offset: 0x2c, 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
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 0-7: 8-bit address used with automatic address matching. Used when address detection is enabled (ADDRDET in CTL = 1) and automatic address matching is enabled (AUTOADDR in CFG = 1)..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, 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
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-8: Transmit data to the FIFO..

FIFORD

FIFO read data.

Offset: 0xe30, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

USART6

0x40097000: LPC5411x USARTs

75/114 fields covered. Toggle Registers

Show register map

CFG

USART Configuration register. Basic USART configuration settings that typically are not changed during operation.

Offset: 0x0, reset: 0, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXPOL
rw
RXPOL
rw
OEPOL
rw
OESEL
rw
AUTOADDR
rw
OETA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOOP
rw
SYNCMST
rw
CLKPOL
rw
SYNCEN
rw
CTSEN
rw
LINMODE
rw
MODE32K
rw
STOPLEN
rw
PARITYSEL
rw
DATALEN
rw
ENABLE
rw
Toggle Fields

ENABLE

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.

DATALEN

Bits 2-3: Selects the data size for the USART..

Allowed values:
0: BIT_7: 7 bit Data length.
0x1: BIT_8: 8 bit Data length.
0x2: BIT_9: 9 bit data length. The 9th bit is commonly used for addressing in multidrop mode. See the ADDRDET bit in the CTL register.

PARITYSEL

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.

STOPLEN

Bit 6: Number of stop bits appended to transmitted data. Only a single stop bit is required for received data..

Allowed values:
0: BIT_1: 1 stop bit.
0x1: BITS_2: 2 stop bits. This setting should only be used for asynchronous communication.

MODE32K

Bit 7: Selects standard or 32 kHz clocking mode..

Allowed values:
0: DISABLED: Disabled. USART uses standard clocking.
0x1: ENABLED: Enabled. USART uses the 32 kHz clock from the RTC oscillator as the clock source to the BRG, and uses a special bit clocking scheme.

LINMODE

Bit 8: LIN break mode enable..

Allowed values:
0: DISABLED: Disabled. Break detect and generate is configured for normal operation.
0x1: ENABLED: Enabled. Break detect and generate is configured for LIN bus operation.

CTSEN

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.

SYNCEN

Bit 11: Selects synchronous or asynchronous operation..

Allowed values:
0: ASYNCHRONOUS_MODE: Asynchronous mode.
0x1: SYNCHRONOUS_MODE: Synchronous mode.

CLKPOL

Bit 12: Selects the clock polarity and sampling edge of received data in synchronous mode..

Allowed values:
0: FALLING_EDGE: Falling edge. Un_RXD is sampled on the falling edge of SCLK.
0x1: RISING_EDGE: Rising edge. Un_RXD is sampled on the rising edge of SCLK.

SYNCMST

Bit 14: Synchronous mode Master select..

Allowed values:
0: SLAVE: Slave. When synchronous mode is enabled, the USART is a slave.
0x1: MASTER: Master. When synchronous mode is enabled, the USART is a master.

LOOP

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.

OETA

Bit 18: Output Enable Turnaround time enable for RS-485 operation..

Allowed values:
0: DISABLED: Disabled. If selected by OESEL, the Output Enable signal deasserted at the end of the last stop bit of a transmission.
0x1: ENABLED: Enabled. If selected by OESEL, the Output Enable signal remains asserted for one character time after the end of the last stop bit of a transmission. OE will also remain asserted if another transmit begins before it is deasserted.

AUTOADDR

Bit 19: Automatic Address matching enable..

Allowed values:
0: DISABLED: Disabled. When addressing is enabled by ADDRDET, address matching is done by software. This provides the possibility of versatile addressing (e.g. respond to more than one address).
0x1: ENABLED: Enabled. When addressing is enabled by ADDRDET, address matching is done by hardware, using the value in the ADDR register as the address to match.

OESEL

Bit 20: Output Enable Select..

Allowed values:
0: STANDARD: Standard. The RTS signal is used as the standard flow control function.
0x1: RS_485: RS-485. The RTS signal configured to provide an output enable signal to control an RS-485 transceiver.

OEPOL

Bit 21: Output Enable Polarity..

Allowed values:
0: LOW: Low. If selected by OESEL, the output enable is active low.
0x1: HIGH: High. If selected by OESEL, the output enable is active high.

RXPOL

Bit 22: Receive data polarity..

Allowed values:
0: STANDARD: Standard. The RX signal is used as it arrives from the pin. This means that the RX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The RX signal is inverted before being used by the USART. This means that the RX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

TXPOL

Bit 23: Transmit data polarity..

Allowed values:
0: STANDARD: Standard. The TX signal is sent out without change. This means that the TX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The TX signal is inverted by the USART before being sent out. This means that the TX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

CTL

USART Control register. USART control settings that are more likely to change during operation.

Offset: 0x4, reset: 0, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AUTOBAUD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRCCONRX
rw
CC
rw
TXDIS
rw
ADDRDET
rw
TXBRKEN
rw
Toggle Fields

TXBRKEN

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.

ADDRDET

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.

TXDIS

Bit 6: Transmit Disable..

Allowed values:
0: ENABLED: Not disabled. USART transmitter is not disabled.
0x1: DISABLED: Disabled. USART transmitter is disabled after any character currently being transmitted is complete. This feature can be used to facilitate software flow control.

CC

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).

CLRCCONRX

Bit 9: Clear Continuous Clock..

Allowed values:
0: NO_EFFECT: No effect. No effect on the CC bit.
0x1: AUTO_CLEAR: Auto-clear. The CC bit is automatically cleared when a complete character has been received. This bit is cleared at the same time.

AUTOBAUD

Bit 16: Autobaud enable..

Allowed values:
0: DISABLED: Disabled. USART is in normal operating mode.
0x1: ENABLED: Enabled. USART is in autobaud mode. This bit should only be set when the USART receiver is idle. The first start bit of RX is measured and used the update the BRG register to match the received data rate. AUTOBAUD is cleared once this process is complete, or if there is an AERR.

STAT

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: 0xA, access: read-write

5/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXNOISEINT
rw
PARITYERRINT
rw
FRAMERRINT
rw
START
rw
DELTARXBRK
rw
RXBRK
r
TXDISSTAT
r
DELTACTS
rw
CTS
r
TXIDLE
r
RXIDLE
r
Toggle Fields

RXIDLE

Bit 1: Receiver Idle. When 0, indicates that the receiver is currently in the process of receiving data. When 1, indicates that the receiver is not currently in the process of receiving data..

TXIDLE

Bit 3: Transmitter Idle. When 0, indicates that the transmitter is currently in the process of sending data.When 1, indicate that the transmitter is not currently in the process of sending data..

CTS

Bit 4: This bit reflects the current state of the CTS signal, regardless of the setting of the CTSEN bit in the CFG register. This will be the value of the CTS input pin unless loopback mode is enabled..

DELTACTS

Bit 5: This bit is set when a change in the state is detected for the CTS flag above. This bit is cleared by software..

TXDISSTAT

Bit 6: Transmitter Disabled Status flag. When 1, this bit indicates that the USART transmitter is fully idle after being disabled via the TXDIS bit in the CFG register (TXDIS = 1)..

RXBRK

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..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs. Cleared by software..

START

Bit 12: This bit is set when a start is detected on the receiver input. Its purpose is primarily to allow wake-up from Deep-sleep or Power-down mode immediately when a start is detected. Cleared by software..

FRAMERRINT

Bit 13: Framing Error interrupt flag. This flag is set when a character is 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..

PARITYERRINT

Bit 14: Parity Error interrupt flag. This flag is set when a parity error is detected in a received character..

RXNOISEINT

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..

ABERR

Bit 16: Auto baud Error. An auto baud error can occur if the BRG counts to its limit before the end of the start bit that is being measured, essentially an auto baud time-out..

INTENSET

Interrupt Enable read and Set register for USART (not FIFO) status. Contains individual interrupt enable bits 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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERREN
rw
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
TXDISEN
rw
DELTACTSEN
rw
TXIDLEEN
rw
Toggle Fields

TXIDLEEN

Bit 3: When 1, enables an interrupt when the transmitter becomes idle (TXIDLE = 1)..

DELTACTSEN

Bit 5: When 1, enables an interrupt when there is a change in the state of the CTS input..

TXDISEN

Bit 6: When 1, enables an interrupt when the transmitter is fully disabled as indicated by the TXDISINT flag in STAT. See description of the TXDISINT bit for details..

DELTARXBRKEN

Bit 11: When 1, enables an interrupt when a change of state has occurred in the detection of a received break condition (break condition asserted or deasserted)..

STARTEN

Bit 12: When 1, enables an interrupt when a received start bit has been detected..

FRAMERREN

Bit 13: When 1, enables an interrupt when a framing error has been detected..

PARITYERREN

Bit 14: When 1, enables an interrupt when a parity error has been detected..

RXNOISEEN

Bit 15: When 1, enables an interrupt when noise is detected. See description of the RXNOISEINT bit in Table 354..

ABERREN

Bit 16: When 1, enables an interrupt when an auto baud error occurs..

INTENCLR

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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRCLR
w
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
TXDISCLR
w
DELTACTSCLR
w
TXIDLECLR
w
Toggle Fields

TXIDLECLR

Bit 3: Writing 1 clears the corresponding bit in the INTENSET register..

DELTACTSCLR

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

TXDISCLR

Bit 6: Writing 1 clears the corresponding bit in the INTENSET register..

DELTARXBRKCLR

Bit 11: Writing 1 clears the corresponding bit in the INTENSET register..

STARTCLR

Bit 12: Writing 1 clears the corresponding bit in the INTENSET register..

FRAMERRCLR

Bit 13: Writing 1 clears the corresponding bit in the INTENSET register..

PARITYERRCLR

Bit 14: Writing 1 clears the corresponding bit in the INTENSET register..

RXNOISECLR

Bit 15: Writing 1 clears the corresponding bit in the INTENSET register..

ABERRCLR

Bit 16: Writing 1 clears the corresponding bit in the INTENSET register..

BRG

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
Toggle Fields

BRGVAL

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..

INTSTAT

Interrupt status register. Reflects interrupts that are currently enabled.

Offset: 0x24, reset: 0, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRINT
r
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
TXDISINT
r
DELTACTS
r
TXIDLE
r
Toggle Fields

TXIDLE

Bit 3: Transmitter Idle status..

DELTACTS

Bit 5: This bit is set when a change in the state of the CTS input is detected..

TXDISINT

Bit 6: Transmitter Disabled Interrupt flag..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs..

START

Bit 12: This bit is set when a start is detected on the receiver input..

FRAMERRINT

Bit 13: Framing Error interrupt flag..

PARITYERRINT

Bit 14: Parity Error interrupt flag..

RXNOISEINT

Bit 15: Received Noise interrupt flag..

ABERRINT

Bit 16: Auto baud Error Interrupt flag..

OSR

Oversample selection register for asynchronous communication.

Offset: 0x28, reset: 0xF, 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
OSRVAL
rw
Toggle Fields

OSRVAL

Bits 0-3: Oversample Selection Value. 0 to 3 = not supported 0x4 = 5 function clocks are used to transmit and receive each data bit. 0x5 = 6 function clocks are used to transmit and receive each data bit. 0xF= 16 function clocks are used to transmit and receive each data bit..

ADDR

Address register for automatic address matching.

Offset: 0x2c, 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
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 0-7: 8-bit address used with automatic address matching. Used when address detection is enabled (ADDRDET in CTL = 1) and automatic address matching is enabled (AUTOADDR in CFG = 1)..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, 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
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-8: Transmit data to the FIFO..

FIFORD

FIFO read data.

Offset: 0xe30, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

USART7

0x40098000: LPC5411x USARTs

75/114 fields covered. Toggle Registers

Show register map

CFG

USART Configuration register. Basic USART configuration settings that typically are not changed during operation.

Offset: 0x0, reset: 0, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXPOL
rw
RXPOL
rw
OEPOL
rw
OESEL
rw
AUTOADDR
rw
OETA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOOP
rw
SYNCMST
rw
CLKPOL
rw
SYNCEN
rw
CTSEN
rw
LINMODE
rw
MODE32K
rw
STOPLEN
rw
PARITYSEL
rw
DATALEN
rw
ENABLE
rw
Toggle Fields

ENABLE

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.

DATALEN

Bits 2-3: Selects the data size for the USART..

Allowed values:
0: BIT_7: 7 bit Data length.
0x1: BIT_8: 8 bit Data length.
0x2: BIT_9: 9 bit data length. The 9th bit is commonly used for addressing in multidrop mode. See the ADDRDET bit in the CTL register.

PARITYSEL

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.

STOPLEN

Bit 6: Number of stop bits appended to transmitted data. Only a single stop bit is required for received data..

Allowed values:
0: BIT_1: 1 stop bit.
0x1: BITS_2: 2 stop bits. This setting should only be used for asynchronous communication.

MODE32K

Bit 7: Selects standard or 32 kHz clocking mode..

Allowed values:
0: DISABLED: Disabled. USART uses standard clocking.
0x1: ENABLED: Enabled. USART uses the 32 kHz clock from the RTC oscillator as the clock source to the BRG, and uses a special bit clocking scheme.

LINMODE

Bit 8: LIN break mode enable..

Allowed values:
0: DISABLED: Disabled. Break detect and generate is configured for normal operation.
0x1: ENABLED: Enabled. Break detect and generate is configured for LIN bus operation.

CTSEN

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.

SYNCEN

Bit 11: Selects synchronous or asynchronous operation..

Allowed values:
0: ASYNCHRONOUS_MODE: Asynchronous mode.
0x1: SYNCHRONOUS_MODE: Synchronous mode.

CLKPOL

Bit 12: Selects the clock polarity and sampling edge of received data in synchronous mode..

Allowed values:
0: FALLING_EDGE: Falling edge. Un_RXD is sampled on the falling edge of SCLK.
0x1: RISING_EDGE: Rising edge. Un_RXD is sampled on the rising edge of SCLK.

SYNCMST

Bit 14: Synchronous mode Master select..

Allowed values:
0: SLAVE: Slave. When synchronous mode is enabled, the USART is a slave.
0x1: MASTER: Master. When synchronous mode is enabled, the USART is a master.

LOOP

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.

OETA

Bit 18: Output Enable Turnaround time enable for RS-485 operation..

Allowed values:
0: DISABLED: Disabled. If selected by OESEL, the Output Enable signal deasserted at the end of the last stop bit of a transmission.
0x1: ENABLED: Enabled. If selected by OESEL, the Output Enable signal remains asserted for one character time after the end of the last stop bit of a transmission. OE will also remain asserted if another transmit begins before it is deasserted.

AUTOADDR

Bit 19: Automatic Address matching enable..

Allowed values:
0: DISABLED: Disabled. When addressing is enabled by ADDRDET, address matching is done by software. This provides the possibility of versatile addressing (e.g. respond to more than one address).
0x1: ENABLED: Enabled. When addressing is enabled by ADDRDET, address matching is done by hardware, using the value in the ADDR register as the address to match.

OESEL

Bit 20: Output Enable Select..

Allowed values:
0: STANDARD: Standard. The RTS signal is used as the standard flow control function.
0x1: RS_485: RS-485. The RTS signal configured to provide an output enable signal to control an RS-485 transceiver.

OEPOL

Bit 21: Output Enable Polarity..

Allowed values:
0: LOW: Low. If selected by OESEL, the output enable is active low.
0x1: HIGH: High. If selected by OESEL, the output enable is active high.

RXPOL

Bit 22: Receive data polarity..

Allowed values:
0: STANDARD: Standard. The RX signal is used as it arrives from the pin. This means that the RX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The RX signal is inverted before being used by the USART. This means that the RX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

TXPOL

Bit 23: Transmit data polarity..

Allowed values:
0: STANDARD: Standard. The TX signal is sent out without change. This means that the TX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The TX signal is inverted by the USART before being sent out. This means that the TX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

CTL

USART Control register. USART control settings that are more likely to change during operation.

Offset: 0x4, reset: 0, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AUTOBAUD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRCCONRX
rw
CC
rw
TXDIS
rw
ADDRDET
rw
TXBRKEN
rw
Toggle Fields

TXBRKEN

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.

ADDRDET

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.

TXDIS

Bit 6: Transmit Disable..

Allowed values:
0: ENABLED: Not disabled. USART transmitter is not disabled.
0x1: DISABLED: Disabled. USART transmitter is disabled after any character currently being transmitted is complete. This feature can be used to facilitate software flow control.

CC

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).

CLRCCONRX

Bit 9: Clear Continuous Clock..

Allowed values:
0: NO_EFFECT: No effect. No effect on the CC bit.
0x1: AUTO_CLEAR: Auto-clear. The CC bit is automatically cleared when a complete character has been received. This bit is cleared at the same time.

AUTOBAUD

Bit 16: Autobaud enable..

Allowed values:
0: DISABLED: Disabled. USART is in normal operating mode.
0x1: ENABLED: Enabled. USART is in autobaud mode. This bit should only be set when the USART receiver is idle. The first start bit of RX is measured and used the update the BRG register to match the received data rate. AUTOBAUD is cleared once this process is complete, or if there is an AERR.

STAT

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: 0xA, access: read-write

5/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXNOISEINT
rw
PARITYERRINT
rw
FRAMERRINT
rw
START
rw
DELTARXBRK
rw
RXBRK
r
TXDISSTAT
r
DELTACTS
rw
CTS
r
TXIDLE
r
RXIDLE
r
Toggle Fields

RXIDLE

Bit 1: Receiver Idle. When 0, indicates that the receiver is currently in the process of receiving data. When 1, indicates that the receiver is not currently in the process of receiving data..

TXIDLE

Bit 3: Transmitter Idle. When 0, indicates that the transmitter is currently in the process of sending data.When 1, indicate that the transmitter is not currently in the process of sending data..

CTS

Bit 4: This bit reflects the current state of the CTS signal, regardless of the setting of the CTSEN bit in the CFG register. This will be the value of the CTS input pin unless loopback mode is enabled..

DELTACTS

Bit 5: This bit is set when a change in the state is detected for the CTS flag above. This bit is cleared by software..

TXDISSTAT

Bit 6: Transmitter Disabled Status flag. When 1, this bit indicates that the USART transmitter is fully idle after being disabled via the TXDIS bit in the CFG register (TXDIS = 1)..

RXBRK

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..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs. Cleared by software..

START

Bit 12: This bit is set when a start is detected on the receiver input. Its purpose is primarily to allow wake-up from Deep-sleep or Power-down mode immediately when a start is detected. Cleared by software..

FRAMERRINT

Bit 13: Framing Error interrupt flag. This flag is set when a character is 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..

PARITYERRINT

Bit 14: Parity Error interrupt flag. This flag is set when a parity error is detected in a received character..

RXNOISEINT

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..

ABERR

Bit 16: Auto baud Error. An auto baud error can occur if the BRG counts to its limit before the end of the start bit that is being measured, essentially an auto baud time-out..

INTENSET

Interrupt Enable read and Set register for USART (not FIFO) status. Contains individual interrupt enable bits 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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERREN
rw
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
TXDISEN
rw
DELTACTSEN
rw
TXIDLEEN
rw
Toggle Fields

TXIDLEEN

Bit 3: When 1, enables an interrupt when the transmitter becomes idle (TXIDLE = 1)..

DELTACTSEN

Bit 5: When 1, enables an interrupt when there is a change in the state of the CTS input..

TXDISEN

Bit 6: When 1, enables an interrupt when the transmitter is fully disabled as indicated by the TXDISINT flag in STAT. See description of the TXDISINT bit for details..

DELTARXBRKEN

Bit 11: When 1, enables an interrupt when a change of state has occurred in the detection of a received break condition (break condition asserted or deasserted)..

STARTEN

Bit 12: When 1, enables an interrupt when a received start bit has been detected..

FRAMERREN

Bit 13: When 1, enables an interrupt when a framing error has been detected..

PARITYERREN

Bit 14: When 1, enables an interrupt when a parity error has been detected..

RXNOISEEN

Bit 15: When 1, enables an interrupt when noise is detected. See description of the RXNOISEINT bit in Table 354..

ABERREN

Bit 16: When 1, enables an interrupt when an auto baud error occurs..

INTENCLR

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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRCLR
w
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
TXDISCLR
w
DELTACTSCLR
w
TXIDLECLR
w
Toggle Fields

TXIDLECLR

Bit 3: Writing 1 clears the corresponding bit in the INTENSET register..

DELTACTSCLR

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

TXDISCLR

Bit 6: Writing 1 clears the corresponding bit in the INTENSET register..

DELTARXBRKCLR

Bit 11: Writing 1 clears the corresponding bit in the INTENSET register..

STARTCLR

Bit 12: Writing 1 clears the corresponding bit in the INTENSET register..

FRAMERRCLR

Bit 13: Writing 1 clears the corresponding bit in the INTENSET register..

PARITYERRCLR

Bit 14: Writing 1 clears the corresponding bit in the INTENSET register..

RXNOISECLR

Bit 15: Writing 1 clears the corresponding bit in the INTENSET register..

ABERRCLR

Bit 16: Writing 1 clears the corresponding bit in the INTENSET register..

BRG

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
Toggle Fields

BRGVAL

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..

INTSTAT

Interrupt status register. Reflects interrupts that are currently enabled.

Offset: 0x24, reset: 0, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRINT
r
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
TXDISINT
r
DELTACTS
r
TXIDLE
r
Toggle Fields

TXIDLE

Bit 3: Transmitter Idle status..

DELTACTS

Bit 5: This bit is set when a change in the state of the CTS input is detected..

TXDISINT

Bit 6: Transmitter Disabled Interrupt flag..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs..

START

Bit 12: This bit is set when a start is detected on the receiver input..

FRAMERRINT

Bit 13: Framing Error interrupt flag..

PARITYERRINT

Bit 14: Parity Error interrupt flag..

RXNOISEINT

Bit 15: Received Noise interrupt flag..

ABERRINT

Bit 16: Auto baud Error Interrupt flag..

OSR

Oversample selection register for asynchronous communication.

Offset: 0x28, reset: 0xF, 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
OSRVAL
rw
Toggle Fields

OSRVAL

Bits 0-3: Oversample Selection Value. 0 to 3 = not supported 0x4 = 5 function clocks are used to transmit and receive each data bit. 0x5 = 6 function clocks are used to transmit and receive each data bit. 0xF= 16 function clocks are used to transmit and receive each data bit..

ADDR

Address register for automatic address matching.

Offset: 0x2c, 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
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 0-7: 8-bit address used with automatic address matching. Used when address detection is enabled (ADDRDET in CTL = 1) and automatic address matching is enabled (AUTOADDR in CFG = 1)..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, 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
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-8: Transmit data to the FIFO..

FIFORD

FIFO read data.

Offset: 0xe30, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

USART8

0x40099000: LPC5411x USARTs

75/114 fields covered. Toggle Registers

Show register map

CFG

USART Configuration register. Basic USART configuration settings that typically are not changed during operation.

Offset: 0x0, reset: 0, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXPOL
rw
RXPOL
rw
OEPOL
rw
OESEL
rw
AUTOADDR
rw
OETA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOOP
rw
SYNCMST
rw
CLKPOL
rw
SYNCEN
rw
CTSEN
rw
LINMODE
rw
MODE32K
rw
STOPLEN
rw
PARITYSEL
rw
DATALEN
rw
ENABLE
rw
Toggle Fields

ENABLE

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.

DATALEN

Bits 2-3: Selects the data size for the USART..

Allowed values:
0: BIT_7: 7 bit Data length.
0x1: BIT_8: 8 bit Data length.
0x2: BIT_9: 9 bit data length. The 9th bit is commonly used for addressing in multidrop mode. See the ADDRDET bit in the CTL register.

PARITYSEL

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.

STOPLEN

Bit 6: Number of stop bits appended to transmitted data. Only a single stop bit is required for received data..

Allowed values:
0: BIT_1: 1 stop bit.
0x1: BITS_2: 2 stop bits. This setting should only be used for asynchronous communication.

MODE32K

Bit 7: Selects standard or 32 kHz clocking mode..

Allowed values:
0: DISABLED: Disabled. USART uses standard clocking.
0x1: ENABLED: Enabled. USART uses the 32 kHz clock from the RTC oscillator as the clock source to the BRG, and uses a special bit clocking scheme.

LINMODE

Bit 8: LIN break mode enable..

Allowed values:
0: DISABLED: Disabled. Break detect and generate is configured for normal operation.
0x1: ENABLED: Enabled. Break detect and generate is configured for LIN bus operation.

CTSEN

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.

SYNCEN

Bit 11: Selects synchronous or asynchronous operation..

Allowed values:
0: ASYNCHRONOUS_MODE: Asynchronous mode.
0x1: SYNCHRONOUS_MODE: Synchronous mode.

CLKPOL

Bit 12: Selects the clock polarity and sampling edge of received data in synchronous mode..

Allowed values:
0: FALLING_EDGE: Falling edge. Un_RXD is sampled on the falling edge of SCLK.
0x1: RISING_EDGE: Rising edge. Un_RXD is sampled on the rising edge of SCLK.

SYNCMST

Bit 14: Synchronous mode Master select..

Allowed values:
0: SLAVE: Slave. When synchronous mode is enabled, the USART is a slave.
0x1: MASTER: Master. When synchronous mode is enabled, the USART is a master.

LOOP

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.

OETA

Bit 18: Output Enable Turnaround time enable for RS-485 operation..

Allowed values:
0: DISABLED: Disabled. If selected by OESEL, the Output Enable signal deasserted at the end of the last stop bit of a transmission.
0x1: ENABLED: Enabled. If selected by OESEL, the Output Enable signal remains asserted for one character time after the end of the last stop bit of a transmission. OE will also remain asserted if another transmit begins before it is deasserted.

AUTOADDR

Bit 19: Automatic Address matching enable..

Allowed values:
0: DISABLED: Disabled. When addressing is enabled by ADDRDET, address matching is done by software. This provides the possibility of versatile addressing (e.g. respond to more than one address).
0x1: ENABLED: Enabled. When addressing is enabled by ADDRDET, address matching is done by hardware, using the value in the ADDR register as the address to match.

OESEL

Bit 20: Output Enable Select..

Allowed values:
0: STANDARD: Standard. The RTS signal is used as the standard flow control function.
0x1: RS_485: RS-485. The RTS signal configured to provide an output enable signal to control an RS-485 transceiver.

OEPOL

Bit 21: Output Enable Polarity..

Allowed values:
0: LOW: Low. If selected by OESEL, the output enable is active low.
0x1: HIGH: High. If selected by OESEL, the output enable is active high.

RXPOL

Bit 22: Receive data polarity..

Allowed values:
0: STANDARD: Standard. The RX signal is used as it arrives from the pin. This means that the RX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The RX signal is inverted before being used by the USART. This means that the RX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

TXPOL

Bit 23: Transmit data polarity..

Allowed values:
0: STANDARD: Standard. The TX signal is sent out without change. This means that the TX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The TX signal is inverted by the USART before being sent out. This means that the TX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

CTL

USART Control register. USART control settings that are more likely to change during operation.

Offset: 0x4, reset: 0, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AUTOBAUD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRCCONRX
rw
CC
rw
TXDIS
rw
ADDRDET
rw
TXBRKEN
rw
Toggle Fields

TXBRKEN

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.

ADDRDET

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.

TXDIS

Bit 6: Transmit Disable..

Allowed values:
0: ENABLED: Not disabled. USART transmitter is not disabled.
0x1: DISABLED: Disabled. USART transmitter is disabled after any character currently being transmitted is complete. This feature can be used to facilitate software flow control.

CC

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).

CLRCCONRX

Bit 9: Clear Continuous Clock..

Allowed values:
0: NO_EFFECT: No effect. No effect on the CC bit.
0x1: AUTO_CLEAR: Auto-clear. The CC bit is automatically cleared when a complete character has been received. This bit is cleared at the same time.

AUTOBAUD

Bit 16: Autobaud enable..

Allowed values:
0: DISABLED: Disabled. USART is in normal operating mode.
0x1: ENABLED: Enabled. USART is in autobaud mode. This bit should only be set when the USART receiver is idle. The first start bit of RX is measured and used the update the BRG register to match the received data rate. AUTOBAUD is cleared once this process is complete, or if there is an AERR.

STAT

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: 0xA, access: read-write

5/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXNOISEINT
rw
PARITYERRINT
rw
FRAMERRINT
rw
START
rw
DELTARXBRK
rw
RXBRK
r
TXDISSTAT
r
DELTACTS
rw
CTS
r
TXIDLE
r
RXIDLE
r
Toggle Fields

RXIDLE

Bit 1: Receiver Idle. When 0, indicates that the receiver is currently in the process of receiving data. When 1, indicates that the receiver is not currently in the process of receiving data..

TXIDLE

Bit 3: Transmitter Idle. When 0, indicates that the transmitter is currently in the process of sending data.When 1, indicate that the transmitter is not currently in the process of sending data..

CTS

Bit 4: This bit reflects the current state of the CTS signal, regardless of the setting of the CTSEN bit in the CFG register. This will be the value of the CTS input pin unless loopback mode is enabled..

DELTACTS

Bit 5: This bit is set when a change in the state is detected for the CTS flag above. This bit is cleared by software..

TXDISSTAT

Bit 6: Transmitter Disabled Status flag. When 1, this bit indicates that the USART transmitter is fully idle after being disabled via the TXDIS bit in the CFG register (TXDIS = 1)..

RXBRK

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..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs. Cleared by software..

START

Bit 12: This bit is set when a start is detected on the receiver input. Its purpose is primarily to allow wake-up from Deep-sleep or Power-down mode immediately when a start is detected. Cleared by software..

FRAMERRINT

Bit 13: Framing Error interrupt flag. This flag is set when a character is 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..

PARITYERRINT

Bit 14: Parity Error interrupt flag. This flag is set when a parity error is detected in a received character..

RXNOISEINT

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..

ABERR

Bit 16: Auto baud Error. An auto baud error can occur if the BRG counts to its limit before the end of the start bit that is being measured, essentially an auto baud time-out..

INTENSET

Interrupt Enable read and Set register for USART (not FIFO) status. Contains individual interrupt enable bits 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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERREN
rw
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
TXDISEN
rw
DELTACTSEN
rw
TXIDLEEN
rw
Toggle Fields

TXIDLEEN

Bit 3: When 1, enables an interrupt when the transmitter becomes idle (TXIDLE = 1)..

DELTACTSEN

Bit 5: When 1, enables an interrupt when there is a change in the state of the CTS input..

TXDISEN

Bit 6: When 1, enables an interrupt when the transmitter is fully disabled as indicated by the TXDISINT flag in STAT. See description of the TXDISINT bit for details..

DELTARXBRKEN

Bit 11: When 1, enables an interrupt when a change of state has occurred in the detection of a received break condition (break condition asserted or deasserted)..

STARTEN

Bit 12: When 1, enables an interrupt when a received start bit has been detected..

FRAMERREN

Bit 13: When 1, enables an interrupt when a framing error has been detected..

PARITYERREN

Bit 14: When 1, enables an interrupt when a parity error has been detected..

RXNOISEEN

Bit 15: When 1, enables an interrupt when noise is detected. See description of the RXNOISEINT bit in Table 354..

ABERREN

Bit 16: When 1, enables an interrupt when an auto baud error occurs..

INTENCLR

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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRCLR
w
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
TXDISCLR
w
DELTACTSCLR
w
TXIDLECLR
w
Toggle Fields

TXIDLECLR

Bit 3: Writing 1 clears the corresponding bit in the INTENSET register..

DELTACTSCLR

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

TXDISCLR

Bit 6: Writing 1 clears the corresponding bit in the INTENSET register..

DELTARXBRKCLR

Bit 11: Writing 1 clears the corresponding bit in the INTENSET register..

STARTCLR

Bit 12: Writing 1 clears the corresponding bit in the INTENSET register..

FRAMERRCLR

Bit 13: Writing 1 clears the corresponding bit in the INTENSET register..

PARITYERRCLR

Bit 14: Writing 1 clears the corresponding bit in the INTENSET register..

RXNOISECLR

Bit 15: Writing 1 clears the corresponding bit in the INTENSET register..

ABERRCLR

Bit 16: Writing 1 clears the corresponding bit in the INTENSET register..

BRG

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
Toggle Fields

BRGVAL

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..

INTSTAT

Interrupt status register. Reflects interrupts that are currently enabled.

Offset: 0x24, reset: 0, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRINT
r
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
TXDISINT
r
DELTACTS
r
TXIDLE
r
Toggle Fields

TXIDLE

Bit 3: Transmitter Idle status..

DELTACTS

Bit 5: This bit is set when a change in the state of the CTS input is detected..

TXDISINT

Bit 6: Transmitter Disabled Interrupt flag..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs..

START

Bit 12: This bit is set when a start is detected on the receiver input..

FRAMERRINT

Bit 13: Framing Error interrupt flag..

PARITYERRINT

Bit 14: Parity Error interrupt flag..

RXNOISEINT

Bit 15: Received Noise interrupt flag..

ABERRINT

Bit 16: Auto baud Error Interrupt flag..

OSR

Oversample selection register for asynchronous communication.

Offset: 0x28, reset: 0xF, 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
OSRVAL
rw
Toggle Fields

OSRVAL

Bits 0-3: Oversample Selection Value. 0 to 3 = not supported 0x4 = 5 function clocks are used to transmit and receive each data bit. 0x5 = 6 function clocks are used to transmit and receive each data bit. 0xF= 16 function clocks are used to transmit and receive each data bit..

ADDR

Address register for automatic address matching.

Offset: 0x2c, 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
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 0-7: 8-bit address used with automatic address matching. Used when address detection is enabled (ADDRDET in CTL = 1) and automatic address matching is enabled (AUTOADDR in CFG = 1)..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, 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
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-8: Transmit data to the FIFO..

FIFORD

FIFO read data.

Offset: 0xe30, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

USART9

0x4009a000: LPC5411x USARTs

75/114 fields covered. Toggle Registers

Show register map

CFG

USART Configuration register. Basic USART configuration settings that typically are not changed during operation.

Offset: 0x0, reset: 0, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXPOL
rw
RXPOL
rw
OEPOL
rw
OESEL
rw
AUTOADDR
rw
OETA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOOP
rw
SYNCMST
rw
CLKPOL
rw
SYNCEN
rw
CTSEN
rw
LINMODE
rw
MODE32K
rw
STOPLEN
rw
PARITYSEL
rw
DATALEN
rw
ENABLE
rw
Toggle Fields

ENABLE

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.

DATALEN

Bits 2-3: Selects the data size for the USART..

Allowed values:
0: BIT_7: 7 bit Data length.
0x1: BIT_8: 8 bit Data length.
0x2: BIT_9: 9 bit data length. The 9th bit is commonly used for addressing in multidrop mode. See the ADDRDET bit in the CTL register.

PARITYSEL

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.

STOPLEN

Bit 6: Number of stop bits appended to transmitted data. Only a single stop bit is required for received data..

Allowed values:
0: BIT_1: 1 stop bit.
0x1: BITS_2: 2 stop bits. This setting should only be used for asynchronous communication.

MODE32K

Bit 7: Selects standard or 32 kHz clocking mode..

Allowed values:
0: DISABLED: Disabled. USART uses standard clocking.
0x1: ENABLED: Enabled. USART uses the 32 kHz clock from the RTC oscillator as the clock source to the BRG, and uses a special bit clocking scheme.

LINMODE

Bit 8: LIN break mode enable..

Allowed values:
0: DISABLED: Disabled. Break detect and generate is configured for normal operation.
0x1: ENABLED: Enabled. Break detect and generate is configured for LIN bus operation.

CTSEN

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.

SYNCEN

Bit 11: Selects synchronous or asynchronous operation..

Allowed values:
0: ASYNCHRONOUS_MODE: Asynchronous mode.
0x1: SYNCHRONOUS_MODE: Synchronous mode.

CLKPOL

Bit 12: Selects the clock polarity and sampling edge of received data in synchronous mode..

Allowed values:
0: FALLING_EDGE: Falling edge. Un_RXD is sampled on the falling edge of SCLK.
0x1: RISING_EDGE: Rising edge. Un_RXD is sampled on the rising edge of SCLK.

SYNCMST

Bit 14: Synchronous mode Master select..

Allowed values:
0: SLAVE: Slave. When synchronous mode is enabled, the USART is a slave.
0x1: MASTER: Master. When synchronous mode is enabled, the USART is a master.

LOOP

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.

OETA

Bit 18: Output Enable Turnaround time enable for RS-485 operation..

Allowed values:
0: DISABLED: Disabled. If selected by OESEL, the Output Enable signal deasserted at the end of the last stop bit of a transmission.
0x1: ENABLED: Enabled. If selected by OESEL, the Output Enable signal remains asserted for one character time after the end of the last stop bit of a transmission. OE will also remain asserted if another transmit begins before it is deasserted.

AUTOADDR

Bit 19: Automatic Address matching enable..

Allowed values:
0: DISABLED: Disabled. When addressing is enabled by ADDRDET, address matching is done by software. This provides the possibility of versatile addressing (e.g. respond to more than one address).
0x1: ENABLED: Enabled. When addressing is enabled by ADDRDET, address matching is done by hardware, using the value in the ADDR register as the address to match.

OESEL

Bit 20: Output Enable Select..

Allowed values:
0: STANDARD: Standard. The RTS signal is used as the standard flow control function.
0x1: RS_485: RS-485. The RTS signal configured to provide an output enable signal to control an RS-485 transceiver.

OEPOL

Bit 21: Output Enable Polarity..

Allowed values:
0: LOW: Low. If selected by OESEL, the output enable is active low.
0x1: HIGH: High. If selected by OESEL, the output enable is active high.

RXPOL

Bit 22: Receive data polarity..

Allowed values:
0: STANDARD: Standard. The RX signal is used as it arrives from the pin. This means that the RX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The RX signal is inverted before being used by the USART. This means that the RX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

TXPOL

Bit 23: Transmit data polarity..

Allowed values:
0: STANDARD: Standard. The TX signal is sent out without change. This means that the TX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
0x1: INVERTED: Inverted. The TX signal is inverted by the USART before being sent out. This means that the TX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.

CTL

USART Control register. USART control settings that are more likely to change during operation.

Offset: 0x4, reset: 0, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AUTOBAUD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRCCONRX
rw
CC
rw
TXDIS
rw
ADDRDET
rw
TXBRKEN
rw
Toggle Fields

TXBRKEN

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.

ADDRDET

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.

TXDIS

Bit 6: Transmit Disable..

Allowed values:
0: ENABLED: Not disabled. USART transmitter is not disabled.
0x1: DISABLED: Disabled. USART transmitter is disabled after any character currently being transmitted is complete. This feature can be used to facilitate software flow control.

CC

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).

CLRCCONRX

Bit 9: Clear Continuous Clock..

Allowed values:
0: NO_EFFECT: No effect. No effect on the CC bit.
0x1: AUTO_CLEAR: Auto-clear. The CC bit is automatically cleared when a complete character has been received. This bit is cleared at the same time.

AUTOBAUD

Bit 16: Autobaud enable..

Allowed values:
0: DISABLED: Disabled. USART is in normal operating mode.
0x1: ENABLED: Enabled. USART is in autobaud mode. This bit should only be set when the USART receiver is idle. The first start bit of RX is measured and used the update the BRG register to match the received data rate. AUTOBAUD is cleared once this process is complete, or if there is an AERR.

STAT

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: 0xA, access: read-write

5/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXNOISEINT
rw
PARITYERRINT
rw
FRAMERRINT
rw
START
rw
DELTARXBRK
rw
RXBRK
r
TXDISSTAT
r
DELTACTS
rw
CTS
r
TXIDLE
r
RXIDLE
r
Toggle Fields

RXIDLE

Bit 1: Receiver Idle. When 0, indicates that the receiver is currently in the process of receiving data. When 1, indicates that the receiver is not currently in the process of receiving data..

TXIDLE

Bit 3: Transmitter Idle. When 0, indicates that the transmitter is currently in the process of sending data.When 1, indicate that the transmitter is not currently in the process of sending data..

CTS

Bit 4: This bit reflects the current state of the CTS signal, regardless of the setting of the CTSEN bit in the CFG register. This will be the value of the CTS input pin unless loopback mode is enabled..

DELTACTS

Bit 5: This bit is set when a change in the state is detected for the CTS flag above. This bit is cleared by software..

TXDISSTAT

Bit 6: Transmitter Disabled Status flag. When 1, this bit indicates that the USART transmitter is fully idle after being disabled via the TXDIS bit in the CFG register (TXDIS = 1)..

RXBRK

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..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs. Cleared by software..

START

Bit 12: This bit is set when a start is detected on the receiver input. Its purpose is primarily to allow wake-up from Deep-sleep or Power-down mode immediately when a start is detected. Cleared by software..

FRAMERRINT

Bit 13: Framing Error interrupt flag. This flag is set when a character is 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..

PARITYERRINT

Bit 14: Parity Error interrupt flag. This flag is set when a parity error is detected in a received character..

RXNOISEINT

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..

ABERR

Bit 16: Auto baud Error. An auto baud error can occur if the BRG counts to its limit before the end of the start bit that is being measured, essentially an auto baud time-out..

INTENSET

Interrupt Enable read and Set register for USART (not FIFO) status. Contains individual interrupt enable bits 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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERREN
rw
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
TXDISEN
rw
DELTACTSEN
rw
TXIDLEEN
rw
Toggle Fields

TXIDLEEN

Bit 3: When 1, enables an interrupt when the transmitter becomes idle (TXIDLE = 1)..

DELTACTSEN

Bit 5: When 1, enables an interrupt when there is a change in the state of the CTS input..

TXDISEN

Bit 6: When 1, enables an interrupt when the transmitter is fully disabled as indicated by the TXDISINT flag in STAT. See description of the TXDISINT bit for details..

DELTARXBRKEN

Bit 11: When 1, enables an interrupt when a change of state has occurred in the detection of a received break condition (break condition asserted or deasserted)..

STARTEN

Bit 12: When 1, enables an interrupt when a received start bit has been detected..

FRAMERREN

Bit 13: When 1, enables an interrupt when a framing error has been detected..

PARITYERREN

Bit 14: When 1, enables an interrupt when a parity error has been detected..

RXNOISEEN

Bit 15: When 1, enables an interrupt when noise is detected. See description of the RXNOISEINT bit in Table 354..

ABERREN

Bit 16: When 1, enables an interrupt when an auto baud error occurs..

INTENCLR

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/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRCLR
w
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
TXDISCLR
w
DELTACTSCLR
w
TXIDLECLR
w
Toggle Fields

TXIDLECLR

Bit 3: Writing 1 clears the corresponding bit in the INTENSET register..

DELTACTSCLR

Bit 5: Writing 1 clears the corresponding bit in the INTENSET register..

TXDISCLR

Bit 6: Writing 1 clears the corresponding bit in the INTENSET register..

DELTARXBRKCLR

Bit 11: Writing 1 clears the corresponding bit in the INTENSET register..

STARTCLR

Bit 12: Writing 1 clears the corresponding bit in the INTENSET register..

FRAMERRCLR

Bit 13: Writing 1 clears the corresponding bit in the INTENSET register..

PARITYERRCLR

Bit 14: Writing 1 clears the corresponding bit in the INTENSET register..

RXNOISECLR

Bit 15: Writing 1 clears the corresponding bit in the INTENSET register..

ABERRCLR

Bit 16: Writing 1 clears the corresponding bit in the INTENSET register..

BRG

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
Toggle Fields

BRGVAL

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..

INTSTAT

Interrupt status register. Reflects interrupts that are currently enabled.

Offset: 0x24, reset: 0, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ABERRINT
r
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
TXDISINT
r
DELTACTS
r
TXIDLE
r
Toggle Fields

TXIDLE

Bit 3: Transmitter Idle status..

DELTACTS

Bit 5: This bit is set when a change in the state of the CTS input is detected..

TXDISINT

Bit 6: Transmitter Disabled Interrupt flag..

DELTARXBRK

Bit 11: This bit is set when a change in the state of receiver break detection occurs..

START

Bit 12: This bit is set when a start is detected on the receiver input..

FRAMERRINT

Bit 13: Framing Error interrupt flag..

PARITYERRINT

Bit 14: Parity Error interrupt flag..

RXNOISEINT

Bit 15: Received Noise interrupt flag..

ABERRINT

Bit 16: Auto baud Error Interrupt flag..

OSR

Oversample selection register for asynchronous communication.

Offset: 0x28, reset: 0xF, 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
OSRVAL
rw
Toggle Fields

OSRVAL

Bits 0-3: Oversample Selection Value. 0 to 3 = not supported 0x4 = 5 function clocks are used to transmit and receive each data bit. 0x5 = 6 function clocks are used to transmit and receive each data bit. 0xF= 16 function clocks are used to transmit and receive each data bit..

ADDR

Address register for automatic address matching.

Offset: 0x2c, 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
ADDRESS
rw
Toggle Fields

ADDRESS

Bits 0-7: 8-bit address used with automatic address matching. Used when address detection is enabled (ADDRDET in CTL = 1) and automatic address matching is enabled (AUTOADDR in CFG = 1)..

FIFOCFG

FIFO configuration and enable register.

Offset: 0xe00, reset: 0, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POPDBG
rw
EMPTYRX
rw
EMPTYTX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAKERX
rw
WAKETX
rw
DMARX
rw
DMATX
rw
SIZE
r
ENABLERX
rw
ENABLETX
rw
Toggle Fields

ENABLETX

Bit 0: Enable the transmit FIFO..

Allowed values:
0: DISABLED: The transmit FIFO is not enabled.
0x1: ENABLED: The transmit FIFO is enabled.

ENABLERX

Bit 1: Enable the receive FIFO..

Allowed values:
0: DISABLED: The receive FIFO is not enabled.
0x1: ENABLED: The receive FIFO is enabled.

SIZE

Bits 4-5: FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART..

DMATX

Bit 12: DMA configuration for transmit..

Allowed values:
0: DISABLED: DMA is not used for the transmit function.
0x1: ENABLED: Trigger DMA for the transmit function if the FIFO is not full. Generally, data interrupts would be disabled if DMA is enabled.

DMARX

Bit 13: DMA configuration for receive..

Allowed values:
0: DISABLED: DMA is not used for the receive function.
0x1: ENABLED: Trigger DMA for the receive function if the FIFO is not empty. Generally, data interrupts would be disabled if DMA is enabled.

WAKETX

Bit 14: Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the transmit FIFO level reaches the value specified by TXLVL in FIFOTRIG, even when the TXLVL interrupt is not enabled.

WAKERX

Bit 15: Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register..

Allowed values:
0: DISABLED: Only enabled interrupts will wake up the device form reduced power modes.
0x1: ENABLED: A device wake-up for DMA will occur if the receive FIFO level reaches the value specified by RXLVL in FIFOTRIG, even when the RXLVL interrupt is not enabled.

EMPTYTX

Bit 16: Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied..

EMPTYRX

Bit 17: Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied..

POPDBG

Bit 18: Pop FIFO for debug reads..

Allowed values:
0: DO_NOT_POP: Debug reads of the FIFO do not pop the FIFO.
0x1: POP: A debug read will cause the FIFO to pop.

FIFOSTAT

FIFO status register.

Offset: 0xe04, reset: 0x30, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
r
RXFULL
r
RXNOTEMPTY
r
TXNOTFULL
r
TXEMPTY
r
PERINT
r
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit..

RXERR

Bit 1: RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit..

PERINT

Bit 3: Peripheral interrupt. When 1, this indicates that the peripheral function has asserted an interrupt. The details can be found by reading the peripheral's STAT register..

TXEMPTY

Bit 4: Transmit FIFO empty. When 1, the transmit FIFO is empty. The peripheral may still be processing the last piece of data..

TXNOTFULL

Bit 5: Transmit FIFO not full. When 1, the transmit FIFO is not full, so more data can be written. When 0, the transmit FIFO is full and another write would cause it to overflow..

RXNOTEMPTY

Bit 6: Receive FIFO not empty. When 1, the receive FIFO is not empty, so data can be read. When 0, the receive FIFO is empty..

RXFULL

Bit 7: Receive FIFO full. When 1, the receive FIFO is full. Data needs to be read out to prevent the peripheral from causing an overflow..

TXLVL

Bits 8-12: Transmit FIFO current level. A 0 means the TX FIFO is currently empty, and the TXEMPTY and TXNOTFULL flags will be 1. Other values tell how much data is actually in the TX FIFO at the point where the read occurs. If the TX FIFO is full, the TXEMPTY and TXNOTFULL flags will be 0..

RXLVL

Bits 16-20: Receive FIFO current level. A 0 means the RX FIFO is currently empty, and the RXFULL and RXNOTEMPTY flags will be 0. Other values tell how much data is actually in the RX FIFO at the point where the read occurs. If the RX FIFO is full, the RXFULL and RXNOTEMPTY flags will be 1..

FIFOTRIG

FIFO trigger settings for interrupt and DMA request.

Offset: 0xe08, reset: 0, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLVL
rw
RXLVLENA
rw
TXLVLENA
rw
Toggle Fields

TXLVLENA

Bit 0: Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set..

Allowed values:
0: DISABLED: Transmit FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the transmit FIFO level reaches the value specified by the TXLVL field in this register.

RXLVLENA

Bit 1: Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set..

Allowed values:
0: DISABLED: Receive FIFO level does not generate a FIFO level trigger.
0x1: ENABLED: An trigger will be generated if the receive FIFO level reaches the value specified by the RXLVL field in this register.

TXLVL

Bits 8-11: Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full)..

RXLVL

Bits 16-19: Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full)..

FIFOINTENSET

FIFO interrupt enable set (enable) and read register.

Offset: 0xe10, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a transmit error.
0x1: ENABLED: An interrupt will be generated when a transmit error occurs.

RXERR

Bit 1: Determines whether an interrupt occurs when a receive error occurs, based on the RXERR flag in the FIFOSTAT register..

Allowed values:
0: DISABLED: No interrupt will be generated for a receive error.
0x1: ENABLED: An interrupt will be generated when a receive error occurs.

TXLVL

Bit 2: Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the TX FIFO level.
0x1: ENABLED: If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.

RXLVL

Bit 3: Determines whether an interrupt occurs when a the receive FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register..

Allowed values:
0: DISABLED: No interrupt will be generated based on the RX FIFO level.
0x1: ENABLED: If RXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the when the RX FIFO level increases to the level specified by RXLVL in the FIFOTRIG register.

FIFOINTENCLR

FIFO interrupt enable clear (disable) and read register.

Offset: 0xe14, 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
RXLVL
rw
TXLVL
rw
RXERR
rw
TXERR
rw
Toggle Fields

TXERR

Bit 0: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXERR

Bit 1: Writing one clears the corresponding bits in the FIFOINTENSET register..

TXLVL

Bit 2: Writing one clears the corresponding bits in the FIFOINTENSET register..

RXLVL

Bit 3: Writing one clears the corresponding bits in the FIFOINTENSET register..

FIFOINTSTAT

FIFO interrupt status register.

Offset: 0xe18, reset: 0, access: read-only

5/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
PERINT
r
RXLVL
r
TXLVL
r
RXERR
r
TXERR
r
Toggle Fields

TXERR

Bit 0: TX FIFO error..

RXERR

Bit 1: RX FIFO error..

TXLVL

Bit 2: Transmit FIFO level interrupt..

RXLVL

Bit 3: Receive FIFO level interrupt..

PERINT

Bit 4: Peripheral interrupt..

FIFOWR

FIFO write data.

Offset: 0xe20, 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
TXDATA
rw
Toggle Fields

TXDATA

Bits 0-8: Transmit data to the FIFO..

FIFORD

FIFO read data.

Offset: 0xe30, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

FIFORDNOPOP

FIFO data read with no FIFO pop.

Offset: 0xe40, 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
RXDATA
r
Toggle Fields

RXDATA

Bits 0-8: Received data from the FIFO. The number of bits used depends on the DATALEN and PARITYSEL settings..

FRAMERR

Bit 13: Framing Error status flag. This bit reflects the status for the data it is read along with from the FIFO, and indicates that the character 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..

PARITYERR

Bit 14: Parity Error status flag. This bit reflects the status for the data it is read along with from the FIFO. This bit will be set when a parity error is detected in a received character..

RXNOISE

Bit 15: Received Noise flag. See description of the RxNoiseInt bit in Table 354..

ID

Peripheral identification register.

Offset: 0xffc, 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
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJOR_REV
r
MINOR_REV
r
APERTURE
r
Toggle Fields

APERTURE

Bits 0-7: Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture..

MINOR_REV

Bits 8-11: Minor revision of module implementation..

MAJOR_REV

Bits 12-15: Major revision of module implementation..

ID

Bits 16-31: Module identifier for the selected function..

USB0

0x40084000: LPC5411x USB 2.0 Device Controller

13/48 fields covered. Toggle Registers

Show register map

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 DEVCMDSTAT
0x4 INFO
0x8 EPLISTSTART
0xc DATABUFSTART
0x10 LPM
0x14 EPSKIP
0x18 EPINUSE
0x1c EPBUFCFG
0x20 INTSTAT
0x24 INTEN
0x28 INTSETSTAT
0x34 EPTOGGLE

DEVCMDSTAT

USB Device Command/Status register

Offset: 0x0, reset: 0x800, access: read-write

8/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
VBUSDEBOUNCED
r
DRES_C
rw
DSUS_C
rw
DCON_C
rw
LPM_REWP
r
LPM_SUS
rw
DSUS
rw
DCON
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INTONNAK_CI
rw
INTONNAK_CO
rw
INTONNAK_AI
rw
INTONNAK_AO
rw
LPM_SUP
rw
FORCE_NEEDCLK
rw
SETUP
rw
DEV_EN
rw
DEV_ADDR
rw
Toggle Fields

DEV_ADDR

Bits 0-6: USB device address. After bus reset, the address is reset to 0x00. If the enable bit is set, the device will respond on packets for function address DEV_ADDR. When receiving a SetAddress Control Request from the USB host, software must program the new address before completing the status phase of the SetAddress Control Request..

DEV_EN

Bit 7: USB device enable. If this bit is set, the HW will start responding on packets for function address DEV_ADDR..

SETUP

Bit 8: SETUP token received. If a SETUP token is received and acknowledged by the device, this bit is set. As long as this bit is set all received IN and OUT tokens will be NAKed by HW. SW must clear this bit by writing a one. If this bit is zero, HW will handle the tokens to the CTRL EP0 as indicated by the CTRL EP0 IN and OUT data information programmed by SW..

FORCE_NEEDCLK

Bit 9: Forces the NEEDCLK output to always be on:.

Allowed values:
0: NORMAL: USB_NEEDCLK has normal function.
0x1: ALWAYS_ON: USB_NEEDCLK always 1. Clock will not be stopped in case of suspend.

LPM_SUP

Bit 11: LPM Supported:.

Allowed values:
0: NO: LPM not supported.
0x1: YES: LPM supported.

INTONNAK_AO

Bit 12: Interrupt on NAK for interrupt and bulk OUT EP.

Allowed values:
0: DISABLED: Only acknowledged packets generate an interrupt
0x1: ENABLED: Both acknowledged and NAKed packets generate interrupts.

INTONNAK_AI

Bit 13: Interrupt on NAK for interrupt and bulk IN EP.

Allowed values:
0: DISABLED: Only acknowledged packets generate an interrupt
0x1: ENABLED: Both acknowledged and NAKed packets generate interrupts.

INTONNAK_CO

Bit 14: Interrupt on NAK for control OUT EP.

Allowed values:
0: DISABLED: Only acknowledged packets generate an interrupt
0x1: ENABLED: Both acknowledged and NAKed packets generate interrupts.

INTONNAK_CI

Bit 15: Interrupt on NAK for control IN EP.

Allowed values:
0: DISABLED: Only acknowledged packets generate an interrupt
0x1: ENABLED: Both acknowledged and NAKed packets generate interrupts.

DCON

Bit 16: Device status - connect. The connect bit must be set by SW to indicate that the device must signal a connect. The pull-up resistor on USB_DP will be enabled when this bit is set and the VBUSDEBOUNCED bit is one..

DSUS

Bit 17: Device status - suspend. The suspend bit indicates the current suspend state. It is set to 1 when the device hasn't seen any activity on its upstream port for more than 3 milliseconds. It is reset to 0 on any activity. When the device is suspended (Suspend bit DSUS = 1) and the software writes a 0 to it, the device will generate a remote wake-up. This will only happen when the device is connected (Connect bit = 1). When the device is not connected or not suspended, a writing a 0 has no effect. Writing a 1 never has an effect..

LPM_SUS

Bit 19: Device status - LPM Suspend. This bit represents the current LPM suspend state. It is set to 1 by HW when the device has acknowledged the LPM request from the USB host and the Token Retry Time of 10 ms has elapsed. When the device is in the LPM suspended state (LPM suspend bit = 1) and the software writes a zero to this bit, the device will generate a remote walk-up. Software can only write a zero to this bit when the LPM_REWP bit is set to 1. HW resets this bit when it receives a host initiated resume. HW only updates the LPM_SUS bit when the LPM_SUPP bit is equal to one..

LPM_REWP

Bit 20: LPM Remote Wake-up Enabled by USB host. HW sets this bit to one when the bRemoteWake bit in the LPM extended token is set to 1. HW will reset this bit to 0 when it receives the host initiated LPM resume, when a remote wake-up is sent by the device or when a USB bus reset is received. Software can use this bit to check if the remote wake-up feature is enabled by the host for the LPM transaction..

DCON_C

Bit 24: Device status - connect change. The Connect Change bit is set when the device's pull-up resistor is disconnected because VBus disappeared. The bit is reset by writing a one to it..

DSUS_C

Bit 25: Device status - suspend change. The suspend change bit is set to 1 when the suspend bit toggles. The suspend bit can toggle because: - The device goes in the suspended state - The device is disconnected - The device receives resume signaling on its upstream port. The bit is reset by writing a one to it..

DRES_C

Bit 26: Device status - reset change. This bit is set when the device received a bus reset. On a bus reset the device will automatically go to the default state (unconfigured and responding to address 0). The bit is reset by writing a one to it..

VBUSDEBOUNCED

Bit 28: This bit indicates if Vbus is detected or not. The bit raises immediately when Vbus becomes high. It drops to zero if Vbus is low for at least 3 ms. If this bit is high and the DCon bit is set, the HW will enable the pull-up resistor to signal a connect..

INFO

USB Info register

Offset: 0x4, 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
MAJREV
r
MINREV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ERR_CODE
rw
FRAME_NR
r
Toggle Fields

FRAME_NR

Bits 0-10: Frame number. This contains the frame number of the last successfully received SOF. In case no SOF was received by the device at the beginning of a frame, the frame number returned is that of the last successfully received SOF. In case the SOF frame number contained a CRC error, the frame number returned will be the corrupted frame number as received by the device..

ERR_CODE

Bits 11-14: The error code which last occurred:.

Allowed values:
0: NO_ERROR: No error
0x1: PID_ENCODING_ERROR: PID encoding error
0x2: PID_UNKNOWN: PID unknown
0x3: PACKET_UNEXPECTED: Packet unexpected
0x4: TOKEN_CRC_ERROR: Token CRC error
0x5: DATA_CRC_ERROR: Data CRC error
0x6: TIMEOUT: Time out
0x7: BABBLE: Babble
0x8: TRUNCATED_EOP: Truncated EOP
0x9: SENT_RECEIVED_NAK: Sent/Received NAK
0xA: SENT_STALL: Sent Stall
0xB: OVERRUN: Overrun
0xC: SENT_EMPTY_PACKET: Sent empty packet
0xD: BITSTUFF_ERROR: Bitstuff error
0xE: SYNC_ERROR: Sync error
0xF: WRONG_DATA_TOGGLE: Wrong data toggle

MINREV

Bits 16-23: Minor Revision..

MAJREV

Bits 24-31: Major Revision..

EPLISTSTART

USB EP Command/Status List start address

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
EP_LIST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EP_LIST
rw
Toggle Fields

EP_LIST

Bits 8-31: Start address of the USB EP Command/Status List..

DATABUFSTART

USB Data buffer start address

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
DA_BUF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

DA_BUF

Bits 22-31: Start address of the buffer pointer page where all endpoint data buffers are located..

LPM

USB Link Power Management register

Offset: 0x10, 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
DATA_PENDING
rw
HIRD_SW
rw
HIRD_HW
r
Toggle Fields

HIRD_HW

Bits 0-3: Host Initiated Resume Duration - HW. This is the HIRD value from the last received LPM token.

HIRD_SW

Bits 4-7: Host Initiated Resume Duration - SW. This is the time duration required by the USB device system to come out of LPM initiated suspend after receiving the host initiated LPM resume..

DATA_PENDING

Bit 8: As long as this bit is set to one and LPM supported bit is set to one, HW will return a NYET handshake on every LPM token it receives. If LPM supported bit is set to one and this bit is zero, HW will return an ACK handshake on every LPM token it receives. If SW has still data pending and LPM is supported, it must set this bit to 1..

EPSKIP

USB Endpoint skip

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
SKIP
rw
Toggle Fields

SKIP

Bits 0-9: Endpoint skip: Writing 1 to one of these bits, will indicate to HW that it must deactivate the buffer assigned to this endpoint and return control back to software. When HW has deactivated the endpoint, it will clear this bit, but it will not modify the EPINUSE bit. An interrupt will be generated when the Active bit goes from 1 to 0. Note: In case of double-buffering, HW will only clear the Active bit of the buffer indicated by the EPINUSE bit..

EPINUSE

USB Endpoint Buffer in use

Offset: 0x18, 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
BUF
rw
Toggle Fields

BUF

Bits 2-9: Buffer in use: This register has one bit per physical endpoint. 0: HW is accessing buffer 0. 1: HW is accessing buffer 1..

EPBUFCFG

USB Endpoint Buffer Configuration 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
BUF_SB
rw
Toggle Fields

BUF_SB

Bits 2-9: Buffer usage: This register has one bit per physical endpoint. 0: Single-buffer. 1: Double-buffer. If the bit is set to single-buffer (0), it will not toggle the corresponding EPINUSE bit when it clears the active bit. If the bit is set to double-buffer (1), HW will toggle the EPINUSE bit when it clears the Active bit for the buffer..

INTSTAT

USB interrupt status register

Offset: 0x20, reset: 0, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DEV_INT
rw
FRAME_INT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EP4IN
rw
EP4OUT
rw
EP3IN
rw
EP3OUT
rw
EP2IN
rw
EP2OUT
rw
EP1IN
rw
EP1OUT
rw
EP0IN
rw
EP0OUT
rw
Toggle Fields

EP0OUT

Bit 0: Interrupt status register bit for the Control EP0 OUT direction. This bit will be set if NBytes transitions to zero or the skip bit is set by software or a SETUP packet is successfully received for the control EP0. If the IntOnNAK_CO is set, this bit will also be set when a NAK is transmitted for the Control EP0 OUT direction. Software can clear this bit by writing a one to it..

EP0IN

Bit 1: Interrupt status register bit for the Control EP0 IN direction. This bit will be set if NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_CI is set, this bit will also be set when a NAK is transmitted for the Control EP0 IN direction. Software can clear this bit by writing a one to it..

EP1OUT

Bit 2: Interrupt status register bit for the EP1 OUT direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AO is set, this bit will also be set when a NAK is transmitted for the EP1 OUT direction. Software can clear this bit by writing a one to it..

EP1IN

Bit 3: Interrupt status register bit for the EP1 IN direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AI is set, this bit will also be set when a NAK is transmitted for the EP1 IN direction. Software can clear this bit by writing a one to it..

EP2OUT

Bit 4: Interrupt status register bit for the EP2 OUT direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AO is set, this bit will also be set when a NAK is transmitted for the EP2 OUT direction. Software can clear this bit by writing a one to it..

EP2IN

Bit 5: Interrupt status register bit for the EP2 IN direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AI is set, this bit will also be set when a NAK is transmitted for the EP2 IN direction. Software can clear this bit by writing a one to it..

EP3OUT

Bit 6: Interrupt status register bit for the EP3 OUT direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AO is set, this bit will also be set when a NAK is transmitted for the EP3 OUT direction. Software can clear this bit by writing a one to it..

EP3IN

Bit 7: Interrupt status register bit for the EP3 IN direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AI is set, this bit will also be set when a NAK is transmitted for the EP3 IN direction. Software can clear this bit by writing a one to it..

EP4OUT

Bit 8: Interrupt status register bit for the EP4 OUT direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AO is set, this bit will also be set when a NAK is transmitted for the EP4 OUT direction. Software can clear this bit by writing a one to it..

EP4IN

Bit 9: Interrupt status register bit for the EP4 IN direction. This bit will be set if the corresponding Active bit is cleared by HW. This is done in case the programmed NBytes transitions to zero or the skip bit is set by software. If the IntOnNAK_AI is set, this bit will also be set when a NAK is transmitted for the EP4 IN direction. Software can clear this bit by writing a one to it..

FRAME_INT

Bit 30: Frame interrupt. This bit is set to one every millisecond when the VbusDebounced bit and the DCON bit are set. This bit can be used by software when handling isochronous endpoints. Software can clear this bit by writing a one to it..

DEV_INT

Bit 31: Device status interrupt. This bit is set by HW when one of the bits in the Device Status Change register are set. Software can clear this bit by writing a one to it..

INTEN

USB interrupt enable register

Offset: 0x24, 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
DEV_INT_EN
rw
FRAME_INT_EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EP_INT_EN
rw
Toggle Fields

EP_INT_EN

Bits 0-9: If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line indicated by the corresponding USB interrupt routing bit..

FRAME_INT_EN

Bit 30: If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line indicated by the corresponding USB interrupt routing bit..

DEV_INT_EN

Bit 31: If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line indicated by the corresponding USB interrupt routing bit..

INTSETSTAT

USB set interrupt status register

Offset: 0x28, 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
DEV_SET_INT
rw
FRAME_SET_INT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EP_SET_INT
rw
Toggle Fields

EP_SET_INT

Bits 0-9: If software writes a one to one of these bits, the corresponding USB interrupt status bit is set. When this register is read, the same value as the USB interrupt status register is returned..

FRAME_SET_INT

Bit 30: If software writes a one to one of these bits, the corresponding USB interrupt status bit is set. When this register is read, the same value as the USB interrupt status register is returned..

DEV_SET_INT

Bit 31: If software writes a one to one of these bits, the corresponding USB interrupt status bit is set. When this register is read, the same value as the USB interrupt status register is returned..

EPTOGGLE

USB Endpoint toggle register

Offset: 0x34, 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
TOGGLE
rw
Toggle Fields

TOGGLE

Bits 0-9: Endpoint data toggle: This field indicates the current value of the data toggle for the corresponding endpoint..

USBFSH

0x400a2000: LPC5460x USB0 Full-speed Host controller

1/86 fields covered. Toggle Registers

Show register map

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 HCREVISION
0x4 HCCONTROL
0x8 HCCOMMANDSTATUS
0xc HCINTERRUPTSTATUS
0x10 HCINTERRUPTENABLE
0x14 HCINTERRUPTDISABLE
0x18 HCHCCA
0x1c HCPERIODCURRENTED
0x20 HCCONTROLHEADED
0x24 HCCONTROLCURRENTED
0x28 HCBULKHEADED
0x2c HCBULKCURRENTED
0x30 HCDONEHEAD
0x34 HCFMINTERVAL
0x38 HCFMREMAINING
0x3c HCFMNUMBER
0x40 HCPERIODICSTART
0x44 HCLSTHRESHOLD
0x48 HCRHDESCRIPTORA
0x4c HCRHDESCRIPTORB
0x50 HCRHSTATUS
0x54 HCRHPORTSTATUS
0x5c PORTMODE

HCREVISION

BCD representation of the version of the HCI specification that is implemented by the Host Controller (HC)

Offset: 0x0, reset: 0x10, 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
REV
r
Toggle Fields

REV

Bits 0-7: Revision..

HCCONTROL

Defines the operating modes of the HC

Offset: 0x4, reset: 0, access: read-write

0/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
RWE
rw
RWC
rw
IR
rw
HCFS
rw
BLE
rw
CLE
rw
IE
rw
PLE
rw
CBSR
rw
Toggle Fields

CBSR

Bits 0-1: ControlBulkServiceRatio..

PLE

Bit 2: PeriodicListEnable..

IE

Bit 3: IsochronousEnable..

CLE

Bit 4: ControlListEnable..

BLE

Bit 5: BulkListEnable This bit is set to enable the processing of the Bulk list in the next Frame..

HCFS

Bits 6-7: HostControllerFunctionalState for USB 00b: USBRESET 01b: USBRESUME 10b: USBOPERATIONAL 11b: USBSUSPEND A transition to USBOPERATIONAL from another state causes SOFgeneration to begin 1 ms later..

IR

Bit 8: InterruptRouting This bit determines the routing of interrupts generated by events registered in HcInterruptStatus..

RWC

Bit 9: RemoteWakeupConnected This bit indicates whether HC supports remote wake-up signaling..

RWE

Bit 10: RemoteWakeupEnable This bit is used by HCD to enable or disable the remote wake-up feature upon the detection of upstream resume signaling..

HCCOMMANDSTATUS

This register is used to receive the commands from the Host Controller Driver (HCD)

Offset: 0x8, 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
SOC
rw
OCR
rw
BLF
rw
CLF
rw
HCR
rw
Toggle Fields

HCR

Bit 0: HostControllerReset This bit is set by HCD to initiate a software reset of HC..

CLF

Bit 1: ControlListFilled This bit is used to indicate whether there are any TDs on the Control list..

BLF

Bit 2: BulkListFilled This bit is used to indicate whether there are any TDs on the Bulk list..

OCR

Bit 3: OwnershipChangeRequest This bit is set by an OS HCD to request a change of control of the HC..

SOC

Bits 6-7: SchedulingOverrunCount These bits are incremented on each scheduling overrun error..

HCINTERRUPTSTATUS

Indicates the status on various events that cause hardware interrupts by setting the appropriate bits

Offset: 0xc, reset: 0, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC
rw
RHSC
rw
FNO
rw
UE
rw
RD
rw
SF
rw
WDH
rw
SO
rw
Toggle Fields

SO

Bit 0: SchedulingOverrun This bit is set when the USB schedule for the current Frame overruns and after the update of HccaFrameNumber..

WDH

Bit 1: WritebackDoneHead This bit is set immediately after HC has written HcDoneHead to HccaDoneHead..

SF

Bit 2: StartofFrame This bit is set by HC at each start of a frame and after the update of HccaFrameNumber..

RD

Bit 3: ResumeDetected This bit is set when HC detects that a device on the USB is asserting resume signaling..

UE

Bit 4: UnrecoverableError This bit is set when HC detects a system error not related to USB..

FNO

Bit 5: FrameNumberOverflow This bit is set when the MSb of HcFmNumber (bit 15) changes value, from 0 to 1 or from 1 to 0, and after HccaFrameNumber has been updated..

RHSC

Bit 6: RootHubStatusChange This bit is set when the content of HcRhStatus or the content of any of HcRhPortStatus[NumberofDownstreamPort] has changed..

OC

Bits 10-31: OwnershipChange This bit is set by HC when HCD sets the OwnershipChangeRequest field in HcCommandStatus..

HCINTERRUPTENABLE

Controls the bits in the HcInterruptStatus register and indicates which events will generate a hardware interrupt

Offset: 0x10, reset: 0, access: read-write

0/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MIE
rw
OC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RHSC
rw
FNO
rw
UE
rw
RD
rw
SF
rw
WDH
rw
SO
rw
Toggle Fields

SO

Bit 0: Scheduling Overrun interrupt..

WDH

Bit 1: HcDoneHead Writeback interrupt..

SF

Bit 2: Start of Frame interrupt..

RD

Bit 3: Resume Detect interrupt..

UE

Bit 4: Unrecoverable Error interrupt..

FNO

Bit 5: Frame Number Overflow interrupt..

RHSC

Bit 6: Root Hub Status Change interrupt..

OC

Bit 30: Ownership Change interrupt..

MIE

Bit 31: Master Interrupt Enable..

HCINTERRUPTDISABLE

The bits in this register are used to disable corresponding bits in the HCInterruptStatus register and in turn disable that event leading to hardware interrupt

Offset: 0x14, reset: 0, access: read-write

0/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MIE
rw
OC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RHSC
rw
FNO
rw
UE
rw
RD
rw
SF
rw
WDH
rw
SO
rw
Toggle Fields

SO

Bit 0: Scheduling Overrun interrupt..

WDH

Bit 1: HcDoneHead Writeback interrupt..

SF

Bit 2: Start of Frame interrupt..

RD

Bit 3: Resume Detect interrupt..

UE

Bit 4: Unrecoverable Error interrupt..

FNO

Bit 5: Frame Number Overflow interrupt..

RHSC

Bit 6: Root Hub Status Change interrupt..

OC

Bit 30: Ownership Change interrupt..

MIE

Bit 31: A 0 written to this field is ignored by HC..

HCHCCA

Contains the physical address of the host controller communication area

Offset: 0x18, 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
HCCA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HCCA
rw
Toggle Fields

HCCA

Bits 8-31: Base address of the Host Controller Communication Area..

HCPERIODCURRENTED

Contains the physical address of the current isochronous or interrupt endpoint descriptor

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
PCED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PCED
rw
Toggle Fields

PCED

Bits 4-31: The content of this register is updated by HC after a periodic ED is processed..

HCCONTROLHEADED

Contains the physical address of the first endpoint descriptor of the control list

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
CHED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CHED
rw
Toggle Fields

CHED

Bits 4-31: HC traverses the Control list starting with the HcControlHeadED pointer..

HCCONTROLCURRENTED

Contains the physical address of the current endpoint descriptor of the control list

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
CCED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCED
rw
Toggle Fields

CCED

Bits 4-31: ControlCurrentED..

HCBULKHEADED

Contains the physical address of the first endpoint descriptor of the bulk list

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
BHED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BHED
rw
Toggle Fields

BHED

Bits 4-31: BulkHeadED HC traverses the bulk list starting with the HcBulkHeadED pointer..

HCBULKCURRENTED

Contains the physical address of the current endpoint descriptor of the bulk list

Offset: 0x2c, 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
BCED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BCED
rw
Toggle Fields

BCED

Bits 4-31: BulkCurrentED This is advanced to the next ED after the HC has served the current one..

HCDONEHEAD

Contains the physical address of the last transfer descriptor added to the 'Done' queue

Offset: 0x30, 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
DH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DH
rw
Toggle Fields

DH

Bits 4-31: DoneHead When a TD is completed, HC writes the content of HcDoneHead to the NextTD field of the TD..

HCFMINTERVAL

Defines the bit time interval in a frame and the full speed maximum packet size which would not cause an overrun

Offset: 0x34, reset: 0x2EDF, access: read-write

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIT
rw
FSMPS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FI
rw
Toggle Fields

FI

Bits 0-13: FrameInterval This specifies the interval between two consecutive SOFs in bit times..

FSMPS

Bits 16-30: FSLargestDataPacket This field specifies a value which is loaded into the Largest Data Packet Counter at the beginning of each frame..

FIT

Bit 31: FrameIntervalToggle HCD toggles this bit whenever it loads a new value to FrameInterval..

HCFMREMAINING

A 14-bit counter showing the bit time remaining in the current frame

Offset: 0x38, 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
FRT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FR
rw
Toggle Fields

FR

Bits 0-13: FrameRemaining This counter is decremented at each bit time..

FRT

Bit 31: FrameRemainingToggle This bit is loaded from the FrameIntervalToggle field of HcFmInterval whenever FrameRemaining reaches 0..

HCFMNUMBER

Contains a 16-bit counter and provides the timing reference among events happening in the HC and the HCD

Offset: 0x3c, 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
FN
rw
Toggle Fields

FN

Bits 0-15: FrameNumber This is incremented when HcFmRemaining is re-loaded..

HCPERIODICSTART

Contains a programmable 14-bit value which determines the earliest time HC should start processing a periodic list

Offset: 0x40, 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
PS
rw
Toggle Fields

PS

Bits 0-13: PeriodicStart After a hardware reset, this field is cleared and then set by HCD during the HC initialization..

HCLSTHRESHOLD

Contains 11-bit value which is used by the HC to determine whether to commit to transfer a maximum of 8-byte LS packet before EOF

Offset: 0x44, reset: 0x628, 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
LST
rw
Toggle Fields

LST

Bits 0-11: LSThreshold This field contains a value which is compared to the FrameRemaining field prior to initiating a Low Speed transaction..

HCRHDESCRIPTORA

First of the two registers which describes the characteristics of the root hub

Offset: 0x48, reset: 0xFF000902, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POTPGT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NOCP
rw
OCPM
rw
DT
rw
NPS
rw
PSM
rw
NDP
rw
Toggle Fields

NDP

Bits 0-7: NumberDownstreamPorts These bits specify the number of downstream ports supported by the root hub..

PSM

Bit 8: PowerSwitchingMode This bit is used to specify how the power switching of the root hub ports is controlled..

NPS

Bit 9: NoPowerSwitching These bits are used to specify whether power switching is supported or port are always powered..

DT

Bit 10: DeviceType This bit specifies that the root hub is not a compound device..

OCPM

Bit 11: OverCurrentProtectionMode This bit describes how the overcurrent status for the root hub ports are reported..

NOCP

Bit 12: NoOverCurrentProtection This bit describes how the overcurrent status for the root hub ports are reported..

POTPGT

Bits 24-31: PowerOnToPowerGoodTime This byte specifies the duration the HCD has to wait before accessing a powered-on port of the root hub..

HCRHDESCRIPTORB

Second of the two registers which describes the characteristics of the Root Hub

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
PPCM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DR
rw
Toggle Fields

DR

Bits 0-15: DeviceRemovable Each bit is dedicated to a port of the Root Hub..

PPCM

Bits 16-31: PortPowerControlMask Each bit indicates if a port is affected by a global power control command when PowerSwitchingMode is set..

HCRHSTATUS

This register is divided into two parts

Offset: 0x50, reset: 0, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRWE
rw
OCIC
rw
LPSC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DRWE
rw
OCI
rw
LPS
rw
Toggle Fields

LPS

Bit 0: (read) LocalPowerStatus The Root Hub does not support the local power status feature; thus, this bit is always read as 0..

OCI

Bit 1: OverCurrentIndicator This bit reports overcurrent conditions when the global reporting is implemented..

DRWE

Bit 15: (read) DeviceRemoteWakeupEnable This bit enables a ConnectStatusChange bit as a resume event, causing a USBSUSPEND to USBRESUME state transition and setting the ResumeDetected interrupt..

LPSC

Bit 16: (read) LocalPowerStatusChange The root hub does not support the local power status feature..

OCIC

Bit 17: OverCurrentIndicatorChange This bit is set by hardware when a change has occurred to the OCI field of this register..

CRWE

Bit 31: (write) ClearRemoteWakeupEnable Writing a 1 clears DeviceRemoveWakeupEnable..

HCRHPORTSTATUS

Controls and reports the port events on a per-port basis

Offset: 0x54, reset: 0, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRSC
rw
OCIC
rw
PSSC
rw
PESC
rw
CSC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LSDA
rw
PPS
rw
PRS
rw
POCI
rw
PSS
rw
PES
rw
CCS
rw
Toggle Fields

CCS

Bit 0: (read) CurrentConnectStatus This bit reflects the current state of the downstream port..

PES

Bit 1: (read) PortEnableStatus This bit indicates whether the port is enabled or disabled..

PSS

Bit 2: (read) PortSuspendStatus This bit indicates the port is suspended or in the resume sequence..

POCI

Bit 3: (read) PortOverCurrentIndicator This bit is only valid when the Root Hub is configured in such a way that overcurrent conditions are reported on a per-port basis..

PRS

Bit 4: (read) PortResetStatus When this bit is set by a write to SetPortReset, port reset signaling is asserted..

PPS

Bit 8: (read) PortPowerStatus This bit reflects the porta's power status, regardless of the type of power switching implemented..

LSDA

Bit 9: (read) LowSpeedDeviceAttached This bit indicates the speed of the device attached to this port..

CSC

Bit 16: ConnectStatusChange This bit is set whenever a connect or disconnect event occurs..

PESC

Bit 17: PortEnableStatusChange This bit is set when hardware events cause the PortEnableStatus bit to be cleared..

PSSC

Bit 18: PortSuspendStatusChange This bit is set when the full resume sequence is completed..

OCIC

Bit 19: PortOverCurrentIndicatorChange This bit is valid only if overcurrent conditions are reported on a per-port basis..

PRSC

Bit 20: PortResetStatusChange This bit is set at the end of the 10 ms port reset signal..

PORTMODE

Controls the port if it is attached to the host block or the device block

Offset: 0x5c, 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
DEV_ENABLE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID_EN
rw
ID
rw
Toggle Fields

ID

Bit 0: Port ID pin value..

ID_EN

Bit 8: Port ID pin pull-up enable..

DEV_ENABLE

Bit 16: 1: device 0: host..

USBHSD

0x40094000: LPC5460x USB1 High-speed Device Controller

9/60 fields covered. Toggle Registers

Show register map

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 DEVCMDSTAT
0x4 INFO
0x8 EPLISTSTART
0xc DATABUFSTART
0x10 LPM
0x14 EPSKIP
0x18 EPINUSE
0x1c EPBUFCFG
0x20 INTSTAT
0x24 INTEN
0x28 INTSETSTAT
0x34 EPTOGGLE
0x3c ULPIDEBUG

DEVCMDSTAT

USB Device Command/Status register

Offset: 0x0, reset: 0x800, access: read-write

3/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PHY_TEST_MODE
rw
VBUS_DEBOUNCED
r
DRES_C
rw
DSUS_C
rw
DCON_C
rw
Speed
r
LPM_REWP
r
LPM_SUS
rw
DSUS
rw
DCON
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INTONNAK_CI
rw
INTONNAK_CO
rw
INTONNAK_AI
rw
INTONNAK_AO
rw
LPM_SUP
rw
FORCE_VBUS
rw
FORCE_NEEDCLK
rw
SETUP
rw
DEV_EN
rw
DEV_ADDR
rw
Toggle Fields

DEV_ADDR

Bits 0-6: USB device address..

DEV_EN

Bit 7: USB device enable..

SETUP

Bit 8: SETUP token received..

FORCE_NEEDCLK

Bit 9: Forces the NEEDCLK output to always be on:..

FORCE_VBUS

Bit 10: If this bit is set to 1, the VBUS voltage indicators from the PHY are overruled..

LPM_SUP

Bit 11: LPM Supported:..

INTONNAK_AO

Bit 12: Interrupt on NAK for interrupt and bulk OUT EP:..

INTONNAK_AI

Bit 13: Interrupt on NAK for interrupt and bulk IN EP:..

INTONNAK_CO

Bit 14: Interrupt on NAK for control OUT EP:..

INTONNAK_CI

Bit 15: Interrupt on NAK for control IN EP:..

DCON

Bit 16: Device status - connect..

DSUS

Bit 17: Device status - suspend..

LPM_SUS

Bit 19: Device status - LPM Suspend..

LPM_REWP

Bit 20: LPM Remote Wake-up Enabled by USB host..

Speed

Bits 22-23: This field indicates the speed at which the device operates: 00b: reserved 01b: full-speed 10b: high-speed 11b: super-speed (reserved for future use)..

DCON_C

Bit 24: Device status - connect change..

DSUS_C

Bit 25: Device status - suspend change..

DRES_C

Bit 26: Device status - reset change..

VBUS_DEBOUNCED

Bit 28: This bit indicates if VBUS is detected or not..

PHY_TEST_MODE

Bits 29-31: This field is written by firmware to put the PHY into a test mode as defined by the USB2..

INFO

USB Info register

Offset: 0x4, reset: 0x2000000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Majrev
r
Minrev
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ERR_CODE
r
FRAME_NR
r
Toggle Fields

FRAME_NR

Bits 0-10: Frame number..

ERR_CODE

Bits 11-14: The error code which last occurred:..

Minrev

Bits 16-23: Minor revision..

Majrev

Bits 24-31: Major revision..

EPLISTSTART

USB EP Command/Status List start address

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
EP_LIST_FIXED
r
EP_LIST_PRG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EP_LIST_PRG
rw
Toggle Fields

EP_LIST_PRG

Bits 8-19: Programmable portion of the USB EP Command/Status List address..

EP_LIST_FIXED

Bits 20-31: Fixed portion of USB EP Command/Status List address..

DATABUFSTART

USB Data buffer start address

Offset: 0xc, reset: 0x41000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DA_BUF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA_BUF
rw
Toggle Fields

DA_BUF

Bits 0-31: Start address of the memory page where all endpoint data buffers are located..

LPM

USB Link Power Management register

Offset: 0x10, 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
DATA_PENDING
rw
HIRD_SW
rw
HIRD_HW
r
Toggle Fields

HIRD_HW

Bits 0-3: Host Initiated Resume Duration - HW..

HIRD_SW

Bits 4-7: Host Initiated Resume Duration - SW..

DATA_PENDING

Bit 8: As long as this bit is set to one and LPM supported bit is set to one, HW will return a NYET handshake on every LPM token it receives..

EPSKIP

USB Endpoint skip

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
SKIP
rw
Toggle Fields

SKIP

Bits 0-11: Endpoint skip: Writing 1 to one of these bits, will indicate to HW that it must deactivate the buffer assigned to this endpoint and return control back to software..

EPINUSE

USB Endpoint Buffer in use

Offset: 0x18, 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
BUF
rw
Toggle Fields

BUF

Bits 2-11: Buffer in use: This register has one bit per physical endpoint..

EPBUFCFG

USB Endpoint Buffer Configuration 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
BUF_SB
rw
Toggle Fields

BUF_SB

Bits 2-11: Buffer usage: This register has one bit per physical endpoint..

INTSTAT

USB interrupt status register

Offset: 0x20, reset: 0, access: read-write

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DEV_INT
rw
FRAME_INT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EP5IN
rw
EP5OUT
rw
EP4IN
rw
EP4OUT
rw
EP3IN
rw
EP3OUT
rw
EP2IN
rw
EP2OUT
rw
EP1IN
rw
EP1OUT
rw
EP0IN
rw
EP0OUT
rw
Toggle Fields

EP0OUT

Bit 0: Interrupt status register bit for the Control EP0 OUT direction..

EP0IN

Bit 1: Interrupt status register bit for the Control EP0 IN direction..

EP1OUT

Bit 2: Interrupt status register bit for the EP1 OUT direction..

EP1IN

Bit 3: Interrupt status register bit for the EP1 IN direction..

EP2OUT

Bit 4: Interrupt status register bit for the EP2 OUT direction..

EP2IN

Bit 5: Interrupt status register bit for the EP2 IN direction..

EP3OUT

Bit 6: Interrupt status register bit for the EP3 OUT direction..

EP3IN

Bit 7: Interrupt status register bit for the EP3 IN direction..

EP4OUT

Bit 8: Interrupt status register bit for the EP4 OUT direction..

EP4IN

Bit 9: Interrupt status register bit for the EP4 IN direction..

EP5OUT

Bit 10: Interrupt status register bit for the EP5 OUT direction..

EP5IN

Bit 11: Interrupt status register bit for the EP5 IN direction..

FRAME_INT

Bit 30: Frame interrupt..

DEV_INT

Bit 31: Device status interrupt..

INTEN

USB interrupt enable register

Offset: 0x24, 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
DEV_INT_EN
rw
FRAME_INT_EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EP_INT_EN
rw
Toggle Fields

EP_INT_EN

Bits 0-11: If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line..

FRAME_INT_EN

Bit 30: If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line..

DEV_INT_EN

Bit 31: If this bit is set and the corresponding USB interrupt status bit is set, a HW interrupt is generated on the interrupt line..

INTSETSTAT

USB set interrupt status register

Offset: 0x28, 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
DEV_SET_INT
rw
FRAME_SET_INT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EP_SET_INT
rw
Toggle Fields

EP_SET_INT

Bits 0-11: If software writes a one to one of these bits, the corresponding USB interrupt status bit is set..

FRAME_SET_INT

Bit 30: If software writes a one to one of these bits, the corresponding USB interrupt status bit is set..

DEV_SET_INT

Bit 31: If software writes a one to one of these bits, the corresponding USB interrupt status bit is set..

EPTOGGLE

USB Endpoint toggle register

Offset: 0x34, 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
TOGGLE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOGGLE
rw
Toggle Fields

TOGGLE

Bits 0-29: Endpoint data toggle: This field indicates the current value of the data toggle for the corresponding endpoint..

ULPIDEBUG

UTMI/ULPI debug register

Offset: 0x3c, reset: 0, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PHY_MODE
rw
PHY_ACCESS
rw
PHY_RW
rw
PHY_RDATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PHY_WDATA
rw
PHY_ADDR
rw
Toggle Fields

PHY_ADDR

Bits 0-7: ULPI mode: Bits 7:0 are used as the address when doing a register access over the ULPI interface..

PHY_WDATA

Bits 8-15: UTMI+ mode: Reserved..

PHY_RDATA

Bits 16-23: UTMI+ mode: Bits 7:0 contains the value returned by the VStatus signal on Vendor Interface of UTMI+..

PHY_RW

Bit 24: UTMI+ mode: Reserved..

PHY_ACCESS

Bit 25: Software writes this bit to one to start a read or write operation..

PHY_MODE

Bit 31: This bit indicates if the interface between the controller is UTMI+ or ULPI..

USBHSH

0x400a3000: LPC5460x USB1 High-speed Host Controller

7/74 fields covered. Toggle Registers

Show register map

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 CAPLENGTH_CHIPID
0x4 HCSPARAMS
0x8 HCCPARAMS
0xc FLADJ_FRINDEX
0x10 ATL_PTD_BASE_ADDR
0x14 ISO_PTD_BASE_ADDR
0x18 INT_PTD_BASE_ADDR
0x1c DATA_PAYLOAD_BASE_ADDR
0x20 USBCMD
0x24 USBSTS
0x28 USBINTR
0x2c PORTSC1
0x30 ATL_PTD_DONE_MAP
0x34 ATL_PTD_SKIP_MAP
0x38 ISO_PTD_DONE_MAP
0x3c ISO_PTD_SKIP_MAP
0x40 INT_PTD_DONE_MAP
0x44 INT_PTD_SKIP_MAP
0x48 LAST_PTD_INUSE
0x4c UTMIPLUS_ULPI_DEBUG
0x50 PORTMODE

CAPLENGTH_CHIPID

This register contains the offset value towards the start of the operational register space and the version number of the IP block

Offset: 0x0, reset: 0x1010010, access: read-only

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CHIPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAPLENGTH
r
Toggle Fields

CAPLENGTH

Bits 0-7: Capability Length: This is used as an offset..

CHIPID

Bits 16-31: Chip identification: indicates major and minor revision of the IP: [31:24] = Major revision [23:16] = Minor revision Major revisions used: 0x01: USB2..

HCSPARAMS

Host Controller Structural Parameters

Offset: 0x4, reset: 0x10011, access: read-only

3/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
P_INDICATOR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PPC
r
N_PORTS
r
Toggle Fields

N_PORTS

Bits 0-3: This register specifies the number of physical downstream ports implemented on this host controller..

PPC

Bit 4: This field indicates whether the host controller implementation includes port power control..

P_INDICATOR

Bit 16: This bit indicates whether the ports support port indicator control..

HCCPARAMS

Host Controller Capability Parameters

Offset: 0x8, reset: 0x20006, access: read-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPMC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

LPMC

Bit 17: Link Power Management Capability..

FLADJ_FRINDEX

Frame Length Adjustment

Offset: 0xc, reset: 0x20, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FRINDEX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLADJ
rw
Toggle Fields

FLADJ

Bits 0-5: Frame Length Timing Value..

FRINDEX

Bits 16-29: Frame Index: Bits 29 to16 in this register are used for the frame number field in the SOF packet..

ATL_PTD_BASE_ADDR

Memory base address where ATL PTD0 is stored

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
ATL_BASE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ATL_BASE
rw
ATL_CUR
rw
Toggle Fields

ATL_CUR

Bits 4-8: This indicates the current PTD that is used by the hardware when it is processing the ATL list..

ATL_BASE

Bits 9-31: Base address to be used by the hardware to find the start of the ATL list..

ISO_PTD_BASE_ADDR

Memory base address where ISO PTD0 is stored

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
ISO_BASE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ISO_BASE
rw
ISO_FIRST
rw
Toggle Fields

ISO_FIRST

Bits 5-9: This indicates the first PTD that is used by the hardware when it is processing the ISO list..

ISO_BASE

Bits 10-31: Base address to be used by the hardware to find the start of the ISO list..

INT_PTD_BASE_ADDR

Memory base address where INT PTD0 is stored

Offset: 0x18, 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
INT_BASE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INT_BASE
rw
INT_FIRST
rw
Toggle Fields

INT_FIRST

Bits 5-9: This indicates the first PTD that is used by the hardware when it is processing the INT list..

INT_BASE

Bits 10-31: Base address to be used by the hardware to find the start of the INT list..

DATA_PAYLOAD_BASE_ADDR

Memory base address that indicates the start of the data payload buffers

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
DAT_BASE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle Fields

DAT_BASE

Bits 16-31: Base address to be used by the hardware to find the start of the data payload section..

USBCMD

USB Command register

Offset: 0x20, reset: 0, access: read-write

0/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPM_RWU
rw
HIRD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INT_EN
rw
ISO_EN
rw
ATL_EN
rw
LHCR
rw
FLS
rw
HCRESET
rw
RS
rw
Toggle Fields

RS

Bit 0: Run/Stop: 1b = Run..

HCRESET

Bit 1: Host Controller Reset: This control bit is used by the software to reset the host controller..

FLS

Bits 2-3: Frame List Size: This field specifies the size of the frame list..

LHCR

Bit 7: Light Host Controller Reset: This bit allows the driver software to reset the host controller without affecting the state of the ports..

ATL_EN

Bit 8: ATL List enabled..

ISO_EN

Bit 9: ISO List enabled..

INT_EN

Bit 10: INT List enabled..

HIRD

Bits 24-27: Host-Initiated Resume Duration..

LPM_RWU

Bit 28: bRemoteWake field..

USBSTS

USB Interrupt Status register

Offset: 0x24, reset: 0, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOF_IRQ
rw
INT_IRQ
rw
ISO_IRQ
rw
ATL_IRQ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLR
rw
PCD
rw
Toggle Fields

PCD

Bit 2: Port Change Detect: The host controller sets this bit to logic 1 when any port has a change bit transition from a 0 to a one or a Force Port Resume bit transition from a 0 to a 1 as a result of a J-K transition detected on a suspended port..

FLR

Bit 3: Frame List Rollover: The host controller sets this bit to logic 1 when the frame list index rolls over its maximum value to 0..

ATL_IRQ

Bit 16: ATL IRQ: Indicates that an ATL PTD (with I-bit set) was completed..

ISO_IRQ

Bit 17: ISO IRQ: Indicates that an ISO PTD (with I-bit set) was completed..

INT_IRQ

Bit 18: INT IRQ: Indicates that an INT PTD (with I-bit set) was completed..

SOF_IRQ

Bit 19: SOF interrupt: Every time when the host sends a Start of Frame token on the USB bus, this bit is set..

USBINTR

USB Interrupt Enable register

Offset: 0x28, reset: 0, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SOF_E
rw
INT_IRQ_E
rw
ISO_IRQ_E
rw
ATL_IRQ_E
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLRE
rw
PCDE
rw
Toggle Fields

PCDE

Bit 2: Port Change Detect Interrupt Enable: 1: enable 0: disable..

FLRE

Bit 3: Frame List Rollover Interrupt Enable: 1: enable 0: disable..

ATL_IRQ_E

Bit 16: ATL IRQ Enable bit: 1: enable 0: disable..

ISO_IRQ_E

Bit 17: ISO IRQ Enable bit: 1: enable 0: disable..

INT_IRQ_E

Bit 18: INT IRQ Enable bit: 1: enable 0: disable..

SOF_E

Bit 19: SOF Interrupt Enable bit: 1: enable 0: disable..

PORTSC1

Port Status and Control register

Offset: 0x2c, reset: 0, access: read-write

1/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DEV_ADD
rw
SUS_STAT
rw
WOO
rw
PSPD
rw
PTC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PIC
rw
PP
rw
LS
r
SUS_L1
rw
PR
rw
SUSP
rw
FPR
rw
OCC
rw
OCA
rw
PEDC
rw
PED
rw
CSC
rw
CCS
rw
Toggle Fields

CCS

Bit 0: Current Connect Status: Logic 1 indicates a device is present on the port..

CSC

Bit 1: Connect Status Change: Logic 1 means that the value of CCS has changed..

PED

Bit 2: Port Enabled/Disabled..

PEDC

Bit 3: Port Enabled/Disabled Change: Logic 1 means that the value of PED has changed..

OCA

Bit 4: Over-current active: Logic 1 means that this port has an over-current condition..

OCC

Bit 5: Over-current change: Logic 1 means that the value of OCA has changed..

FPR

Bit 6: Force Port Resume: Logic 1 means resume (K-state) detected or driven on the port..

SUSP

Bit 7: Suspend: Logic 1 means port is in the suspend state..

PR

Bit 8: Port Reset: Logic 1 means the port is in the reset state..

SUS_L1

Bit 9: Suspend using L1 0b = Suspend using L2 1b = Suspend using L1 When this bit is set to a 1 and a non-zero value is specified in the Device Address field, the host controller will generate an LPM Token to enter the L1 state whenever software writes a one to the Suspend bit, as well as L1 exit timing during any device or host-initiated resume..

LS

Bits 10-11: Line Status: This field reflects the current logical levels of the DP (bit 11) and DM (bit 10) signal lines..

PP

Bit 12: Port Power: The function of this bit depends on the value of the Port Power Control (PPC) bit in the HCSPARAMS register..

PIC

Bits 14-15: Port Indicator Control : Writing to this field has no effect if the P_INDICATOR bit in the HCSPARAMS register is logic 0..

PTC

Bits 16-19: Port Test Control: A non-zero value indicates that the port is operating in the test mode as indicated by the value..

PSPD

Bits 20-21: Port Speed: 00b: Low-speed 01b: Full-speed 10b: High-speed 11b: Reserved..

WOO

Bit 22: Wake on overcurrent enable: Writing this bit to a one enables the port to be sensitive to overcurrent conditions as wake-up events..

SUS_STAT

Bits 23-24: These two bits are used by software to determine whether the most recent L1 suspend request was successful: 00b: Success-state transition was successful (ACK) 01b: Not Yet - Device was unable to enter the L1 state at this time (NYET) 10b: Not supported - Device does not support the L1 state (STALL) 11b: Timeout/Error - Device failed to respond or an error occurred..

DEV_ADD

Bits 25-31: Device Address for LPM tokens..

ATL_PTD_DONE_MAP

Done map for each ATL PTD

Offset: 0x30, 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
ATL_DONE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ATL_DONE
rw
Toggle Fields

ATL_DONE

Bits 0-31: The bit corresponding to a certain PTD will be set to logic 1 as soon as that PTD execution is completed..

ATL_PTD_SKIP_MAP

Skip map for each ATL PTD

Offset: 0x34, 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
ATL_SKIP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ATL_SKIP
rw
Toggle Fields

ATL_SKIP

Bits 0-31: When a bit in the PTD Skip Map is set to logic 1, the corresponding PTD will be skipped, independent of the V bit setting..

ISO_PTD_DONE_MAP

Done map for each ISO PTD

Offset: 0x38, 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
ISO_DONE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ISO_DONE
rw
Toggle Fields

ISO_DONE

Bits 0-31: The bit corresponding to a certain PTD will be set to logic 1 as soon as that PTD execution is completed..

ISO_PTD_SKIP_MAP

Skip map for each ISO PTD

Offset: 0x3c, 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
ISO_SKIP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ISO_SKIP
rw
Toggle Fields

ISO_SKIP

Bits 0-31: The bit corresponding to a certain PTD will be set to logic 1 as soon as that PTD execution is completed..

INT_PTD_DONE_MAP

Done map for each INT PTD

Offset: 0x40, 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
INT_DONE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INT_DONE
rw
Toggle Fields

INT_DONE

Bits 0-31: The bit corresponding to a certain PTD will be set to logic 1 as soon as that PTD execution is completed..

INT_PTD_SKIP_MAP

Skip map for each INT PTD

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
INT_SKIP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INT_SKIP
rw
Toggle Fields

INT_SKIP

Bits 0-31: When a bit in the PTD Skip Map is set to logic 1, the corresponding PTD will be skipped, independent of the V bit setting..

LAST_PTD_INUSE

Marks the last PTD in the list for ISO, INT and ATL

Offset: 0x48, 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
INT_LAST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ISO_LAST
rw
ATL_LAST
rw
Toggle Fields

ATL_LAST

Bits 0-4: If hardware has reached this PTD and the J bit is not set, it will go to PTD0 as the next PTD to be processed..

ISO_LAST

Bits 8-12: This indicates the last PTD in the ISO list..

INT_LAST

Bits 16-20: This indicates the last PTD in the INT list..

UTMIPLUS_ULPI_DEBUG

Register to read/write registers in the attached USB PHY

Offset: 0x4c, reset: 0, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PHY_MODE
rw
PHY_ACCESS
rw
PHY_RW
rw
PHY_RDATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PHY_WDATA
rw
PHY_ADDR
rw
Toggle Fields

PHY_ADDR

Bits 0-7: UTMI+ mode: Bits 3:0 are used to control VControl signal on Vendor Interface of UTMI+ ULPI mode: Bits 7:0 are used as the address when doing a register access over the ULPI interface..

PHY_WDATA

Bits 8-15: UTMI+ mode: Reserved..

PHY_RDATA

Bits 16-23: UTMI+ mode: Bits 7:0 contains the value returned by the VStatus signal on Vendor Interface of UTMI+ ULPI mode: Bits 7:0 are used for the read data when reading a value to a ULPI PHY register..

PHY_RW

Bit 24: UTMI+ mode: Reserved..

PHY_ACCESS

Bit 25: Software writes this bit to one to start a read or write operation..

PHY_MODE

Bit 31: This bit indicates if the interface between the controller is UTMI+ or ULPI 0b: UTMI+ 1b: ULPI If the hardware supports both modes, this bit is RW by SW..

PORTMODE

Controls the port if it is attached to the host block or the device block

Offset: 0x50, reset: 0x40000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SW_PDCOM
rw
SW_CTRL_PDCOM
rw
DEV_ENABLE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID0_EN
rw
ID0
rw
Toggle Fields

ID0

Bit 0: Port 0 ID pin value..

ID0_EN

Bit 8: Port 0 ID pin pull-up enable..

DEV_ENABLE

Bit 16: If this bit is set to one, one of the ports will behave as a USB device..

SW_CTRL_PDCOM

Bit 18: This bit indicates if the PHY power-down input is controlled by software or by hardware..

SW_PDCOM

Bit 19: This bit is only used when SW_CTRL_PDCOM is set to 1b..

UTICK0

0x4000e000: LPC5411x Micro-tick Timer (UTICK)

8/24 fields covered. Toggle Registers

Show register map

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 STAT
0x8 CFG
0xc CAPCLR
0x10 CAP[[0]]
0x14 CAP[[1]]
0x18 CAP[[2]]
0x1c CAP[[3]]

CTRL

Control 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
REPEAT
rw
DELAYVAL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DELAYVAL
rw
Toggle Fields

DELAYVAL

Bits 0-30: Tick interval value. The delay will be equal to DELAYVAL + 1 periods of the timer clock. The minimum usable value is 1, for a delay of 2 timer clocks. A value of 0 stops the timer..

REPEAT

Bit 31: Repeat delay. 0 = One-time delay. 1 = Delay repeats continuously..

STAT

Status register.

Offset: 0x4, 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
ACTIVE
rw
INTR
rw
Toggle Fields

INTR

Bit 0: Interrupt flag. 0 = No interrupt is pending. 1 = An interrupt is pending. A write of any value to this register clears this flag..

ACTIVE

Bit 1: Active flag. 0 = The Micro-Tick Timer is stopped. 1 = The Micro-Tick Timer is currently active..

CFG

Capture configuration register.

Offset: 0x8, reset: 0, access: read-write

0/8 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
CAPPOL3
rw
CAPPOL2
rw
CAPPOL1
rw
CAPPOL0
rw
CAPEN3
rw
CAPEN2
rw
CAPEN1
rw
CAPEN0
rw
Toggle Fields

CAPEN0

Bit 0: Enable Capture 0. 1 = Enabled, 0 = Disabled..

CAPEN1

Bit 1: Enable Capture 1. 1 = Enabled, 0 = Disabled..

CAPEN2

Bit 2: Enable Capture 2. 1 = Enabled, 0 = Disabled..

CAPEN3

Bit 3: Enable Capture 3. 1 = Enabled, 0 = Disabled..

CAPPOL0

Bit 8: Capture Polarity 0. 0 = Positive edge capture, 1 = Negative edge capture..

CAPPOL1

Bit 9: Capture Polarity 1. 0 = Positive edge capture, 1 = Negative edge capture..

CAPPOL2

Bit 10: Capture Polarity 2. 0 = Positive edge capture, 1 = Negative edge capture..

CAPPOL3

Bit 11: Capture Polarity 3. 0 = Positive edge capture, 1 = Negative edge capture..

CAPCLR

Capture clear register.

Offset: 0xc, reset: 0, access: write-only

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
CAPCLR3
w
CAPCLR2
w
CAPCLR1
w
CAPCLR0
w
Toggle Fields

CAPCLR0

Bit 0: Clear capture 0. Writing 1 to this bit clears the CAP0 register value..

CAPCLR1

Bit 1: Clear capture 1. Writing 1 to this bit clears the CAP1 register value..

CAPCLR2

Bit 2: Clear capture 2. Writing 1 to this bit clears the CAP2 register value..

CAPCLR3

Bit 3: Clear capture 3. Writing 1 to this bit clears the CAP3 register value..

CAP[[0]]

Capture register .

Offset: 0x10, reset: 0, access: read-only

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
VALID
r
CAP_VALUE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP_VALUE
r
Toggle Fields

CAP_VALUE

Bits 0-30: Capture value for the related capture event (UTICK_CAPn. Note: the value is 1 lower than the actual value of the Micro-tick Timer at the moment of the capture event..

VALID

Bit 31: Capture Valid. When 1, a value has been captured based on a transition of the related UTICK_CAPn pin. Cleared by writing to the related bit in the CAPCLR register..

CAP[[1]]

Capture register .

Offset: 0x14, reset: 0, access: read-only

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
VALID
r
CAP_VALUE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP_VALUE
r
Toggle Fields

CAP_VALUE

Bits 0-30: Capture value for the related capture event (UTICK_CAPn. Note: the value is 1 lower than the actual value of the Micro-tick Timer at the moment of the capture event..

VALID

Bit 31: Capture Valid. When 1, a value has been captured based on a transition of the related UTICK_CAPn pin. Cleared by writing to the related bit in the CAPCLR register..

CAP[[2]]

Capture register .

Offset: 0x18, reset: 0, access: read-only

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
VALID
r
CAP_VALUE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP_VALUE
r
Toggle Fields

CAP_VALUE

Bits 0-30: Capture value for the related capture event (UTICK_CAPn. Note: the value is 1 lower than the actual value of the Micro-tick Timer at the moment of the capture event..

VALID

Bit 31: Capture Valid. When 1, a value has been captured based on a transition of the related UTICK_CAPn pin. Cleared by writing to the related bit in the CAPCLR register..

CAP[[3]]

Capture register .

Offset: 0x1c, reset: 0, access: read-only

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
VALID
r
CAP_VALUE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAP_VALUE
r
Toggle Fields

CAP_VALUE

Bits 0-30: Capture value for the related capture event (UTICK_CAPn. Note: the value is 1 lower than the actual value of the Micro-tick Timer at the moment of the capture event..

VALID

Bit 31: Capture Valid. When 1, a value has been captured based on a transition of the related UTICK_CAPn pin. Cleared by writing to the related bit in the CAPCLR register..

WWDT

0x4000c000: LPC5411x Windowed Watchdog Timer (WWDT)

4/11 fields covered. Toggle Registers

Show register map

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

MOD

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.

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
rw
WDPROTECT
rw
WDINT
rw
WDTOF
rw
WDRESET
rw
WDEN
rw
Toggle Fields

WDEN

Bit 0: Watchdog enable bit. Once this bit is set to one and a watchdog feed is performed, the watchdog timer will run permanently..

Allowed values:
0: STOP: Stop. The watchdog timer is stopped.
0x1: RUN: Run. The watchdog timer is running.

WDRESET

Bit 1: Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be re-written with a 0..

Allowed values:
0: INTERRUPT: Interrupt. A watchdog time-out will not cause a chip reset.
0x1: RESET: Reset. A watchdog time-out will cause a chip reset.

WDTOF

Bit 2: Watchdog time-out flag. Set when the watchdog timer times out, by a feed error, or by events associated with WDPROTECT. Cleared by software writing a 0 to this bit position. Causes a chip reset if WDRESET = 1..

WDINT

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..

WDPROTECT

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.

LOCK

Bit 5: Once this bit is set to one and a watchdog feed is performed, disabling or powering down the watchdog oscillator is prevented by hardware. This bit can be set once by software and is only cleared by any reset..

TC

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
Toggle Fields

COUNT

Bits 0-23: Watchdog time-out value..

FEED

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
Toggle Fields

FEED

Bits 0-7: Feed value should be 0xAA followed by 0x55..

TV

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
Toggle Fields

COUNT

Bits 0-23: Counter timer value..

WARNINT

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
Toggle Fields

WARNINT

Bits 0-9: Watchdog warning interrupt compare value..

WINDOW

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
Toggle Fields

WINDOW

Bits 0-23: Watchdog window value..