代码搜索:LEDS
找到约 3,223 项符合「LEDS」的源代码
代码结果 3,223
www.eeworm.com/read/152843/5658029
makefile
#
# Makefile for the linux kernel.
#
# Object file lists.
obj-y := common.o dc21285.o dma.o isa-irq.o time.o
obj-m :=
obj-n :=
obj- :=
pci-$(CONFIG_ARCH_CATS) += cats-pci.o
pci-$(CONFIG_ARC
www.eeworm.com/read/7082/106782
h lighttalk2.h
#ifndef _LIGHT_TALK_2_H_
#define _LIGHT_TALK_2_H_
#include
/*******LEDs Ports*************************************/
# define LEDS0
# define LEDS1
#define LED_EVEN PORTB
#define
www.eeworm.com/read/417276/10997833
c led_message.c
/*********************************************************************
*
* Message via 8 LEDs
*
*********************************************************************
* FileN
www.eeworm.com/read/7082/106793
c lighttalk2.c
#include "LightTalk2.h"
void iniLeds()
{
LEDS0DDR = 0xff;
LEDS1DDR = 0xff;
LEDS0VAL = 0xff;
LEDS1VAL = 0xff;
CTRLDDR = 0xff;
CTRLPORT = 0xff;
}
void ledsTurnOn(INT2CHAR witch)
{ _l
www.eeworm.com/read/128531/5984573
makefile
#
# Makefile for the linux kernel.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something
www.eeworm.com/read/125688/6023400
h keyboard.h
/*
* linux/include/asm-arm/arch-rpc/keyboard.h
*
* Keyboard driver definitions for RiscPC architecture
*
* (C) 1998 Russell King
*/
#include
#include
#include
www.eeworm.com/read/166793/5472481
desc router_base.desc
include modules{
GENERIC_COMM;
MAIN;
AM_ROUTE;
CLOCK;
LEDS;
};
MAIN:MAIN_SUB_INIT AM_ROUTE:AM_ROUTE_INIT
MAIN:MAIN_SUB_START AM_ROUTE:AM_ROUTE_START
AM_ROUTE:ROUTE_SUB_INIT GENERIC_COMM:COMM_IN