Atmel Software Framework

xmega_a3bu_xplained_classb_oven/drv/keyboard.c File Reference

Keyboard driver.

Copyright (C) 2011-2015 Atmel Corporation. All rights reserved.

#include <board.h>
#include <gpio.h>
#include "touch.h"
#include "keyboard.h"

Functions

void keyboard_get_key_state (struct keyboard_event *keybuffer)
 Check the status of the keyboard. More...
 

void keyboard_get_key_state ( struct keyboard_event keybuffer)

Check the status of the keyboard.

This function checks what keys have been pressed or released, updating their status and saving the current key change (if any) in the specified buffer.

Parameters
keybufferPointer to keyboard_event struct to store status.

Referenced by button_splash(), date_time_application(), display_date_time_application(), lightsensor_application(), main(), ntc_sensor_application(), oven_classb_error_insertion(), production_date_application(), set_date_application(), set_time_application(), show_button_splash(), show_explain_splash(), and timezone_select_application().