RTEMS 6.3
Loading...
Searching...
No Matches
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
40extern "C" {
41#endif /* __cplusplus */
42
46extern void rtems_adc_init(void);
50extern int rtems_adc_read(unsigned int);
51extern unsigned int rtems_adc_read_multiple(unsigned int len, unsigned int wait, unsigned int mask, unsigned int data[]);
52#endif
int rtems_adc_read(unsigned int pin_number)
Reads the ADC value for input from pin.
Definition bbb-adc.c:128
void rtems_adc_init(void)
ADC intialization.
Definition bbb-adc.c:88