Everything

12-bit A/D converter

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

 

Table 3.49 API Functions: [12-bit A/D Converter]

API Function Name

Function

R_12ADC_Create

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

R_12ADC_Create_UserInit

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

r_12adc_interrupt

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

R_12ADC_Start

Starts A/D conversion.

R_12ADC_Stop

Ends A/D conversion.

R_12ADC_Get_ValueResult

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

R_12ADC_Set_ADChannel

Configures the analog voltage input pin for A/D conversion.

R_12ADC_TemperatureSensorOutput_On

Enables 12-bit A/D converter temperature sensor output circuit.

R_12ADC_TemperatureSensorOutput_Off

Disables12-bit A/D converter temperature sensor output circuit.

R_12ADC_InternalReferenceVoltage_On

Enables 12-bit A/D converter reference voltage circuit.

R_12ADC_InternalReferenceVoltage_Off

Disables12-bit A/D converter reference voltage circuit.

R_12ADC_Set_PowerOff

Halts the clock supplied to the 12-bit A/D converter.