USB-BDI
|
This file contains the main method. More...
#include "usb_common.h"
#include "usbpdi_common.h"
#include "usbpdi_main.h"
#include "BDI_555.h"
#include "UART.h"
#include "fx2regs.h"
#include "usbpdi_regs.h"
#include "timer.h"
#include "isr.h"
#include "fx2utils.h"
#include "virtual_com_port.h"
Go to the source code of this file.
Functions | |
void | toggleLED () |
this method toggles a LED | |
void | update_speed_led (void) |
this method sets a LED2 if highspeed is granted | |
static void | isr_tick (void) |
interrupt service routine for timer2 called at 100 Hz | |
void | main (void) |
application entry point | |
Variables | |
volatile unsigned char | timer_count = 0 |
static void isr_tick | ( | void | ) | [static] |
interrupt service routine for timer2 called at 100 Hz
used to Toggle led 0.
Definition at line 78 of file usbpdi_main.c.
void main | ( | void | ) |
application entry point
This is the main routine of this device. It contains the initialization of the different parts of the device and a endless loop. The loop calls the different Methods to handle the packages of the different endpoints and toggles a LED.
Definition at line 111 of file usbpdi_main.c.
volatile unsigned char timer_count = 0 |
counter to toggle the LED with a lower frequency
Definition at line 39 of file usbpdi_main.c.