Api Functions - Renesas RX110 Application Note

12-bit a/d converter support
Table of Contents

Advertisement

RX Family

3. API Functions

3.1
Summary
The following functions are included in this design:
Function
R_ADC_Open()
R_ADC_Control()
R_ADC_Read()
R_ADC_ReadAll()
R_ADC_Close()
R_ADC_GetVersion()
R01AN1666EJ0220 Rev. 2.20
Dec 01, 2016
ADC Module Using Firmware Integration Technology
Description
Applies power to the A/D peripheral (and TEMPS peripheral on RX210 and RX63x),
sets the operational mode, trigger sources, interrupt priority, and configurations common
to all channels and sensors. Optionally takes a callback function pointer for notifying the
user at interrupt level whenever a scan has completed.
Provides commands for enabling channels and sensors, and for runtime operations.
These include enabling/disabling trigger sources and interrupts, initiating a software
trigger, and checking for scan completion.
Reads conversion results from a single channel, sensor, double trigger, or self-diagnosis
register.
Reads conversion results from all potential channel sources, enabled or not.
Ends any scan in progress, disables interrupts, and removes power to the A/D peripheral.
Returns at runtime the driver version number.
Page 52 of 74

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents