attempt to implement SPI & write notify to RAM
This commit is contained in:
+2
-2
@@ -33,8 +33,8 @@ static uint16_t not_offset = 0; // writing pointer, current not writing index
|
||||
|
||||
#define central_mem_init() \
|
||||
do { \
|
||||
master_tx_buffer[0] = MSM_REG_WRITE; \
|
||||
master_tx_buffer[1] = 0b01000011; \
|
||||
master_tx_buffer[0] = MSM_REG_WRITE; \
|
||||
master_tx_buffer[1] = 0b01000011; \
|
||||
central_mem_select(1); \
|
||||
central_spi_send(2); \
|
||||
central_mem_select(0); \
|
||||
|
||||
Reference in New Issue
Block a user