RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
arm
beagle
include
bsp
bbb-gpio.h
Go to the documentation of this file.
1
8
16
17
#ifndef LIBBSP_ARM_BEAGLE_BBB_GPIO_H
18
#define LIBBSP_ARM_BEAGLE_BBB_GPIO_H
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
/* __cplusplus */
23
27
#define BBB_DIGITAL_IN 2
28
#define BBB_DIGITAL_OUT 1
29
33
#define BBB_PUDEN (1 << 3)
34
#define BBB_PUDDIS ~BBB_PUDEN
35
#define BBB_PU_EN (1 << 4)
36
#define BBB_PD_EN ~BBB_PU_EN
37
#define BBB_MUXMODE(X) (X & 0x7)
38
#define BBB_RXACTIVE (1 << 5)
39
#define BBB_SLEWCTRL (1 << 6)
40
41
#ifdef __cplusplus
42
}
43
#endif
/* __cplusplus */
44
45
#endif
/* LIBBSP_ARM_BEAGLE_BBB_GPIO_H */
Generated by
1.18.0