Atmel Software Framework

applications/uc3-dsplib-demo/controller.h File Reference
#include "compiler.h"

Macros

#define CONTROLLER_LONG_PRESS_TIME_MS   3000
 

Functions

void controller_init (int cpu_hz, int hsb_hz, int pba_hz, int pbb_hz)
 
bool controller_key_back (void)
 
bool controller_key_fct1 (void)
 
bool controller_key_fct1_pressed (void)
 
bool controller_key_fct2 (void)
 
bool controller_key_fct2_pressed (void)
 
bool controller_key_fct3 (void)
 
bool controller_key_fct3_pressed (void)
 
bool controller_key_pressed (void)
 
bool controller_key_released (void)
 
bool controller_key_reset (void)
 
void controller_reset (void)
 
void controller_task (void)
 Refresh the controller. More...
 
bool controller_wheel_left (int wheel_inc)
 
bool controller_wheel_pressed (void)
 
bool controller_wheel_right (int wheel_inc)
 

#define CONTROLLER_LONG_PRESS_TIME_MS   3000

void controller_init ( int  cpu_hz,
int  hsb_hz,
int  pba_hz,
int  pbb_hz 
)
bool controller_key_back ( void  )

Referenced by state_machine_task().

bool controller_key_fct1 ( void  )

Referenced by state_machine_task().

bool controller_key_fct1_pressed ( void  )
bool controller_key_fct2 ( void  )

Referenced by state_machine_task().

bool controller_key_fct2_pressed ( void  )
bool controller_key_fct3 ( void  )

Referenced by state_machine_task().

bool controller_key_fct3_pressed ( void  )

Referenced by state_machine_task().

bool controller_key_pressed ( void  )
bool controller_key_released ( void  )
bool controller_key_reset ( void  )

Referenced by state_machine_task().

void controller_reset ( void  )
void controller_task ( void  )

Refresh the controller.

Referenced by app_engine(), and main().

bool controller_wheel_left ( int  wheel_inc)
bool controller_wheel_pressed ( void  )
bool controller_wheel_right ( int  wheel_inc)