ead74hc165_f();\rswitch( KeyState )\r(\rcase KEY_WAIT : if( KeyTemp == NOKEY) KeyState = KEY_WAIT ;\relse KeyState = KEY_PRESS ; break ;\rcase KEY_PRESS : if( KeyTemp == NOKEY ) KeyState = KEY_WAIT ;\relse KeyState = KEY_CONFI RM ; break ;\rcase KEY_CONFIRM : if( KeyTemp == NOKEY ) KeyState = KEY_WAIT ;\relse\r(\rKeyState = KEÐWAIT_REALSE ;\rKeyValue = KeyTemp ;\r} break ;\rcase KEY_WAIT_REALSE :if( KeyTemp != NOKEY)\rKeyState = KEY_WAIT_REALSE ;\relse\rKeyState = KEY_WAIT ;.\r} break ;\rdefault : break ;\r)\rreturn Key Value ;\r)\r?³¹¸+º u8_ReadKeyboard74hc165_f() :34»¦`\r9\r74HC1640+¼½¾¿74HC16500ÀÁ`ÂÃÄ!¾¿02.\r¦ÅÆÇÈ0I`É0ÊËÌCÍ`]^ÎzW<ÏÐLÑÒÓ`<ÏÐL³4?0UÔÕ\rÖ×ÑØÙ