added drivers
This commit is contained in:
14
app/drivers/utils/spi_cs/spi_cs_if.h
Normal file
14
app/drivers/utils/spi_cs/spi_cs_if.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "stdint.h"
|
||||
|
||||
typedef struct cs_handle_t cs_handle_t;
|
||||
|
||||
typedef void (*cs_on_t)(cs_handle_t *hcs);
|
||||
typedef void (*cs_off_t)(cs_handle_t *hcs);
|
||||
|
||||
struct cs_handle_t
|
||||
{
|
||||
cs_on_t cs_on;
|
||||
cs_off_t cs_off;
|
||||
};
|
||||
Reference in New Issue
Block a user