代码搜索结果
找到约 10,000 项符合
GPIO 的代码
gpio.h
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2004.4.26
\************************
gpio.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
gpio.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
gpio.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
gpio.h
/* IO defintions HDI */
#ifndef GPIO_H_
#define GPIO_H_
#include
#define LEDPORT (PORTC)
#define LEDDDR (DDRC)
#define LED0 (1
gpio.c
#include
#include "gpio.h"
void gpio_init(void)
{
LEDPORT |= ( LED0 | LED1 | LED2 ); // all off
LEDDDR |= ( LED0 | LED1 | LED2 ); // set as output
}
void gpio_set_led(
gpio.cmd
/*
//
// TMDX BETA RELEASE
// Intended for product evaluation purposes
//
//###########################################################################
//
// FILE: EzDSP_RAM_lnk.cmd
gpio.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectName="gpio"
ProjectDir="C:\ti\myprojects\gpio\gpio\"
ProjectType=Executable
CPUFamily=TMS