Files

30 lines
906 B
C

#ifndef _LED_H
#define _LED_H
#include "sys.h"
//////////////////////////////////////////////////////////////////////////////////
//This program is for educational purposes only, without the author's permission, may not be used for any other purpose
//ALIENTEK STM32F407 Development Board
//LED driver code
//Hot Atomic @ALIENTEK
//Forum: www.openedv.com
//Date created: 2014/6/10
//Version: V1.0
//All rights reserved pirated reserved.
//Copyright(C) Guangzhou wing electronic technology limited company 2014-2024
//All rights reserved
//////////////////////////////////////////////////////////////////////////////////
//LED port definitions
#define BD_RUN_LED PEout(1)
#define ALM_LED PEout(7)
#define RUN_LED PEout(8)
#define SOC_3_LED PEout(9)
#define SOC_2_LED PEout(10)
#define SOC_1_LED PEout(11)
#define SOC_0_LED PEout(12)
void LED_Init(void); //Initialize
#endif