MAX32600 User’s Guide
Analog Front End
8.3 ADC
adc_mode
Mode
Description
1000b
High Performance Channel Scan
Measure
samples one time per channel.
1001b
Low Power Channel Scan
Measure
samples with
delay between channels. Single pass through
scan channels.
1010b
High Performance Continuous Channel Scan
High Performance Channel Scan continuously. When all channels have been measured scanning
begins again with the first scan channel.
1011b
Low Power Continuous Channel Scan
Low Power Channel Scan continuously. When all channels have been measured scanning begins
again with the first scan channel.
8.3.4.6
Interrupts
ADC interrupts are enabled using the
register. Refer to
System Configuration and Management
for details on setting up and configuring interrupts.
Out of Range Interrupts
The
MAX32600
ADC supports an upper and lower set point to generate out of range interrupts if a measured sample goes above or below a configured threshold.
The out of range support simplifies monitoring an input signal for a threshold and allows the CPU to only wake when a set condition occurs.
Interrupt support is provided for a measured value being above the upper limit, below the lower limit, or outside the range of the two limits combined. To set the lower
threshold, write the desired value to the register field
is used to set the upper threshold.
The interrupt flag
is set by hardware when a measured value exceeds the upper limit threshold. Similarly, the
is set when a
measured value falls below the lower limit threshold. The
flag is set when either of the previous conditions occur.
ADC Output FIFO
The
MAX32600
ADC includes a 32-level-deep output FIFO with each entry 16 bits wide. The FIFO is read through the
register. Multiple reads
to the register will return the next 16-bit value. The ADC interface can generate a variety of FIFO interrupts if enabled.
There are several status fields and interrupt flags provided to assist the application in handling the ADC Output FIFO:
•
– set by hardware when the FIFO level has exceeded the almost full threshold level.
•
– 4-bit field used to set the threshold for almost full warning.
•
– Reading a value of 1 indicates the ADC FIFO is empty.
Rev.1.3 April 2015
Maxim Integrated
Page 414
Содержание MAX32600
Страница 1: ...MAX32600 User s Guide April 2015...