libpynq (release 5EWC0-2023 version 0.2.2 of 2023-09-24 22:22)
Loading...
Searching...
No Matches
switchbox.c File Reference
#include "switchbox.h"
#include <libpynq.h>
Include dependency graph for switchbox.c:

Go to the source code of this file.

Data Structures

struct  pin
 

Functions

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

Variables

char *const switchbox_names [NUM_SWITCHBOX_NAMES]
 
arm_shared ioswitch_handle
 
volatile uint32_t * ioswitch = NULL
 

Variable Documentation

◆ ioswitch

volatile uint32_t* ioswitch = NULL

Definition at line 97 of file switchbox.c.

◆ ioswitch_handle

arm_shared ioswitch_handle

Definition at line 96 of file switchbox.c.