mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-11-28 19:30:39 -05:00
PoC: Integrate spi and flash code
This commit is contained in:
parent
12c23cc149
commit
cbc7adf706
6 changed files with 11 additions and 12 deletions
|
|
@ -4,8 +4,7 @@
|
|||
#ifndef TKEY_SPI_H
|
||||
#define TKEY_SPI_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include "../tk1/types.h"
|
||||
|
||||
int spi_ready(void);
|
||||
int spi_transfer(uint8_t *cmd, size_t cmd_size, uint8_t *tx_buf, size_t tx_size,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue