I2C_ADDRESS is only used within I2C_TwoBoards_AdvComIT.
 
Symbols
loading...
Files
loading...

I2C_ADDRESS macro

Syntax

#define I2C_ADDRESS 0x3E

References

LocationText
main.c:37
#define I2C_ADDRESS 0x3E /* Real 7 bits slave address value in Datasheet is: b0011111
main.c:101
I2cHandle.Init.OwnAddress1 = I2C_ADDRESS;
main.c:142
if(HAL_I2C_Master_Transmit_IT(&I2cHandle, (uint16_t)I2C_ADDRESS, (uint8_t*)&bTransferRequest, 1)!= HAL_OK)
main.c:166
if(HAL_I2C_Master_Transmit_IT(&I2cHandle, (uint16_t)I2C_ADDRESS, (uint8_t*)&hTxNumData, 2)!= HAL_OK)
main.c:190
if(HAL_I2C_Master_Transmit_IT(&I2cHandle, (uint16_t)I2C_ADDRESS, (uint8_t*)aTxBuffer, TXBUFFERSIZE)!= HAL_OK)
main.c:217
if(HAL_I2C_Master_Transmit_IT(&I2cHandle, (uint16_t)I2C_ADDRESS, (uint8_t*)&bTransferRequest, 1)!= HAL_OK)
main.c:241
if(HAL_I2C_Master_Transmit_IT(&I2cHandle, (uint16_t)I2C_ADDRESS, (uint8_t*)&hRxNumData, 2)!= HAL_OK)
main.c:265
if(HAL_I2C_Master_Receive_IT(&I2cHandle, (uint16_t)I2C_ADDRESS, (uint8_t*)aRxBuffer, RXBUFFERSIZE)!= HAL_OK)