Project

General

Profile

Revision 38

few changes to polling

View differences:

kbc_func.h
44 44
 */
45 45
int (kbd_poll)(uint8_t bytes[], uint8_t *size);
46 46

  
47
int (kbd_issue_cmd)(uint8_t cmd);
48

  
47 49
/**
48 50
 * @brief Low-level function for reading byte from keyboard
49 51
 * Low-level function for reading byte from keyboard. Waits until output buffer
......
51 53
 * @param value Pointer to variable where byte read from keyboard will be stored
52 54
 * @return 0 if operation was successful, 1 otherwise
53 55
 */
54
int (kbd_read_byte)(uint8_t *value);
56
int (kbd_read_byte)(uint8_t *byte);
55 57

  
58
int (kbd_read_cmd)(uint8_t *cmd);
59

  
56 60
#endif

Also available in: Unified diff