libpynq
(release 5EID0-2023 version 0.3.0 of 2024-04-25 09:42 )
|
uint8_t switchbox_get_pin(const pin_t pin_number)
void switchbox_set_pin(const pin_t pin_number, const uint8_t pin_type)
#define NUM_SWITCHBOX_NAMES
void switchbox_init(void)
Initializes the switch box.
void switchbox_reset(void)
Resets all pins of the switch box to be input.
Use these implementations when compiling on Oncourse Bit of a hack since ideally this would have been done with If a new function doesn t get added here then it ll give an error only when it s used in the this hack will work only for Oncourse programs that use PYNQ output only(e.g. sorting)
void switchbox_destroy(void)
Resets all pins of the switch box to be input.
char *const switchbox_names[NUM_SWITCHBOX_NAMES]
Taken from scpi_names.h, lookup table for channels in the mapping_info function.