代码搜索结果
找到约 10,000 项符合
LED 的代码
led.h
#ifndef LED_H
#define LED_H
#define LED7 0x80 /* top (or furthest right) LED */
#define LED6 0x40
#define LED5 0x20
#define LED4 0x10
#define LED3 0x08
#define LED2 0x04
#define LED1 0x02
#d
led.c
/*
* linux/arch/sh/stboards/led.c
*
* Copyright (C) 2000 Stuart Menefy
*
* May be copied or modified under the terms of the GNU General Public
* License. See linux/COPYIN
led.c
/*
* Chassis LCD/LED driver for HP-PARISC workstations
*
* (c) Copyright 2000 Red Hat Software
* (c) Copyright 2000 Helge Deller
*
* This program is free s
led.flash
S00C00006C65642E666C61736882
S32500000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF567FFF020015571000567FFF0200155756
S325000000201000567FFF02001557100000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6C
S325000000
led.c
// 包含必要的头文件
#include
// 将较长的标识符定义成较短的形式
#define SysCtlPeriEnable SysCtlPeripheralEnable
#define SysCtlPeriDisable SysCtlPeripheralDisable
#define GPIOPinTypeOut
led.h
#ifndef _LED_H_
#define _LED_H_
// 定义LED名称
#define LED1 0x01
#define LED2 0x02
#define LED3 0x04
// 初始化指定的LED
extern void LED_Init(unsigned char ucLED);
led.c
/*
* (C) Copyright 2004, Psyent Corporation
* Scott McNutt
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is f
led.c
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2007
led.c
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2007
led.h
// LED.h: interface for the CLED class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_LED_H__99F4E222_5B24_11D4_B57D_000021E33FFC__INCLUDED_)
#define