TMPM4KxA Group Peripheral Driver User Manual
V1.0.4.0
|
This file provides API functions for ADC driver. More...
Functions | |
__STATIC_INLINE int32_t | check_param_type (uint32_t param) |
Check the Conversion Type's parameter. More... | |
__STATIC_INLINE int32_t | check_param_interrupt (uint32_t param) |
Check the Interrupt's parameter. More... | |
TXZ_Result | adc_ex_init (adc_ex_t *p_obj) |
Initialize the ADC object. More... | |
TXZ_Result | adc_ex_deinit (adc_ex_t *p_obj) |
Release the ADC object. More... | |
TXZ_Result | adc_ex_channel_setting (adc_ex_t *p_obj, uint32_t ch, adc_ex_channel_setting_t *p_setting) |
ADC Channel Setting. More... | |
TXZ_Result | adc_ex_channel_clear (adc_ex_t *p_obj, uint32_t ch) |
ADC Channel Clear. More... | |
TXZ_Result | adc_ex_channel_get_value (adc_ex_t *p_obj, uint32_t ch, uint32_t *p_value) |
Get AD value. More... | |
TXZ_Result | adc_ex_start (adc_ex_t *p_obj) |
Start Conversion. More... | |
TXZ_Result | adc_ex_stop (adc_ex_t *p_obj) |
Stop Conversion. More... | |
TXZ_Result | adc_ex_get_status (adc_ex_t *p_obj, uint32_t *p_status) |
Get Conversion Status. More... | |
void | adc_ex_single_irq_handler (adc_ex_t *p_obj) |
IRQ Handler for single conversion done. More... | |
void | adc_ex_continuity_irq_handler (adc_ex_t *p_obj) |
IRQ Handler for continuity conversion done. More... | |
void | adc_ex_trigger_irq_handler (adc_ex_t *p_obj) |
IRQ Handler for trigger conversion done. More... | |
Variables | |
C | |
This file provides API functions for ADC driver.
Extension Class.
DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.
(C)Copyright TOSHIBA MICROELECTRONICS CORPORATION 2017 All rights reserved
__STATIC_INLINE int32_t check_param_interrupt | ( | uint32_t | param | ) |
Check the Interrupt's parameter.
param | :Interrupt's parameter |
ADC_PARAM_OK | :Valid |
ADC_PARAM_NG | :Invalid |
__STATIC_INLINE int32_t check_param_type | ( | uint32_t | param | ) |
Check the Conversion Type's parameter.
param | :Conversion Type's parameter |
ADC_PARAM_OK | :Valid |
ADC_PARAM_NG | :Invalid |