Configure_I2C_Slave() is only used within I2C_OneBoard_Communication_IT_Init.
 
Symbols
loading...
Files
loading...

Configure_I2C_Slave() function

This function configures I2C1 in Slave mode.

Syntax

void Configure_I2C_Slave(void);
Implemented in main.c:139

Return value

None

Notes

This function is used to : -1- Enables GPIO clock and configures the I2C1 pins. -2- Enable the I2C1 peripheral clock. -3- Configure NVIC for I2C1. -4- Configure and Enable I2C1 functional parameters. -5- Disable I2C1 (to prevent misplaced start/stop condition during GPIO initialization phase on Master side). Peripheral configuration is minimal configuration from reset values. Thus, some useless LL unitary functions calls below are provided as commented examples - setting is default configuration from reset.

References

LocationReferrerText
main.c:139
void Configure_I2C_Slave(void)
main.c:63
void Configure_I2C_Slave(void);
main.c:98main()
Configure_I2C_Slave();