34 #ifndef FIRMWARE_SRC_SPI_RGB_H_
35 #define FIRMWARE_SRC_SPI_RGB_H_
41 #include "system_config.h"
42 #include "peripheral/spi/plib_spi.h"
113 #endif // FIRMWARE_SRC_SPI_RGB_H_
void SPIRGB_Tasks()
Perform the periodic SPI RGB tasks.
#define SPI_MODULE_ID
The SPI module to use for output.
Definition: app_settings.h:162
void SPIRGB_Init(const SPIRGBConfiguration *config)
Initialize the SPI RGB module.
uint32_t baud_rate
The Baud rate.
Definition: spi_rgb.h:58
void SPIRGB_SetPixel(uint16_t index, RGB_Color color, uint8_t value)
Set the value of a pixel.
SPI RGB Module configuration.
Definition: spi_rgb.h:56
RGB_Color
RGB color values.
Definition: spi_rgb.h:47
SPI_MODULE_ID module_id
The SPI module to use.
Definition: spi_rgb.h:57
void SPIRGB_CompleteUpdate()
Complete a frame update.
void SPIRGB_BeginUpdate()
Begin a frame update.
bool use_enhanced_buffering
Use enhanced buffer mode, not all chips support this.
Definition: spi_rgb.h:66