change the board_leds API to on_mask, off_mask

getting led toggling per second on host demo
add greeting message
This commit is contained in:
hathach
2013-04-22 12:10:52 +07:00
parent 799c709524
commit 8cc4c6f52d
4 changed files with 111 additions and 120 deletions

View File

@@ -98,7 +98,7 @@
//--------------------------------------------------------------------+
// Init board peripherals : Clock, UART, LEDs, Buttons
void board_init(void);
void board_leds(uint32_t mask, uint32_t state);
void board_leds(uint32_t on_mask, uint32_t off_mask);
uint32_t board_uart_send(uint8_t *buffer, uint32_t length);
uint32_t board_uart_recv(uint8_t *buffer, uint32_t length);