TMPM4KxA Group Peripheral Driver User Manual  V1.0.4.0
Functions | Variables
txz_adc_ch.c File Reference

This file provides API functions for ADC driver.
Channel Class. More...

Functions

__STATIC_INLINE uint32_t get_conversion_data (uint32_t reg)
 Get convertion data from ADxREGn. More...
 
TXZ_Result adc_ch_init (adc_ch_t *p_obj)
 Initialize the ADC Channel object. More...
 
TXZ_Result adc_ch_deinit (adc_ch_t *p_obj)
 Release the ADC Channel object. More...
 
TXZ_Result adc_ch_int_enable (adc_ch_t *p_obj)
 Enable Interrupt. More...
 
TXZ_Result adc_ch_int_disable (adc_ch_t *p_obj)
 Disable Interrupt. More...
 
TXZ_Result adc_ch_get_value (adc_ch_t *p_obj, uint32_t *p_value)
 Get conversion value. More...
 

Variables

 C
 

Detailed Description

This file provides API functions for ADC driver.
Channel Class.

Version
V1.0.0.0
Date
2017-10-20 19:58:20

DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.

(C)Copyright TOSHIBA MICROELECTRONICS CORPORATION 2017 All rights reserved

Function Documentation

◆ get_conversion_data()

__STATIC_INLINE uint32_t get_conversion_data ( uint32_t  reg)

Get convertion data from ADxREGn.

Parameters
reg: ADxREGn data.
Return values
Convertiondata.
Note
-