platform_leds.c File Reference

#include "config.h"
#include "platform_leds.h"
#include "platform.h"
#include "pic_tick.h"
Include dependency graph for platform_leds.c:

Go to the source code of this file.

Defines

#define PLATFORM_LEDS_FLASH_TICKS   250

Functions

void platform_leds_flash (uns8 led)
void platform_leds_flashing (uns8 led, uns8 enable)
void platform_leds_process ()
void platform_leds_setup_io ()

Define Documentation

#define PLATFORM_LEDS_FLASH_TICKS   250

Definition at line 43 of file platform_leds.c.

Referenced by platform_leds_process().


Function Documentation

void platform_leds_flash ( uns8  led  ) 

Definition at line 81 of file platform_leds.c.

References tick_get_count().

Referenced by usb_cdc_handle_tx(), usb_ep_data_out_callback(), and usb_handle_class_ctrl_write_callback().

Here is the call graph for this function:

Here is the caller graph for this function:

void platform_leds_flashing ( uns8  led,
uns8  enable 
)

Definition at line 106 of file platform_leds.c.

void platform_leds_process (  ) 

Definition at line 124 of file platform_leds.c.

References PLATFORM_LEDS_FLASH_TICKS, tick_calc_diff(), tick_get_count(), and uns16.

Here is the call graph for this function:

void platform_leds_setup_io (  ) 

Definition at line 64 of file platform_leds.c.

References clear_pin, and make_output.


Generated on Wed Dec 8 13:47:46 2010 for Pic Pack by  doxygen 1.6.1