OpenBIC
OpenSource Bridge-IC
ast_adc.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Meta Platforms, Inc. and affiliates.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#ifndef ADC_H
18
#define ADC_H
19
20
#include <stdbool.h>
21
#include <stdint.h>
22
23
enum
{
24
ADC_PORT0
= 0,
25
ADC_PORT1
,
26
ADC_PORT2
,
27
ADC_PORT3
,
28
ADC_PORT4
,
29
ADC_PORT5
,
30
ADC_PORT6
,
31
ADC_PORT7
,
32
ADC_PORT8
,
33
ADC_PORT9
,
34
ADC_PORT10
,
35
ADC_PORT11
,
36
ADC_PORT12
,
37
ADC_PORT13
,
38
ADC_PORT14
,
39
ADC_PORT15
,
40
};
41
42
bool
adc_init
();
43
44
#endif
ADC_PORT2
@ ADC_PORT2
Definition:
ast_adc.h:26
ADC_PORT12
@ ADC_PORT12
Definition:
ast_adc.h:36
ADC_PORT11
@ ADC_PORT11
Definition:
ast_adc.h:35
ADC_PORT13
@ ADC_PORT13
Definition:
ast_adc.h:37
ADC_PORT8
@ ADC_PORT8
Definition:
ast_adc.h:32
ADC_PORT7
@ ADC_PORT7
Definition:
ast_adc.h:31
ADC_PORT3
@ ADC_PORT3
Definition:
ast_adc.h:27
ADC_PORT6
@ ADC_PORT6
Definition:
ast_adc.h:30
ADC_PORT9
@ ADC_PORT9
Definition:
ast_adc.h:33
ADC_PORT10
@ ADC_PORT10
Definition:
ast_adc.h:34
ADC_PORT15
@ ADC_PORT15
Definition:
ast_adc.h:39
ADC_PORT14
@ ADC_PORT14
Definition:
ast_adc.h:38
ADC_PORT4
@ ADC_PORT4
Definition:
ast_adc.h:28
ADC_PORT1
@ ADC_PORT1
Definition:
ast_adc.h:25
ADC_PORT0
@ ADC_PORT0
Definition:
ast_adc.h:24
ADC_PORT5
@ ADC_PORT5
Definition:
ast_adc.h:29
adc_init
bool adc_init()
common
dev
include
ast_adc.h
Generated by
1.9.2