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

Go to the source code of this file.

Functions

void switchbox_init (void)
 
void switchbox_set_pin (const int32_t pin_number, const uint8_t pin_type)
 
void switchbox_reset (void)
 
void switchbox_destroy (void)
 
uint8_t switchbox_get_pin (const int32_t pin_number)
 

Variables

char *const switchbox_names [NUM_SWITCHBOX_NAMES] = {}
 

Function Documentation

◆ switchbox_get_pin()

uint8_t switchbox_get_pin ( const int32_t  pin_number)

Definition at line 7 of file switchbox.c.

Here is the caller graph for this function:

◆ switchbox_set_pin()

void switchbox_set_pin ( const int32_t  pin_number,
const uint8_t  pin_type 
)

Definition at line 4 of file switchbox.c.

Here is the caller graph for this function: