cursada_mc2
Base de control de temperatura para EDU-CIAA-NXP
Loading...
Searching...
No Matches
keyboard_driver.h
Go to the documentation of this file.
1
6#if !defined(KEYBOARD_DRIVER_H_)
7#define KEYBOARD_DRIVER_H_
8
9#include "chip.h"
10#include <stdint.h>
11
13#define KEYBOARD_MAX_COLUMNS 3
15#define KEYBOARD_MAX_ROWS 4
16
20void board_keyboard_init(void);
21
26
35int board_keyboard_read_cell(uint8_t column, uint8_t row);
36
43
50
51#endif // KEYBOARD_DRIVER_H_
void board_keyboard_read_matrix(uint8_t *matrix_p[KEYBOARD_MAX_COLUMNS])
Lee el estado completo de la matriz de teclado.
void board_keyboard_init(void)
Inicializa los pines del teclado matricial.
int board_keyboard_read_cell(uint8_t column, uint8_t row)
Lee el estado de una celda puntual de la matriz.
#define KEYBOARD_MAX_COLUMNS
Cantidad maxima de columnas del teclado matricial.
void board_keyboard_int_enable(void)
Habilita las interrupciones asociadas al teclado matricial.
CHAR board_keyboard_get_last_char(void)
Devuelve el ultimo caracter detectado por el teclado.