代码搜索:端口控制
找到约 10,000 项符合「端口控制」的源代码
代码结果 10,000
www.eeworm.com/read/28911/1012723
+
/*-----------------------------------------------
名称:IO口信号输入
内容:通过读入P3端口的电平控制P1口,用LED显示
该程序是学习如何读入IO电平信息
------------------------------------------------*/
#include //包含头文件,一
www.eeworm.com/read/39267/1126185
vhd reg8_1.vhd
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity reg8_1 is
port(d:in std_logic_vector(7 downto 0); ----数据输入
oe:in std_logic; ----三态控制端口
www.eeworm.com/read/39267/1126515
vhd latch8_1.vhd
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity latch8_1 is
port(d:in std_logic_vector(7 downto 0); ----数据输入
oe:in std_logic; ----三态控制端口
www.eeworm.com/read/328695/3438780
vhd reg8_1.vhd
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity reg8_1 is
port(d:in std_logic_vector(7 downto 0); ----数据输入
oe:in std_logic; ----三态控制端口
www.eeworm.com/read/328695/3438935
vhd latch8_1.vhd
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity latch8_1 is
port(d:in std_logic_vector(7 downto 0); ----数据输入
oe:in std_logic; ----三态控制端口
www.eeworm.com/read/295280/8171378
h io_define.h
#ifndef _IODEFINE
#define _IODEFINE
#include
//定义控制端口
#define Ctrl_Port P6OUT
#define Ctrl_DIR P6DIR
#define Ctrl_INPORT P6IN
#define PALE BI
www.eeworm.com/read/174375/9590164
0335
;msp430f135适用,
;author:bellrabbit
VIIC_M1.0软件包
⑴ MSP430各寄存器的定义:
;*************************************
;定义TP0.0--TP0.5各端口的各种控制寄存器
;*************************************
;
TPD .set
www.eeworm.com/read/414976/11088796
c key.c
#include "public.h"
#include "p_main.H"
/* LF2407.H 的外部变量 */
/*IO端口B数据和方向控制寄存器*/
extern unsigned int *PBDATDIR;
extern unsigned int *PEDATDIR;
extern unsigned int *PFDATDIR;
uint Ke
www.eeworm.com/read/185477/6336880
c testboard_rec.c
#include
#include
/**************端口定义**************
************************************/
#define ready RA0 //用户IO端口0
#define port1 RA1 //用户IO端口1
#define SCB RA
www.eeworm.com/read/311539/13629598