pub const MAX_ACCEL_FLAGS: u32 = 16;
Expand description

Maximum number of acceleration flags.

Each descriptor has 16 bits of space for acceleration flags (RxFlags and TxFlags) thus the maximum number of reported accelerations is 16. Each descriptor reports which accelerations were applied (RxFlags) or are requested (TxFlags) by mapping indexes in the vector of supported accelerations ([Info.rx_accel] and ([Info.tx_accel]) to bits in the respective acceleration flags bitfield.