We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e663686 commit 479ff81Copy full SHA for 479ff81
cores/arduino/stm32/twi.h
@@ -100,13 +100,13 @@ struct i2c_s {
100
#if !defined(STM32F0xx) && !defined(STM32L0xx)
101
IRQn_Type irqER;
102
#endif //!defined(STM32F0xx) && !defined(STM32L0xx)
103
- volatile uint8_t slaveMode;
104
- uint8_t isMaster;
105
volatile int slaveRxNbData; // Number of accumulated bytes received in Slave mode
106
void (*i2c_onSlaveReceive)(uint8_t *, int);
107
void (*i2c_onSlaveTransmit)(void);
108
volatile uint8_t i2cTxRxBuffer[I2C_TXRX_BUFFER_SIZE];
109
volatile uint8_t i2cTxRxBufferSize;
+ volatile uint8_t slaveMode;
+ uint8_t isMaster;
110
};
111
112
///@brief I2C state
0 commit comments