ROM Comm / Mbed 2 deprecated espar_mini_control_CAN

Dependencies:   mbed mbed-STM32F103C8T6

Committer:
lorded
Date:
Fri Jun 12 23:28:43 2020 +0000
Revision:
10:a82e51837e2b
First mini-heater firmware, accounts for altimeter.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
lorded 10:a82e51837e2b 1 #include "mbed.h"
lorded 10:a82e51837e2b 2 #include "wiced_types.h"
lorded 10:a82e51837e2b 3 #ifndef __I2C_BASE_H
lorded 10:a82e51837e2b 4 #define __I2C_BASE_H
lorded 10:a82e51837e2b 5
lorded 10:a82e51837e2b 6 #define NUM_I2C_MESSAGE_RETRIES 3
lorded 10:a82e51837e2b 7
lorded 10:a82e51837e2b 8 void cleanI2CLines(I2C* dev, PinName sda, PinName scl);
lorded 10:a82e51837e2b 9 wiced_result_t writeRegs(unsigned char addr, unsigned char * data, unsigned char len, I2C* i2c_dev, const int addr7bit, int* i2cfailcount, wiced_bool_t swap);
lorded 10:a82e51837e2b 10 wiced_result_t readRegs(unsigned char addr, unsigned char * data, unsigned char len, I2C* i2c_dev, const int addr7bit, int* failcount, wiced_bool_t writeThenRead,
lorded 10:a82e51837e2b 11 wiced_bool_t swap);
lorded 10:a82e51837e2b 12
lorded 10:a82e51837e2b 13 #endif
lorded 10:a82e51837e2b 14