Easy access to the LEDs on your platform. More...
#include "platform.h"
#include "pic_utils.h"
Go to the source code of this file.
Defines | |
#define | __platform_heds_h |
Functions | |
void | platform_leds_flash (uns8 led) |
void | platform_leds_flashing (uns8 led, uns8 enable) |
void | platform_leds_process () |
void | platform_leds_setup_io () |
Definition in file platform_leds.h.
#define __platform_heds_h |
Definition at line 43 of file platform_leds.h.
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().
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.
void platform_leds_setup_io | ( | ) |
Definition at line 64 of file platform_leds.c.
References clear_pin, and make_output.