29typedef volatile struct __attribute__((packed,aligned(4))) {
35#define NEORV32_SDI ((neorv32_sdi_t*) (NEORV32_SDI_BASE))
int neorv32_sdi_check_cs(void)
Definition neorv32_sdi.c:126
void neorv32_sdi_setup(uint32_t irq_mask)
Definition neorv32_sdi.c:43
int neorv32_sdi_get(uint8_t *data)
Definition neorv32_sdi.c:109
int neorv32_sdi_available(void)
Definition neorv32_sdi.c:26
void neorv32_sdi_enable(void)
Definition neorv32_sdi.c:67
int neorv32_sdi_get_fifo_depth(void)
Definition neorv32_sdi.c:78
void neorv32_sdi_disable(void)
Definition neorv32_sdi.c:58
NEORV32_SDI_CTRL_enum
Definition neorv32_sdi.h:38
@ SDI_CTRL_IRQ_RX_FULL
Definition neorv32_sdi.h:46
@ SDI_CTRL_IRQ_RX_AVAIL
Definition neorv32_sdi.h:44
@ SDI_CTRL_RX_FULL
Definition neorv32_sdi.h:52
@ SDI_CTRL_IRQ_TX_EMPTY
Definition neorv32_sdi.h:47
@ SDI_CTRL_IRQ_TX_NHALF
Definition neorv32_sdi.h:48
@ SDI_CTRL_FIFO_LSB
Definition neorv32_sdi.h:41
@ SDI_CTRL_TX_EMPTY
Definition neorv32_sdi.h:53
@ SDI_CTRL_FIFO_MSB
Definition neorv32_sdi.h:42
@ SDI_CTRL_RX_HALF
Definition neorv32_sdi.h:51
@ SDI_CTRL_CS_ACTIVE
Definition neorv32_sdi.h:57
@ SDI_CTRL_TX_FULL
Definition neorv32_sdi.h:55
@ SDI_CTRL_RX_AVAIL
Definition neorv32_sdi.h:50
@ SDI_CTRL_TX_NHALF
Definition neorv32_sdi.h:54
@ SDI_CTRL_IRQ_RX_HALF
Definition neorv32_sdi.h:45
@ SDI_CTRL_EN
Definition neorv32_sdi.h:39
int neorv32_sdi_put(uint8_t data)
Definition neorv32_sdi.c:91
Definition neorv32_sdi.h:29
uint32_t DATA
Definition neorv32_sdi.h:31
uint32_t CTRL
Definition neorv32_sdi.h:30