Reads the results of A/D conversion (12 bits).
[Syntax]
#include "r_cg_macrodriver.h"
void R_12ADC_Get_ValueResult ( ad_channel_t channel, uint16_t * const buffer );
|
[Argument(s)]
|
|
|
|
ad_channel_t channel
|
Analog voltage input pin
|
|
uint16_t * const buffer;
|
Pointer to area in which to store read results of A/D conversion
|
[Return value]
|
|
MD_OK
|
Normal completion
|
MD_ARGERROR
|
Invalid argument specification
|