3.2.24 24-bit DS A/D converter

Below is a list of API functions output by the Code Generator for 24-bit A/D converter use.

Table 3.24

API Functions: [24-bit A/D Converter]

API Function Name

Function

R_DSADC_Create

Performs initialization necessary to control the 24-bit A/D converter.

R_DSADC_Create_UserInit

Performs user-defined initialization relating to the 24-bit A/D converter.

r_dsadc_interrupt

Performs processing in response to the A/D conversion end interrupt INTDSAD.

r_dsadzcn_interrupt

Performs processing in response to the zero-cross detection interrupt INTDSADZCn.

R_DSADC_Set_OperationOn

Enables operation of 24-bit A/D converter.

R_DSADC_Set_OperationOff

Disables operation of 24-bit A/D converter.

R_DSADC_Start

Starts A/D conversion.

R_DSADC_Stop

Ends A/D conversion.

R_DSADC_Reset

Reset the 24-bit A/D converter.

R_DSADC_Set_PowerOff

Performs electric charge reset for the 24-bit A/D converter.

R_DSADC_Channeln_Get_Result

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

R_DSADC_Channeln_Get_Result_16bit

Reads the results of A/D conversion (16 bits; most significant 16 bits of 24-bit resolution).