Functions

button.h File Reference

Button Interface. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void button_init (void)
 Initialise the Button Interface.
void button_process (void)
 Button Process.

Detailed Description

Button Interface.

Author:
Dominic Rathje (dominic.rathje@uni-ulm.de)
Version:
1.0
Note:
  • Compiler : WinAVR 20100110
  • Supported devices : ATMega8

Definition in file button.h.


Function Documentation

void button_init ( void   )

Initialise the Button Interface.

Configures the Port Registers. Call this function at the beginning of your main function.

Definition at line 21 of file button.c.

void button_process ( void   )

Button Process.

Reads the Ports and sends the according character to the Host on any pinchange Call this function regularly in main loop.

Definition at line 58 of file button.c.

Here is the call graph for this function: