Everything

12-bit A/D converter (S12AD)

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

 

Table 3.30 API Functions: [12-Bit A/D Converter]

API Function Name

Function

R_S12ADn_Create

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

R_S12ADn_Create_UserInit

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

r_s12adn_interrupt

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

r_s12adn_groupb_interrupt

Performs processing in response to the group B scan end interrupt.

R_S12ADn_Start

Starts A/D conversion.

R_S12ADn_Stop

Ends A/D conversion.

R_S12ADn_Get_ValueResult

Gets the result of conversion.

R_S12ADn_Set_CompareValue

Sets compare level.

r_s12adn_compare_interrupt

Performs processing in response to the compare interrupt.