14#ifndef NEORV32_NEOLED_H
15#define NEORV32_NEOLED_H
25typedef volatile struct __attribute__((packed,aligned(4))) {
33#define NEORV32_NEOLED ((neorv32_neoled_t*) (NEORV32_NEOLED_BASE))
63void neorv32_neoled_setup(uint32_t prsc, uint32_t t_total, uint32_t t_high_zero, uint32_t t_high_one);
int neorv32_neoled_busy(void)
Definition neorv32_neoled.c:237
int neorv32_neoled_get_fifo_depth(void)
Definition neorv32_neoled.c:203
void neorv32_neoled_setup_ws2812(void)
Definition neorv32_neoled.c:76
void neorv32_neoled_write24_blocking(uint32_t data)
Definition neorv32_neoled.c:179
int neorv32_neoled_available(void)
Definition neorv32_neoled.c:22
void neorv32_neoled_setup(uint32_t prsc, uint32_t t_total, uint32_t t_high_zero, uint32_t t_high_one)
Definition neorv32_neoled.c:55
void neorv32_neoled_strobe_blocking(void)
Definition neorv32_neoled.c:133
int neorv32_neoled_fifo_full(void)
Definition neorv32_neoled.c:215
void neorv32_neoled_enable(void)
Definition neorv32_neoled.c:31
void neorv32_neoled_disable(void)
Definition neorv32_neoled.c:40
void neorv32_neoled_write24_nonblocking(uint32_t data)
Definition neorv32_neoled.c:192
NEORV32_NEOLED_CTRL_enum
Definition neorv32_neoled.h:36
@ NEOLED_CTRL_T_0H_MSB
Definition neorv32_neoled.h:43
@ NEOLED_CTRL_FIFO_MSB
Definition neorv32_neoled.h:48
@ NEOLED_CTRL_TX_EMPTY
Definition neorv32_neoled.h:49
@ NEOLED_CTRL_T_1H_LSB
Definition neorv32_neoled.h:44
@ NEOLED_CTRL_TX_BUSY
Definition neorv32_neoled.h:51
@ NEOLED_CTRL_FIFO_LSB
Definition neorv32_neoled.h:47
@ NEOLED_CTRL_PRSC_MSB
Definition neorv32_neoled.h:39
@ NEOLED_CTRL_T_TOT_LSB
Definition neorv32_neoled.h:40
@ NEOLED_CTRL_T_0H_LSB
Definition neorv32_neoled.h:42
@ NEOLED_CTRL_T_1H_MSB
Definition neorv32_neoled.h:45
@ NEOLED_CTRL_TX_FULL
Definition neorv32_neoled.h:50
@ NEOLED_CTRL_T_TOT_MSB
Definition neorv32_neoled.h:41
@ NEOLED_CTRL_EN
Definition neorv32_neoled.h:37
@ NEOLED_CTRL_PRSC_LSB
Definition neorv32_neoled.h:38
void neorv32_neoled_strobe_nonblocking(void)
Definition neorv32_neoled.c:144
int neorv32_neoled_fifo_empty(void)
Definition neorv32_neoled.c:226
void neorv32_neoled_write32_nonblocking(uint32_t data)
Definition neorv32_neoled.c:168
void neorv32_neoled_write32_blocking(uint32_t data)
Definition neorv32_neoled.c:155
Definition neorv32_neoled.h:25
uint32_t STROBE
Definition neorv32_neoled.h:29
uint32_t DATA24
Definition neorv32_neoled.h:27
uint32_t DATA32
Definition neorv32_neoled.h:28
uint32_t CTRL
Definition neorv32_neoled.h:26