代码搜索结果
找到约 10,000 项符合
GPIO 的代码
gpio.c
/******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
* File Name : gpio.c
* Author : MCD Application Team
* Date First Issued : 06/08/2003
* Descr
gpio.h
/******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
* File Name : gpio.h
* Author : MCD Application Team
* Date First Issued : 08/06/2003
* Descr
gpio.h
#ifndef GPIO_PORTF_HEADER
#define GPIO_PORTF_HEADER
#include "..\sys_event.h"
#include "..\..\core_event\core_event.h"
#include "..\..\intrmgr\evtmgr.h"
#define LED1_ON 0x1UL
#d
gpio.c
#include "gpio.h"
void init_gpio(void)
{
// enable PB1~PB3 input buffer
PORTFIO_INEN = 0x1c;
// make LED1~LED6 as output
PORTFIO_DIR = 0x0fc0;
// make LED1~LED6 off
PORTFIO_CLE
gpio.prj
# Standard Project file created by RVDEBUG. Do not hand edit unless
# you know what you are doing. Use the Settings Window
# Copyright (c) 2002 - ARM Ltd
$sARM_C22.stp
[PROJECT]
author_=USB00423
gpio_in.tra
*** Creating Trace Output File '.\Output\GPIO_IN.tra' Ok.
### Preparing for ADS-LD.
### Creating ADS-LD Command Line
### List of Objects: adding '".\output\stm32f10x.o"'
### List of Objects: addin