/* Convert RC6 data to a scancode */ staticint img_ir_rc6_scancode(int len, u64 raw, u64 enabled_protocols, struct img_ir_scancode_req *request)
{ unsignedint addr, cmd, mode, trl1, trl2;
/* * Due to a side effect of the decoder handling the double length * Trailer bit, the header information is a bit scrambled, and the * raw data is shifted incorrectly. * This workaround effectively recovers the header bits. * * The Header field should look like this: * * StartBit ModeBit2 ModeBit1 ModeBit0 TrailerBit * * But what we get is: * * ModeBit2 ModeBit1 ModeBit0 TrailerBit1 TrailerBit2 * * The start bit is not important to recover the scancode.
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.