代码搜索:LED控制
找到约 10,000 项符合「LED控制」的源代码
代码结果 10,000
www.eeworm.com/read/205005/15330450
pwm-led
www.eeworm.com/read/203023/15367764
led8
www.eeworm.com/read/202330/15385988
o led.o
www.eeworm.com/read/202330/15386014
o led.o
www.eeworm.com/read/202330/15386054
c led.c
#include "LED.h"
void LED_Set(u16 Port_Pin, enum LEDOPT opt)
{
switch(opt)
{
case LED_OFF:
GPIO_WordWrite(GPIO2, GPIO_WordRead(GPIO2)&~Port_Pin);
break;
case LED_ON:
GPIO_WordW
www.eeworm.com/read/202330/15386055
h led.h
#ifndef __LED_H__
#define __LED_H__
#include "71x_lib.h"
#define LED3 0x0400
#define LED4 0x1000
#define LED5 0x4000
enum LEDOPT {
LED_OFF,
LED_ON,
LED_TOGGLE
};
inline void LED_
www.eeworm.com/read/202330/15386073
o led.o
www.eeworm.com/read/202330/15386121
o led.o
www.eeworm.com/read/202239/15388688
h led.h
#ifndef _LED_H
#define _LED_H
typedef enum etagLED_SEL
{
//LED_CAN1_S = 0,
//LED_CAN1_E,
//LED_CAN2_S,
//LED_CAN2_E,
LED_RUN,
LED_232,
LED_485
}eLED_SEL;
void Led_Init(void);
v
www.eeworm.com/read/202239/15388695
c led.c
#include "configLPC.h"
#include "Led.h"
typedef struct tagLEDCTL
{
unsigned long dwLenCon;
volatile unsigned long* pIoPin;
volatile unsigned long* pIoSet;
volatile unsigned long* pIoClr;
}LEDC