Reads the results of A/D conversion (16 bits; most significant 16 bits of 24-bit resolution).
Remark The result of A/D conversion by this API function must be read within the maximum pending time of the ΔΣ A/D conversion result register n after ΔΣ A/D conversion end interrupt INTDSAD is generated.
[Syntax]
#include “r_cg_macrodriver.h”
void R_DSADC_Channeln_Get_Result_16bit ( uint16_t * const buffer );
Remark n is the channel number.
[Argument(s)]
I/O |
Argument |
Description |
O |
Uint16_t * const buffer; |
Pointer to area in which to store the results of A/D conversion |
[Return value]
None.