Should there be a uint24_t ?
I am processing a grid keyboard in an ISR and I've always been able to fit them into a single 32 bit variable. This time I have 34 inputs and am trying to think of the best way to deal with it. It is a 6x6 grid, so I was thinking of 6 uint8_t's, but then to test for a key, I have to compare all 6 bytes. I realize it is doing that anyway even when using uint32_t when it compiles. The ISR debounces it into the "34 bits" and then a later process in the main loop decodes the bits into an actual "key" and puts it in a buffer for processing.
So, processing 34 input bits in an ISR, how would you do it?