Welcome![Sign In][Sign Up]
Location:
Search - to read input pin

Search list

[ARM-PowerPC-ColdFire-MIPSkey_led

Description: 芯片为S3C2410,GPF4-7 配置为输出口,用于LED显示。GPF0/2和GPG3/11 配置为输入口,根据从引脚读出的数据判断是哪个小键盘按下,并控制相应LED灯的显示-Chip for the S3C2410, GPF4-7 is configured to output for the LED display. GPF0/2 and is configured to input GPG3/11, according to read out from the pin data to determine which small keyboard press, and the corresponding control LED lights display
Platform: | Size: 24576 | Author: bot | Hits:

[SCMC51

Description: 由8051组成的单片机系统通常情况下,P0口分时复用作为地址、数据总线,P2口提供A15-A8即高8位地址,P3口用作第二功能,只有P1口通常用作I/0口。P1口是8位准双向口,它的每一位都可独立地定义为输入或输出,因此既可作为8位的并行I/O口,也可作为8位的输入输出端。当工作在输入方式时,对应位的锁存器必须先置1,才能正确地读到引脚上的信号,否则,执行读引脚指令时,若对应位的锁存器的值为0,读的结果永远为0。-By 8051, composed of single-chip microcomputer system under normal circumstances, P0 timeshare I reuse as address, data bus, P2 I provide A15-A8 high eight address, P3 mouth for the second function, I usually only P1 for I/0 I. P1 I was eight quasi-two-way port, it can be independent of each and every defined as input or output, it can be used as 8-bit parallel I/O port, can also be used as 8-bit input and output side. When the work in the input, the corresponding bit latch must first buy one in order to correctly read the signal pin, or pin the implementation of reading instruction, if the corresponding bit latch the value of 0, Reading the results of Forever to 0.
Platform: | Size: 1024 | Author: 张理 | Hits:

[SCMduqujianpan

Description: 这是读取键盘的子程序 主要内容为:如何定义位,如何得到按键状态,防止键盘干扰的方法 以及如何处理读入的键值 思路:首先在某一引脚输出一个电平,然后读入引脚的电平,如果刚好相反 那么可能有按键发生,但是不排除干扰,为了防止干扰,需要软件延时20ms 消除干扰,然后,等待用户释放,否则,可能重复的到某种结果,发生意外情况   应该说键盘输入是单片机外部指令输入的重要途径,因此如何设计键盘以及键盘的工作原理、读键盘的方法、键盘的抗干扰设计等在单电能机系统设计中占有重要地位。这个例子在系统硬件的基础上设计了软件查询程序、软件延时程序(防止干扰),大致讲述了一种查询式键盘的工作原理与读取方式。 -This is the subroutine to read the keyboard The main contents are: how to define, and how to get keys, and the methods to prevent interference with the keyboard As well as how to deal with the key read Ideas: First of all, the output of a pin in a certain level, and then read the pin level, if the opposite Then the keys may have occurred, but does not rule out the interference, in order to prevent interference, the need for software 20ms delay The elimination of interference, and then wait for the release of the user, otherwise, may be repeated to a certain result, the occurrence of unforeseen circumstances It should be said that the external keyboard input is a single chip an important way to enter commands, so how to design the keyboard and the keyboard work of the principle of the method of reading the keyboard, the keyboard design of the anti-jamming power in a single machine system design plays an important role. This example hardware in the system based on the query d
Platform: | Size: 3072 | Author: zhendongzhao | Hits:

[SCMdisplay

Description: 用74HC595驱动两个数码管,属于静态显示, 74HC595是一个三态输出8位移位/锁存器, SCK是时钟输入引脚,接PD6 在SCK的上升沿SER的上的电平信号被读入内部寄存器最底位接PD4 RCK是锁存控制脚,在上升沿内部寄存器的内容被锁存到相应输出脚的锁存器中,接PD5-74HC595 driven by two digital tube, is a static display, 74HC595 is a three-state output 8-bit shift/latch, SCK is the clock input pin, and then in the PD6 the rising edge of SCK on the SER-level signals are read into the most at the end of the internal register access PD4 RCK-bit latch control pin is in the rising edge of the contents of internal registers to be latched to the corresponding output pin of the latch, and then PD5
Platform: | Size: 2048 | Author: 帮主 | Hits:

[Windows Developport1

Description: 本软件可通过微机并口向用户提供多达12路的标准TTL脉冲信号,同时可进行5路的标准TTL脉冲信号的波形显示。 软件的使用方法极为简单。输出信号时,只要选中或取消引脚号,就能在相应的引脚得到相应的脉冲信号(统一为选中为高电平,取消为低电平),“清零”按钮为对应该组的所有信号清零。 输入信号的波形显示,按“开始”按钮为开始进行显示,“停止”为暂停。 在设置面板中,“数据读入时间间隔”为读入时间的设定。“并行打印端口设置”为显示微机中存在的可用打印端口,并可以设定本软件当前要使用的端口(如只有一个可用端口,就为缺省端口,如有多个可用端口软件自动选择最后一个可用端口为当前使用端口)。 -This software is available through computer parallel port to provide users with up to 12 standard TTL pulse signal path, while the standard 5-way can be TTL pulse signal waveform display. The software is extremely simple to use. The output signal, as long as the select or cancel the pin number, the corresponding pin will be able to get a corresponding pulse signal (uniform selected as high as the abolition of the low), "Clear" button for the right should be group cleared all signals. Input signal waveform display, click "Start" button to begin to display, "stop" for pause. In the settings panel, "data read time interval" to read into the time settings. "Parallel printer port settings" to show the existence of available computer in the printing port, and can set the software to use the current port (if there is only one available port on the default port, if more available ports software to automatically select the last one available port for the current use of port).
Platform: | Size: 216064 | Author: 刘磊 | Hits:

[SCM4830wrht24xx

Description: HT24 系列的EEPROM 总共8 个管脚,三个为芯片地址脚A0、A1、A2,在单片机对它进行操作时,从SDA 输入A0、A1、A2 数据和芯片外部A0、A1、A2 所接地址需一一对应。一个为芯片写保护脚WP,WP 脚接低电平时,芯片可进行读写操作;WP 脚接高时,芯片只可进行读,不可进行写。 另外两个管脚为电源脚VCC,VSS。 用单片机对HT24 系列的EEPROM 进行控制时,HT24 系列的EEPROM 的外部管脚VCC、VSS、WP、A0、A1、A2 根据需要,对应接上,SDA、SCL 接到单片机控制脚上。-HT24 Series EEPROM total of 8 pins, three pins for the chip address A0, A1, A2, in the microcontroller to operate it, from SDA input A0, A1, A2, and chip external data A0, A1, A2 of the Then one correspondence address must be in. One for the chip, write-protect pin WP, WP feet then low, the chip can be read and write operations WP pin is high then, the chip can only be read, not write. The other two pins for the power pin VCC, VSS. With the microcontroller on the HT24 Series EEPROM control when, HT24 Series EEPROM external pin VCC, VSS, WP, A0, A1, A2 according to the needs of the corresponding connected, SDA, SCL receives SCM control feet .
Platform: | Size: 1024 | Author: 张钧 | Hits:

[DocumentsSPI-

Description: 模拟spi驱动flash SO:串行数据输出脚,在一个读操作的过程中,数据从SO脚移位输出。在时钟的下降沿时数据改变。 SI: 串行数据输入脚,所有的操作码、字节地址和数据从SI脚写入,在时钟的上升沿时数据被锁定。 SCK:串行时钟,控制总线上数据输入和输出的时序。 /CS :芯片使能信号,当其为高电平时,芯片不被选择,SO脚为高阻态,除非一个内部的写操作正在进行,否则芯片处于待机模式 当引脚为低电平时,芯片处于活动模式,在上电后,在任何操作之前需要CS引脚的一个从高电平到低电平的跳变。 /WP:当WP引脚为低时,芯片禁止写入,但是其他的功能正常。当WP引脚为高电平时,所有的功能都正常。当CS为低时,WP变为低可以中断对芯片的写操作。但是如果内部的写周期已经被初始化后,WP变为低不会对写操作造成影响。 -Analog spi-driven flash SO: Serial data output pin, in a read operation in the process of shifting the output data from the SO pin. The falling edge of the clock when the data changes. SI: Serial data input pin, all opcodes, byte addresses, and write data from the SI pin, the rising edge of the clock when the data is locked. SCK: Serial Clock, control bus data input and output timing. / CS: chip enable signal, when it is high, the chip is not selected, SO feet for the high-impedance state, unless an internal write operation is in progress, otherwise the chip is in standby mode when the pin is low, the chip is active mode, power-on after the CS pin is required before any operation of the one from high to low transition. / WP: When the WP pin is low, the chip ban writing, but other functions properly. When the WP pin is HIGH, all functions are normal. When CS is low, WP into a low, interrupted write operations on the chip. However, if the internal write cycle has been init
Platform: | Size: 21504 | Author: 小文 | Hits:

[Other Embeded programC

Description: 采用IO口模拟I2C总线时序的方式,将数字信号送到芯片内部,通过芯片内部的DA转换功能,根据参考电压,输出一个电压值。然后将DA转换的结果经过闭环连接到AD的输入管脚,经过I2C的读操作,可以读出AD转换的值。-Use IO I I2C bus timing simulation of the way, the digital signal sent to the chip, through the DA conversion chip, according to the reference voltage, outputs a voltage. The result of DA conversion and then loop through the input pin to connect to AD through I2C read operation, you can read the value of AD conversion.
Platform: | Size: 29696 | Author: 王记存 | Hits:

[uCOSbootloader

Description: * Description : This Program allows an AVR with bootloader capabilities to * Read/write its own Flash/EEprom. To enter Programming mode * an input pin is checked. If this pin is pulled low, programming mode * is entered. If not, normal execution is done from $0000 * "reset" vector in Application area.-* Description : This Program allows an AVR with bootloader capabilities to * Read/write its own Flash/EEprom. To enter Programming mode * an input pin is checked. If this pin is pulled low, programming mode * is entered. If not, normal execution is done from $0000 * "reset" vector in Application area.
Platform: | Size: 38912 | Author: majid | Hits:

[SCMjianpan24

Description: 24键键盘程序,引脚说明及连线 列线:p4.0 p4.1 p4.2 p4.3 作为输入 行线:p4.4 p4.5 p4.6 p4.7 p6.5 p6.6作为输出 1、检测当前是否有键被按下。检测的方法是P4.4-P4.7,P6.5,P6.6输出全"0",读取P4.0-P4.3的状态,若P4.0-P4.3为全"1",则无键闭合,否则有键闭合。 2、去除键抖动。当检测到有键按下后,延时一段时间再做下一步的检测判断。 3、若有键被按下,应识别出是哪一个键闭合。方法是对键盘的行线进行扫描。P4.4-P4.7,P6.5,P6.6按下述6种组合依次输出: P6.6 111110 P6.5 111101 P4.7 111011 P4.6 110111 P4.5 101111 P4.4 011111 在每组行输出时读取P4.0-P4.3,若全为"1",则表示为"0"这一行没有键闭合,否则有键闭合。 由此得到闭合键的行值和列值,然后可采用计算法或查表法将闭合键的行值和列值转换成所定义的键值。 4、为了保证键每闭合一次CPU仅作一次处理,必须去除键释放时的抖动。- 24-key keyboard program, Pin description and connection Column line: p4.0 p4.1 p4.2 p4.3 as input Line line: p4.4 p4.5 p4.6 p4.7 p6.5 p6.6 as output 1, testing whether the current key is pressed. Detection method is to P4.4-P4.7, P6.5, P6.6 output all "0", read the state of P4.0-P4.3, P4.0-P4.3 as if all "1" , no key closure, or a button closure. 2, remove the key jitter. When a key is detected, the delay time to do some testing to determine the next step. 3, if a key is pressed, which should identify a key closed. The line is the keyboard scan lines. P4.4-P4.7, P6.5, P6.6 followed by combination of the following six kinds of output: P6.6 111110 P6.5 111101 P4.7 111011 P4.6 110111 P4.5 101111 P4.4 011111 To read each line of output, P4.0-P4.3, if all is "1", then "0" key to this line is not closed, or have key closed. The resultant closure of the row and column key value, and then calculation or look-up table can be closed keys to row and column values into a
Platform: | Size: 2048 | Author: 赵盈盈 | Hits:

[SCMAT45DB161D

Description: SPI接口的FLASH ROM AT45DB161D的驱动方法 AT45DB161D允许简单的在系统重新编程,而无需输入高编程电压。芯片可以采用2.5V~3.6V或2.7V~3.6V单电源供电,进行编程与读取操作。它可以通过#CS来进行使能,并通过三线接口(SI、SO、SCK)进行数据通信。-To allow for simple in-system reprogrammability, the AT45DB161D does not require high input voltages for programming. The device operates from a single power supply, 2.5V to 3.6V or 2.7V to 3.6V, for both the program and read operations. The AT45DB161D is enabled through the chip select pin (CS) and accessed via a three-wire interface consisting of the Serial Input (SI), Serial Output (SO), and the Serial Clock (SCK).
Platform: | Size: 1285120 | Author: 曹贺 | Hits:

[SCMFrequency

Description: PIC (PIC16F886) 做的简单频率计 用TMR0定时1s,将待测信号从T1CKI脚输入,用TMR1进行计数,读出TMR1H,TMR1L的值就是频率 单片机:PIC16F886 显示:LCD1602 编程语言:PIC C 附Proteus仿真。-PIC (PIC16F886) to do a simple frequency counter TMR0 timer with 1s, the test signal input pin from T1CKI with TMR1 count, read TMR1H, TMR1L value is the frequency of the microcontroller: PIC16F886 display: LCD1602 with Proteus simulation.
Platform: | Size: 118784 | Author: 高原 | Hits:

[SCMsccb-COMSprogr

Description: SCCB协议和I2C协议的区别 SCCB是简化的I2C协议,SIO-l是串行时钟输入线,SIO-O是串行双向数据线,分别相当于I2C协议的SCL和SDA。SCCB的... -SCCB protocol and I2C protocol differences SCCB is to simplify the I2C protocol, SIO-l is the serial clock input line, SIO-O is a bidirectional serial data line, respectively, equivalent to the I2C protocol SCL and SDA. SCCB and I2C bus timing is basically the same, the response signal ACK is called a transmission unit of the first nine, divided into Don t care and NA. Don t care bits generated by the slave NA bits generated by the master, the SCCB does not support multi-byte read and write, NA bit must be high. In addition, SCCB did not repeat the initial concept, so the SCCB read cycle, when the host sending the on-chip register address, you must send a bus stop conditions. Otherwise, send the read command, the slave will not respond to signals generated Don t care. SCCB as I2C and some nuances, so the use of GPIO analog SCCB bus way. SCL pin is always connected to the output mode is set, and the SDA pin is connected to the data transfer process, by setting the value of IODIR
Platform: | Size: 1024 | Author: herry_lee | Hits:

[SCM1G-51dpj-SDcard-read-pic-to-screem

Description: 彩屏使用 ILI9235 主控芯片 液晶插针J2使用了如下信号: 数据端: AD0-AD7 或者 DB0-DB7 控制信号 : S-指令/数据 WR-写控制 CS-使能 RST-复位 没有使用RD (读控制) 主板上一个稳压芯片 LM1117-3.3 作用是把5V电压转换为3.3V 74hc245 用户电平转换 SD 部分使用4个数据线 使用SD卡的SPI模式 CS-使能 SCK-时钟输入 DOUT-数据输出 DIN-数据输入 -Use the ILI9235 master chip LCD color screen pin J2 signal as follows: data end: AD0-AD7 or DB0-DB7 control the signal: S-instruction/data the WR-write control CS-enable RST-reset did not use the RD (read control) on the motherboard voltage regulator chip LM1117-3.3 5V voltage conversion to convert 3.3V 74hc245 user level the SD section uses four data lines using the SD card SPI mode CS-enable SCK-clock input the DOUT-data output DIN-data input
Platform: | Size: 25600 | Author: 段雄 | Hits:

[VHDL-FPGA-Verilogasynram

Description: 设计32×6位的RAM,其结构图如图2所示。其中,adr为地址引脚,cs、wr、rd分别为片 选、写和读引脚,din_out为输入输出引脚。当cs=0且wr由低到高(上升沿)时,din上的输 入数据写入adr指示的单元中;当cs=0且rd=0时,adr对应单元的数据在dout数据线上读出。 因wr在上升沿时写入数据,因此可以采用TEC-CA平台上的单脉冲按钮作为wr。-Design 326 of RAM, the structure shown in Figure 2. Which, adr as address pins, cs, wr, rd, respectively, for the chip select, write and read the pin, din_out to input or output pin. When cs = 0 and wr from low to high (rising) when, din input data is written on the instructions of the unit adr when cs = 0 and rd = 0 时, adr corresponding data element in the data line read dout out. Because when data is written on the rising edge wr, so you can use TEC-CA single pulse button on the platform as a wr.
Platform: | Size: 338944 | Author: Bingo | Hits:

[Internet-Networkpin

Description: 拼音输入法 tm.txt =>输入法原始编码表例子 码表即字典:应按小=>大排序 bm.zip =>输入法码表建立源程序 ime.zip=>IME输入法源程序 tminstall.zip=>安装输入法源程序 imm.h multimon.h winhtml.zip=>VC下的HTML编译库 请将imm.h和multimon.h拷贝到vc++下的include目录下 用户应在readmb函数中加入自己的码表读取功能 -Source code of Chinese PinYin input method.-Pinyin input method tm.txt => Input Method original encoding table example code table that the dictionary: should small => Big Sort bm.zip => Enter the code table to establish the source ime.zip => IME input source tminstall. zip => Installation input source imm.h multimon.h winhtml.zip => HTML compiled under VC library set imm.h and multimon.h vc++ copy to include directory under the user should add their own functions in readmb The code table read function-Source code of Chinese PinYin input method.
Platform: | Size: 624640 | Author: modi | Hits:

[assembly languagerar

Description: it can be for dsp ,it called serial and very useful for everybody read and study abouut dsp and so on,This feature is available only on the SST39VF800Q. This pin functions as power supply pin for input/output buffers. It should be tied to VDD(2.7-3.6V) in a 3.0V-only system.-it can be for dsp ,it called serial and very useful for everybody read and study abouut dsp and so on,This feature is available only on the SST39VF800Q. This pin functions as power supply pin for input/output buffers. It should be tied to VDD(2.7-3.6V) in a 3.0V-only system. It should be tied to a 5.0V±10 (4.5-5.5V) power supply in a mixed voltage system environment where flash memory has to be interfaced with 5V system chips. The VDDQpin is not offered on the SST39VF800, instead it is a No Connect pin.
Platform: | Size: 79872 | Author: 赵会强 | Hits:

[DSP program3.2.3-GPIO

Description: DM643有64个IO引脚,部分引脚与其他功能服用,GPIO可以配置为输入和输出,用户可以通过内部寄存器来读取引脚的状态-DM643 has 64 IO pin, part of the pin and other functions, GPIO can be configured for input and output, the user can be read by internal registers to the state of the pin
Platform: | Size: 773120 | Author: 李浩 | Hits:

CodeBus www.codebus.net