代码搜索结果
找到约 10,000 项符合
LED 的代码
led.c
#include
#include
#define PORTBIT(adr, bit) ((unsigned)(&adr)*8+(bit))
volatile bit button @ PORTBIT(PORTB, 1);
const char Msg[] = {"This is a string\0"};
int sub1(int i,
led.c
/*--------------------------------------------------------*/
/* WQ21ST SOFTWARE STUDIO. */
/*--------------------------------------------------------*/
/* LED test for EVM
led.h
/*--------------------------------------------------------*/
/* WQ21ST SOFTWARE STUDIO. */
/*--------------------------------------------------------*/
/*
LED test inclu
led.c
#include "LED.h"
void LED_Set(int index, enum LEDOPT opt)
{
int data = 0x0400
led.h
#ifndef __LED_H__
#define __LED_H__
#include "71x_lib.h"
enum LEDOPT {
LED_OFF,
LED_ON,
LED_TOGGLE
};
inline void LED_Init(void)
{
GPIO_Config(GPIO2, 0x5400, GPIO_OUT_PP);
GPIO_W
led.__i
-c --device DARMST -g -O0 --apcs=interwork -I "d:\Keil\ARM\INC\ST\71x" -o ".\output\led.o" --omf_browse ".\output\led.crf" --depend ".\output\led.d" "LED.c"
led.d
.\output\led.o: LED.c
.\output\led.o: LED.h
.\output\led.o: d:\Keil\ARM\INC\ST\71x\71x_lib.h
.\output\led.o: d:\Keil\ARM\INC\ST\71x\71x_map.h
.\output\led.o: d:\Keil\ARM\INC\ST\71x\71x_conf.h
.\o