User`s manual

RX62N Group, RX621 Group 4. Library Reference
Description (2/2)
[data3]
Trigger control selection. To set multiple options at the same time, use "|" to separate each value.
The default settings are shown in bold.
Trigger selection
PDL_ADC_12_TRIGGER_SOFTWARE or
Software trigger.
PDL_ADC_12_TRIGGER_ADTRG0 or
A pulse input on the ADTRG0# pin.
PDL_ADC_12_TRIGGER_MTU0_ICCM_A or
Input capture / compare match A from
MTU0.
PDL_ADC_12_TRIGGER_MTU0_ICCM_B or
Input capture / compare match B from
MTU0.
PDL_ADC_12_TRIGGER_MTU0_MTU4_ICCM or
Input capture / compare match from
MTU0 to MTU4.
PDL_ADC_12_TRIGGER_MTU6_MTU10_ICCM or
Input capture / compare match from
MTU6 to MTU10.
PDL_ADC_12_TRIGGER_MTU0_CM_E or
Compare match E from MTU0.
PDL_ADC_12_TRIGGER_MTU0_CM_F or
Compare match F from MTU0.
PDL_ADC_12_TRIGGER_MTU4_CM or
Compare match from MTU4.
PDL_ADC_12_TRIGGER_MTU10_CM or
Compare match from MTU10.
PDL_ADC_12_TRIGGER_TMR0 or
Compare match from TMR0.
PDL_ADC_12_TRIGGER_TMR2
Compare match from TMR2.
Pin selection (required only if the pin is used).
PDL_ADC_12_PIN_ADTRG0_A or
PDL_ADC_12_PIN_ADTRG0_B
Select the -A or -B pin for ADTRG0#.
[data4]
Value addition mode control. If multiple selections are required, use "|" to separate each selection.
Specify PDL_NO_DATA if not required.
Value addition mode selection
PDL_ADC_12_VALUE_ADD_CHANNEL_0
Enable value addition mode on each of the
selected channels AN0 to AN7.
Only enabled channels may be selected.
PDL_ADC_12_VALUE_ADD_CHANNEL_1
PDL_ADC_12_VALUE_ADD_CHANNEL_2
PDL_ADC_12_VALUE_ADD_CHANNEL_3
PDL_ADC_12_VALUE_ADD_CHANNEL_4
PDL_ADC_12_VALUE_ADD_CHANNEL_5
PDL_ADC_12_VALUE_ADD_CHANNEL_6
PDL_ADC_12_VALUE_ADD_CHANNEL_7
Value addition count selection
PDL_ADC_12_VALUE_ADD_TIME_1 or
PDL_ADC_12_VALUE_ADD_TIME_2 or
PDL_ADC_12_VALUE_ADD_TIME_3 or
PDL_ADC_12_VALUE_ADD_TIME_4
The number of conversions applied to each
channel selected for value addition mode.
[func]
The function to be called when the ADC conversion scan cycle is complete.
Specify PDL_NO_FUNC if no callback function is required.
[data5]
The interrupt priority level. Select between 1 (lowest priority) and 15 (highest priority).
This parameter will be ignored if PDL_NO_FUNC is specified for parameter func.
Return value
True if all parameters are valid and exclusive; otherwise false.
Category
12-bit ADC
References
R20UT0084EE0112 Rev.1.12 Page 4-216
July. 16, 2014