libpynq (release 5EWC0-2023 version 0.2.1 of 2023-09-01 11:02)
Loading...
Searching...
No Matches
gpio.c File Reference
#include <gpio.h>
Include dependency graph for gpio.c:

Go to the source code of this file.

Functions

void gpio_init (void)
 
void gpio_destroy (void)
 
void gpio_reset_pin (const gpio_t pin)
 
void gpio_set_direction (const gpio_t pin, const gpio_direction_t direction)
 
gpio_direction_t gpio_get_direction (const gpio_t pin)
 
void gpio_set_level (const gpio_t pin, const gpio_level_t level)
 
gpio_level_t gpio_get_level (const gpio_t pin)
 
void gpio_reset (void)
 

Function Documentation

◆ gpio_get_direction()

gpio_direction_t gpio_get_direction ( const gpio_t  pin)

Definition at line 6 of file gpio.c.

Here is the caller graph for this function:

◆ gpio_get_level()

gpio_level_t gpio_get_level ( const gpio_t  pin)

Definition at line 8 of file gpio.c.

Here is the caller graph for this function:

◆ gpio_reset_pin()

void gpio_reset_pin ( const gpio_t  pin)

Definition at line 4 of file gpio.c.

Here is the caller graph for this function:

◆ gpio_set_direction()

void gpio_set_direction ( const gpio_t  pin,
const gpio_direction_t  direction 
)

Definition at line 5 of file gpio.c.

Here is the caller graph for this function:

◆ gpio_set_level()

void gpio_set_level ( const gpio_t  pin,
const gpio_level_t  level 
)

Definition at line 7 of file gpio.c.

Here is the caller graph for this function: