[][src]Constant i2c_hung_fix::RECOMMENDED_MAX_CLOCK_CYCLES

pub const RECOMMENDED_MAX_CLOCK_CYCLES: u8 = 15;

The recommended default value for the max_clock_cycles parameter

According to the app note listed above, 9 clock toggles should be sufficient for all stuck cases but experimentally I've found my device would sometimes take up to 12. 15 should be sufficient and isn't so high that it'll introduce much delay if it fails to resolve the issue.