RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
arm
beagle
include
bsp
bbb-adc.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-2-Clause */
2
10
35
36
#ifndef LIBBSP_ARM_BEAGLE_ADC_H
37
#define LIBBSP_ARM_BEAGLE_ADC_H
38
39
#ifdef __cplusplus
40
extern
"C"
{
41
#endif
/* __cplusplus */
42
46
extern
void
rtems_adc_init
(
void
);
50
extern
int
rtems_adc_read
(
unsigned
int
);
51
extern
unsigned
int
rtems_adc_read_multiple(
unsigned
int
len,
unsigned
int
wait,
unsigned
int
mask,
unsigned
int
data[]);
52
#endif
rtems_adc_read
int rtems_adc_read(unsigned int pin_number)
Reads the ADC value for input from pin.
Definition
bbb-adc.c:128
rtems_adc_init
void rtems_adc_init(void)
ADC intialization.
Definition
bbb-adc.c:88
Generated by
1.18.0