EasyManuals Logo
Home>Renesas>Control Unit>RX110

Renesas RX110 User Manual

Renesas RX110
88 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #69 background imageLoading...
Page #69 background image
RX Family ADC Module Using Firmware Integration Technology
R01AN1666EJ0220 Rev. 2.20 Page 69 of 74
Dec 01, 2016
3.6 R_ADC_Close()
This function ends any scan in progress, disables interrupts, and removes power to the A/D peripheral.
Format
adc_err_t R_ADC_Close(uint8_t unit);
Parameters
unit
0 or 1. For MCUs with only one unit 0 should be passed (only the RX64M/RX71M/RX65x have 2 units).
Return Values
ADC_ERR_INVALID_ARG: Unit not 0 or 1
Properties
Prototyped in file r_s12ad_rx_if.h
Description
Ends any scan in progress, disables interrupts, and removes power to the A/D peripheral. Allows call to Open() to be
performed again. This is necessary when changing scan configurations.
Reentrant
This may only be called once per unit after an Open() is performed.
Example
:
err = R_ADC_Open(1, ADC_MODE_SS_MULTI_CH_GROUPED, &config, MyCallback);
:
R_ADC_Close(1);
Special Notes:
This function will abort any scan that may be in progress.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RX110 and is the answer not in the manual?

Renesas RX110 Specifications

General IconGeneral
BrandRenesas
ModelRX110
CategoryControl Unit
LanguageEnglish

Related product manuals