Sets the operation mode of A/D converter.
[Syntax]
#include "r_cg_macrodriver.h"
#include "r_cg_adc.h"
MD_STATUS R_ADC_Set_TestChannel ( test_channel_t channel );
|
[Argument(s)]
|
|
|
|
test_channel_t channel;
|
Operation mode of A/D converter
ADNORMALINPUT: Normal mode (Normal A/D conversion)
ADAVREFM: Test mode (AVREFM input)
ADAVREFP: Test mode (AVREFP input)
|
[Return value]
|
|
MD_OK
|
Normal completion
|
MD_ARGERROR
|
Invalid argument specification
|