Revision 50
Fixed polling minor issue; refactor code
kbc_func.h | ||
---|---|---|
68 | 68 |
int (kbc_issue_cmd)(uint8_t cmd); |
69 | 69 |
|
70 | 70 |
/** |
71 |
* @brief Low-level function to issue an argument of a command |
|
72 |
* @param cmd argument to be issued |
|
73 |
* @return 0 if operation was successful, 1 otherwise |
|
74 |
*/ |
|
75 |
int (kbc_issue_arg)(uint8_t arg); |
|
76 |
|
|
77 |
/** |
|
71 | 78 |
* @brief Low-level function for reading byte from keyboard |
72 | 79 |
* Low-level function for reading byte from keyboard. Waits until output buffer |
73 | 80 |
* is full |
Also available in: Unified diff