We need to figure out a nice framework for mutexing the I2C bus such that multiple processes can safely access the bus. This should probably be in the form of creating a wrapper struct for hi2c structs with a CMSIS-OS mutex attached, and every time we access the I2C bus in the monitoring tasks we need to check the mutex.
We need to figure out a nice framework for mutexing the I2C bus such that multiple processes can safely access the bus. This should probably be in the form of creating a wrapper struct for
hi2c
structs with a CMSIS-OS mutex attached, and every time we access the I2C bus in the monitoring tasks we need to check the mutex.