Trait pca9539::pins::AccessMode
source · pub trait AccessMode { }
Expand description
Marker trait defining how the state of pins is handled.
Currently there are two modes supported:
- Regular: State of the pin is synchronously fetched from I2C bus when calling functions like
is_high()
- Refreshable: State of all pins is refreshed explicitly and functions like
is_high()
are working on a cached state. This reducing the I2C overhead