ISVP-SDK
3.12.0
Ingenic Smart Video Platform SDK
Main Page
Modules
Data Structures
Files
File List
Globals
api
en
sysutils
su_adc.h
Go to the documentation of this file.
1
/*
2
* SU ADC header file.
3
*
4
* Copyright (C) 2015 Ingenic Semiconductor Co.,Ltd
5
*/
6
7
#ifndef __SU_ADC_H__
8
#define __SU_ADC_H__
9
10
#ifdef __cplusplus
11
#if __cplusplus
12
extern
"C"
13
{
14
#endif
15
#endif
/* __cplusplus */
16
43
int
SU_ADC_Init
(
void
);
44
57
int
SU_ADC_Exit
(
void
);
58
73
int
SU_ADC_EnableChn
(uint32_t chn_num);
74
89
int
SU_ADC_DisableChn
(uint32_t chn_num);
90
107
int
SU_ADC_GetChnValue
(uint32_t chn_num,
int
*value);
108
109
#ifdef __cplusplus
110
#if __cplusplus
111
}
112
#endif
113
#endif
/* __cplusplus */
114
119
#endif
/* __SU_ADC_H__ */
SU_ADC_Exit
int SU_ADC_Exit(void)
ADC module deinit.
SU_ADC_Init
int SU_ADC_Init(void)
ADC module init.
SU_ADC_DisableChn
int SU_ADC_DisableChn(uint32_t chn_num)
Disable an ADC channel.
SU_ADC_EnableChn
int SU_ADC_EnableChn(uint32_t chn_num)
Enable an ADC channel.
SU_ADC_GetChnValue
int SU_ADC_GetChnValue(uint32_t chn_num, int *value)
Get the ADC value of the channel chn_num.
Generated on Mon Mar 19 2018 18:56:02 for ISVP-SDK by
1.8.8