Home
last modified time | relevance | path

Searched refs:oldEncoderState (Results 1 – 1 of 1) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/rgbringcoder/
Drgbringcoder.cxx130 static uint8_t oldEncoderState = 0; in interruptHandler() local
143 oldEncoderState <<= 2; in interruptHandler()
146 oldEncoderState &= 0x0c; in interruptHandler()
150 oldEncoderState |= newEncoderState; in interruptHandler()
153 This->m_counter += enc_states[oldEncoderState & 0x0f]; in interruptHandler()