initial commit
This commit is contained in:
14
sdk/software/bsp/include/led.h
Normal file
14
sdk/software/bsp/include/led.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef LED_H
|
||||
#define LED_H
|
||||
|
||||
#include "common_func.h"
|
||||
|
||||
#define LEDS_BASEADDR 0xbf20f300
|
||||
|
||||
#define LEDS_GPIO_DATA (LEDS_BASEADDR + 0x00)
|
||||
|
||||
// set leds pin
|
||||
void setLedPin(uint32_t data);
|
||||
void toggleLedPin(uint32_t data);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user