#define KPRINTF( args, ... )
struct | |
{ | |
void* next; | < Pointer to next key or NULL on last key |
HANDLE* event; | < Handle for key event |
void (*callback)(void); | < Function Pointer if key is activated |
int bank; | < GPIO bank of key |
int pin; | < GPIO pin of key |
int lastState; | < last state sampled from port |
int newState; | < current state sampled from port |
int fx; | < Action type of key |
uint32_t fxt; | < time for action |
uint32_t TimeDown; | < System time in ms at key down recognized |
} |
Visible in: | nut/dev/keys.c | |
Used in: | NutRegisterKey() | nut/dev/keys.c |
Visible in: | nut/dev/keys.c | |
Used in: | NutRegisterKey() | nut/dev/keys.c |
Used in: | NutRegisterKey() | |
sys_key() |
Calls: | GpioPinConfigSet() | nut/arch/m68k/coldfire/dev/mcf5225x/mcf5225x_gpio.c |
Called by: | NutRegisterKey() | nut/dev/keys.c |
Calls: | NutEventPostAsync() | |
Used in: | NutRegisterKey() | nut/dev/keys.c |
Prototyped in: | nut/include/dev/keys.h |
Prototyped in: | nut/include/dev/keys.h |
Prototyped in: | nut/include/dev/keys.h |
Prototyped in: | nut/include/dev/keys.h | |
Calls: | NutGetMillis() |
Prototyped in: | nut/include/dev/keys.h | |
Calls: | InitKEY() | nut/dev/keys.c |
NutThreadCreate() | nut/arch/cm3/os/context.c | |
malloc() | nut/crt/malloc.c | |
NutTimerStart() | ||
References Functions: | KeyTimerCb() | nut/dev/keys.c |
sys_key() | nut/dev/keys.c | |
References Variables: | first_key | nut/dev/keys.c |
key_evt | nut/dev/keys.c | |
key_tmr | nut/dev/keys.c |
Prototyped in: | nut/dev/keys.c | |
Calls: | GpioPinGet() | nut/arch/avr/dev/gpio_avr.c |
NutEventPost(), NutEventWait(), NutGetMillis(), NutThreadSetPriority() | ||
Used in: | NutRegisterKey() | nut/dev/keys.c |
References Variables: | first_key | nut/dev/keys.c |