hsc26-artemis2/firmware/app/comms/spi_master.h
true d95af918fa initial WIP
lots of code copied over, things filled in to hopefully get the LED matrix lighting up. untested.
2026-05-08 11:54:12 -07:00

20 lines
301 B
C

/*
*
*/
#ifndef __APP_COMMS_SPI_MASTER_H
#define __APP_COMMS_SPI_MASTER_H
#include "ch32x035_conf.h"
void spim_init();
void spim_write_reg8(uint8_t reg, const uint8_t *data, uint16_t len);
void spim_read_reg8(uint8_t reg, uint8_t *data, uint16_t len);
#endif /* __APP_COMMS_SPI_MASTER_H */