/*
 * LED_Show.h
 *
 *  Created on: 2014Äê7ÔÂ15ÈÕ
 *      Author: a0220211
 */

#ifndef CSR_HW_FLEXRAY_LED_SHOW_H_
#define CSR_HW_FLEXRAY_LED_SHOW_H_

#include "gio.h"

#define ERROR_LED_ON		gioPORTB->DCLR = (1 << 7)
#define ERROR_LED_OFF		gioPORTB->DSET = (1 << 7)
#define SEND_LED_ON			gioPORTB->DCLR = (1 << 6)
#define SEND_LED_OFF		gioPORTB->DSET = (1 << 6)
#define RECV_LED_ON			gioPORTB->DCLR = (1 << 5)
#define RECV_LED_OFF		gioPORTB->DSET = (1 << 5)

void LED_Show(void);
void gio_LED_Blinky(unsigned num);

#endif /* CSR_HW_FLEXRAY_LED_SHOW_H_ */
