Product Specs

Table Of Contents
37 SAADC Successive approximation analog-
to-digital converter
Page
365
NE
ET
outside of the defined limits. It is not possible to fire an event when the input signal is inside a defined range
by swapping high and low limits.
The comparison to limits always takes place, there is no need to enable it. If comparison is not required on a
channel, the software shall simply ignore the related events. In that situation, the value of the limits registers
is irrelevant, so it does not matter if CH[n].LIMIT.LOW is lower than CH[n].LIMIT.HIGH or not.
37.11 Registers
Table 89: Instances
Base address
Peripheral
Instance
Description
Configuration
0x40007000
SAADC
SAADC
Analog to digital converter
Table 90: Register Overview
Register
Offset
Description
TASKS_START
0x000
Start the ADC and prepare the result buffer in RAM
TASKS_SAMPLE
0x004
Take one ADC sample, if scan is enabled all channels are sampled
TASKS_STOP
0x008
Stop the ADC and terminate any on-going conversion
TASKS_CALIBRATEOFFS
0x00C
Starts offset auto-calibration
EVENTS_STARTED
0x100
The ADC has started
EVENTS_END
0x104
The ADC has filled up the Result buffer
EVENTS_DONE
0x108
A conversion task has been completed. Depending on the mode, multiple conversions might be
needed for a result to be transferred to RAM.
EVENTS_RESULTDONE
0x10C
A result is ready to get transferred to RAM.
EVENTS_CALIBRATEDO
0x110
Calibration is complete
EVENTS_STOPPED
0x114
The ADC has stopped
EVENTS_CH[0].LIMITH
0x118
Last results is equal or above CH[0].LIMIT.HIGH
EVENTS_CH[0].LIMITL
0x11C
Last results is equal or below CH[0].LIMIT.LOW
EVENTS_CH[1].LIMITH
0x120
Last results is equal or above CH[1].LIMIT.HIGH
EVENTS_CH[1].LIMITL
0x124
Last results is equal or below CH[1].LIMIT.LOW
EVENTS_CH[2].LIMITH
0x128
Last results is equal or above CH[2].LIMIT.HIGH
EVENTS_CH[2].LIMITL
0x12C
Last results is equal or below CH[2].LIMIT.LOW
EVENTS_CH[3].LIMITH
0x130
Last results is equal or above CH[3].LIMIT.HIGH
EVENTS_CH[3].LIMITL
0x134
Last results is equal or below CH[3].LIMIT.LOW
EVENTS_CH[4].LIMITH
0x138
Last results is equal or above CH[4].LIMIT.HIGH
EVENTS_CH[4].LIMITL
0x13C
Last results is equal or below CH[4].LIMIT.LOW
EVENTS_CH[5].LIMITH
0x140
Last results is equal or above CH[5].LIMIT.HIGH
EVENTS_CH[5].LIMITL
0x144
Last results is equal or below CH[5].LIMIT.LOW
EVENTS_CH[6].LIMITH
0x148
Last results is equal or above CH[6].LIMIT.HIGH
EVENTS_CH[6].LIMITL
0x14C
Last results is equal or below CH[6].LIMIT.LOW
EVENTS_CH[7].LIMITH
0x150
Last results is equal or above CH[7].LIMIT.HIGH
EVENTS_CH[7].LIMITL
0x154
Last results is equal or below CH[7].LIMIT.LOW
INTEN
0x300
Enable or disable interrupt
INTENSET
0x304
Enable interrupt
INTENCLR
0x308
Disable interrupt
STATUS
0x400
Status
ENABLE
0x500
Enable or disable ADC
CH[0].PSELP
0x510
Input positive pin selection for CH[0]
CH[0].PSELN
0x514
Input negative pin selection for CH[0]
CH[0].CONFIG
0x518
Input configuration for CH[0]
CH[0].LIMIT
0x51C
High/low limits for event monitoring a channel
CH[1].PSELP
0x520
Input positive pin selection for CH[1]
CH[1].PSELN
0x524
Input negative pin selection for CH[1]
CH[1].CONFIG
0x528
Input configuration for CH[1]
CH[1].LIMIT
0x52C
High/low limits for event monitoring a channel
CH[2].PSELP
0x530
Input positive pin selection for CH[2]