3.2.19 A/D converter

Below is a list of API functions output by the Code Generator for A/D converter use.

Table 3.19

API Functions: [A/D converter]

API Function Name

Function

R_ADCn_Create

Performs initialization necessary to control the A/D converter functions.

R_ADCn_Create_UserInit

Performs user-defined initialization relating to the A/D converter functions.

r_adcn_error_interrupt

Performs processing in response to the A/D error interrupt.

r_adcn_scan_groupm_end_interrupt

Performs processing in response to the scan group end interrupt.

r_adcn_multiplexer_request_interrupt

Performs processing in response to the MPX interrupt.

r_adcn_adc_summation_channelm_end_interrupt

Performs processing in response to the accumulation end interrupt.

R_ADCn_Halt

Halts A/D converter.

R_ADCn_SetMultiplexerCommand

Sets MPX command.

R_ADCn_ScanGroupm_Start

Starts ADC scan group conversion.

R_ADCn_ScanGroupm_GetResult

Reads the results of ADC scan group conversion.

R_ADCn_ScanGroupm_GetFloatingPointDataResult

Reads the results of ADC scan group conversion (converted to the floating-point format).

R_ADCn_ScanGroupm_TimerStart

Starts ADC scan group timer.

R_ADCn_ScanGroupm_TimerStop

Ends ADC scan group timer.

R_ADCn_ADCSummation_Cannelm_GetResult

Reads the results of accumulation data.

R_ADCn_ADCSummation_Start

Starts summation function.

R_ADCn_ADCSummation_Stop

Ends summation function.

R_ADC_SyncStart

Starts ADC scan group conversion set as enable scan group synchronization start.

R_ADC_SyncTimerStart

Starts ADC scan group conversion set as enable A/D timer synchronization start.

R_ADCn_ScanGroupm_OperationOn

Starts ADC scan group scan.

R_ADCn_TH_Groupx_Start

Starts ADC T&H group hold.

R_ADCn_TH_Sampling_Start

Starts ADC T&H sampling.