Constant ace128_driver::ACE128_MAP[][src]

pub const ACE128_MAP: [Option<u8>; 256];

Maps the output of the 8 GPIO pins onto an encoder position. The array index is the ‘Decimal Output’ of the GPIO pins, and the value at the index is the corresponding ‘Position’. Only 128 valid positions exist for the 256 states (28 x GPIO) therefore invalid positions return None. See datasheet for more details.