libpynq (release 5EWC0-2023 version 0.2.1 of 2023-09-01 11:02)
Loading...
Searching...
No Matches
switchbox.c
Go to the documentation of this file.
1#include <switchbox.h>
3void switchbox_init(void){};
4void switchbox_set_pin(const int32_t pin_number, const uint8_t pin_type){};
5void switchbox_reset(void){};
6void switchbox_destroy(void){};
7uint8_t switchbox_get_pin(const int32_t pin_number){};
uint8_t switchbox_get_pin(const int32_t pin_number)
Definition switchbox.c:7
void switchbox_set_pin(const int32_t pin_number, const uint8_t pin_type)
Definition switchbox.c:4
void switchbox_destroy(void)
Resets all pins of the switch box to be input.
Definition switchbox.c:6
#define NUM_SWITCHBOX_NAMES
Definition switchbox.h:134
void switchbox_reset(void)
Resets all pins of the switch box to be input.
Definition switchbox.c:5
void switchbox_init(void)
Initializes the switch box.
Definition switchbox.c:3
char *const switchbox_names[NUM_SWITCHBOX_NAMES]
Taken from scpi_names.h, lookup table for channels in the mapping_info function.
Definition switchbox.c:2