USB device operating mode configuration
[USB application configuration]


Modules

 USB device custom actions

Defines

#define USB_DEVICE_SN_USE   DISABLE
#define USE_DEVICE_SN_UNIQUE   DISABLE
#define EP_KBD_IN   1
#define USB_REMOTE_WAKEUP_FEATURE   ENABLE
#define Usb_unicode(a)   ((U16)(a))

Functions

void sof_action (void)
void suspend_action (void)
void keyboard_task_init (void)
 This function initializes the hardware/software ressources required for keyboard task.

Define Documentation

#define USB_DEVICE_SN_USE   DISABLE

Definition at line 176 of file conf_usb.h.

#define USE_DEVICE_SN_UNIQUE   DISABLE

Definition at line 177 of file conf_usb.h.

#define EP_KBD_IN   1

Definition at line 179 of file conf_usb.h.

Referenced by keyboard_task(), usb_user_endpoint_init(), and usb_user_interface_reset().

#define USB_REMOTE_WAKEUP_FEATURE   ENABLE

Definition at line 182 of file conf_usb.h.

Referenced by usb_clear_feature(), and usb_set_feature().

#define Usb_unicode (  )     ((U16)(a))

Definition at line 184 of file conf_usb.h.


Function Documentation

void sof_action ( void   ) 

void suspend_action ( void   ) 

Definition at line 206 of file keyboard_task.c.

00207 {
00208 #if (USB_REMOTE_WAKEUP_FEATURE == ENABLED)
00209    if (remote_wakeup_feature == ENABLED)
00210    {
00211       Switches_enable_it()
00212    }
00213 #endif 
00214    Enable_interrupt();  
00215    Enter_power_down_mode();
00216 }

void keyboard_task_init ( void   ) 

This function initializes the hardware/software ressources required for keyboard task.

Definition at line 90 of file keyboard_task.c.

00091 {
00092    transmit_no_key   = FALSE;
00093    key_hit           = FALSE;
00094    usb_kbd_state     = 0;
00095    Joy_init();
00096    cpt_sof           = 0;
00097 }


Generated on Mon Sep 14 14:09:03 2009 for ATMEL by  doxygen 1.5.3