This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

i2c (TWI issue)

i was going through TWI initialization process here i am confused why have we disabled Blocking mode. The reason for Disabling TWI_BlOCKING_DISABLED I am referring the below code

// Initialize TWI master in mode
twi_config_t my_twi_config = {.pinselect_scl = I2C0_SCL,
							  .pinselect_sda = I2C0_SDA,
							  .frequency     = TWI_FREQ_100KHZ,
							  .blocking_mode = TWI_BLOCKING_DISABLED}; 
Parents Reply Children
No Data
Related