armOS
0.1.0
Minimal ARM Operating System for the Raspberry Pi - Documentation generated for Pi 4.
gpio.h
Go to the documentation of this file.
1
7
#ifndef GPIO_H
8
#define GPIO_H
9
10
#include <stdint.h>
11
12
#include <
peripherals/gpio.h
>
13
25
int
gpio_pin_set_func
(uint8_t pin_num,
gpio_func
func);
26
37
int
gpio_pin_set
(uint8_t pin_num);
38
49
int
gpio_pin_clear
(uint8_t pin_num);
50
51
#endif
gpio_pin_set_func
int gpio_pin_set_func(uint8_t pin_num, gpio_func func)
Definition:
gpio.c:13
gpio.h
Definition of GPIO registers addresses.
gpio_func
gpio_func
Definition:
gpio.h:17
gpio_pin_set
int gpio_pin_set(uint8_t pin_num)
Definition:
gpio.c:59
gpio_pin_clear
int gpio_pin_clear(uint8_t pin_num)
Definition:
gpio.c:96
include
kernel
gpio.h
Generated by
1.8.17