Struct kea_hal::spi::BaudrateDivisor [−][src]
pub struct BaudrateDivisor { pub scale: u8, pub power: u8, }
Expand description
Holds the parameters used to calculate the divisor used to derive the SPI baudrate from the bus clock
Fields
scale: u8
Linearly scale the bus clock, value must be <= 7
power: u8
Scale the bus clock divisor by a power of 2, value must be <= 8