代码搜索:GPIO2
找到约 84 项符合「GPIO2」的源代码
代码结果 84
www.eeworm.com/read/228535/14380204
txt amd_au1200_final_bsdl.txt
-----------------------------------------------------------------------------
-- AU1200.bsdl - IEEE 1149.1 Boundary Scan Description --
--
www.eeworm.com/read/285263/8857689
h key.h
#ifndef __KEY_H__
#define __KEY_H__
#include "71x_lib.h"
#define K1_DOWN 0x0080
#define K2_DOWN 0x0200
#define K3_DOWN 0x0800
#define K4_DOWN 0x2000
#define K5_DOWN 0x8000
inline void Ke
www.eeworm.com/read/450558/7481390
h key.h
#ifndef __KEY_H__
#define __KEY_H__
#include "71x_lib.h"
#define K1_DOWN 0x0080
#define K2_DOWN 0x0200
#define K3_DOWN 0x0800
#define K4_DOWN 0x2000
#define K5_DOWN 0x8000
inline void Ke
www.eeworm.com/read/450558/7481375
c led.c
#include "LED.h"
void LED_Set(int index, enum LEDOPT opt)
{
int data = 0x0400
www.eeworm.com/read/202330/15386055
h led.h
#ifndef __LED_H__
#define __LED_H__
#include "71x_lib.h"
#define LED3 0x0400
#define LED4 0x1000
#define LED5 0x4000
enum LEDOPT {
LED_OFF,
LED_ON,
LED_TOGGLE
};
inline void LED_
www.eeworm.com/read/202330/15386054
c led.c
#include "LED.h"
void LED_Set(u16 Port_Pin, enum LEDOPT opt)
{
switch(opt)
{
case LED_OFF:
GPIO_WordWrite(GPIO2, GPIO_WordRead(GPIO2)&~Port_Pin);
break;
case LED_ON:
GPIO_WordW
www.eeworm.com/read/175348/5347979
c led.c
#include "LED.h"
void LED_Set(int index, enum LEDOPT opt)
{
int data = 0x0400
www.eeworm.com/read/276987/4159573
c led.c
#include "LED.h"
void LED_Set(int index, enum LEDOPT opt)
{
int data = 0x0400