R_DSADC_Channeln_Get_Result


Reads the results of A/D conversion (24 bits).

Remark

The result of A/D conversion (24 bits) 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 ( uint32_t * const buffer );

Remark

n is the channel number.

[Argument(s)]

I/O

Argument

Description

O

uint32_t  * const buffer;

Pointer to area in which to store read results of A/D conversion

[Return value]

None.