we need TLE8888 driver #714

This commit is contained in:
rusefi 2019-03-25 15:50:14 -04:00
parent 4bb645f7e0
commit b823a00f8e
1 changed files with 10 additions and 2 deletions

View File

@ -3,11 +3,19 @@
* @author Andrey Belomutskiy, (c) 2012-2019
*/
#define TLE8888_CmdOE 0x1C
#include "engine.h"
#include "tle8888.h"
/**
* 15.2 SPI Frame Definition
*
*/
#define Cmd_write_access 1
#define CmdOE 0x1C
#define DATA_OE_ENABLE 00000010b
static unsigned char tx_buff[2];
EXTERN_ENGINE;
static SPIDriver *driver;