TMPM4KxA Group Peripheral Driver User Manual
V1.0.4.0
|
This file provides all the functions prototypes for ADC driver. More...
Go to the source code of this file.
Data Structures | |
struct | adc_initial_setting_t |
Initial setting structure definenition. More... | |
struct | adc_channel_setting_t |
Channel Setting. . More... | |
struct | adc_internal_info_t |
Driver internal information structure definenition. More... | |
struct | adc_t |
ADC handle structure definenition. More... | |
Functions | |
TXZ_Result | adc_init (adc_t *p_obj) |
Initialize the ADC object. More... | |
TXZ_Result | adc_deinit (adc_t *p_obj) |
Release the ADC object. More... | |
TXZ_Result | adc_channel_setting (adc_t *p_obj, uint32_t ch, adc_channel_setting_t *p_setting) |
ADC Channel Setting. More... | |
TXZ_Result | adc_channel_clear (adc_t *p_obj, uint32_t ch) |
ADC Channel Clear. More... | |
TXZ_Result | adc_channel_get_value (adc_t *p_obj, uint32_t ch, uint32_t *p_value) |
Get AD value. More... | |
TXZ_Result | adc_start (adc_t *p_obj) |
Start blocking single conversion. More... | |
TXZ_Result | adc_stop (adc_t *p_obj) |
Stop blocking single conversion. More... | |
TXZ_Result | adc_startIt (adc_t *p_obj) |
Start non-blocking single conversion. More... | |
TXZ_Result | adc_stopIt (adc_t *p_obj) |
Stop non-blocking single conversion. More... | |
TXZ_WorkState | adc_poll_conversion (adc_t *p_obj, uint32_t timeout) |
Wait for single conversion to be completed. More... | |
void | adc_irq_handler (adc_t *p_obj) |
IRQ Handler for single conversion done. More... | |
This file provides all the functions prototypes for ADC driver.
DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.
(C)Copyright TOSHIBA MICROELECTRONICS CORPORATION 2017 All rights reserved