当前位置:网站首页>Parallel interface 8255A
Parallel interface 8255A
2022-06-30 12:03:00 【Hua Weiyun】
1 8255A function
- Three 8 Bit parallel input / Output port , It can be determined programmatically
- Can adapt CPU And I/O Requirements for multiple data transmission modes between interfaces
2 8255A Internal structure and pin diagram
8255A Yes 3 Ports ,40 One pin ,3 Ways of working
This is from the teacher's courseware 
Personally, I think the reference books are better

1) Data bus buffer
It's a two-way three state 8 Bit buffer , And CPU The system is connected to the data bus , yes 8255A And CPU The only way to transfer data between . input data 、 Output data 、 The control command words are transmitted through the data bus buffer .
2) Read write control logic
read / The write control logic receives data from CPU Address bus signals and control signals , And issue commands to two control groups (A Group and B Group ). It controls CPU Send the control command or output data to the corresponding port ; Or send the status of the peripheral or the input data from the corresponding port to CPU.
3)A Group and B Group control
A,B and C The way the three ports work is CPU By writing... To the control register A Group and B Group mode control word . port A And port C The height of 4 position (PC~7~-PC~4~.) constitute A Group , from A The group control unit controls it ; port B And port C It's low 4 position (PC~3~-PC~0~) constitute B Group , from B The group control unit controls it .

- port A:PA0~PA7
A Group , Support working methods 0、1、2 - port B:PB0~PB7
B Group , Support working methods 0、1 - port C:PC0~PC7
Only working mode is supported 0
A Group control high 4 position PC4~PC7
B Group control low 4 position PC0~PC3
3 8255A Control word
There are two control words , And write... To the same control port .
- Mode control word

- Set up / Reset control word

4 8255A Operation mode
The way 0: Basic input / Output mode
(1) Two 8 Bit port (A、B) And two 4 Bit port (C On 、 Next ) Can work in this way ;
(2) Any port can input / Output ;
(3) Output data latch , Input data does not latch ;
(4) The input of each port / The output can have 16 Combinations of .
It is suitable for unconditional transmission and query mode interface circuit .The way 1: Gate input / Output mode
(1) The way 1 Next , There are two sets of ports , Each group contains one 8 The number of digits depends on the mouth and 3 Control lines ;
(2) Each group of ports provides interrupt request logic and interrupt allow trigger ;
(3) Two sets of ports can work in the same mode 1;
(4) Input / All output data are locked .
Interface circuit for query and interrupt mode .
The way 2: Two way gated transmission mode
(1) This method can only be used for A Group ;
(2) In this way, there is a 8 Bit bidirectional data port and 5 A control line ;
(3) Input / All output data are locked .
Peripherals for two-way transmission of data .
5 8255A Interface with printer ( The way 0)
working process :
- The host sends the data to the pin DATA~0~~~7~;
- At the same time, the data strobe signal is sent STROBE ;
- The printer is BUSY A busy signal is sent on the signal line ;
- The printer cancels the busy signal after processing the data .
6 LED Nixie tube

- form
The main part is 7 Segment light emitting tube , Clockwise is called a、b、c、d、e、f、g, Some products also come with a decimal point h. - function
Can display 0~9, A~F, And some special characters , Such as -、P etc. . - Two structures


边栏推荐
- zabbix监控TCP连接个数
- 再不上市,旷视科技就熬不住了
- AutoCAD - len command
- NoSQL——Redis的配置与优化
- R language ggplot2 visual Facet: gganimate package is based on Transition_ The time function creates a dynamic scatter graph animation (GIF) and uses the labs function to add a dynamic time title to t
- 爱可可AI前沿推介(6.30)
- After the node is installed in the NVM, the display is not internal or external when the NPM instruction is used
- 服务器常用的一些硬件信息(不断更新)
- EMC surge
- 据说用了这个,老板连夜把测试开了
猜你喜欢

Review the writing software with characteristics

又被 Kotlin 语法糖坑惨的一天

Le talent scientifique 丨 dessins animés qu'est - ce qu'erdma?

线下门店为什么要做新零售?

Alibaba cloud database represented by polardb ranks first in the world

Yolov5 export the pit encountered by onnx

Another miserable day by kotlin grammar

深入解析 Apache BookKeeper 系列:第四篇—背压

It is said that with this, the boss opened the test overnight

The first batch in China! Alibaba cloud native data Lake products have passed the evaluation and certification of the ICT Institute
随机推荐
Using cookie technology to realize historical browsing records and control the number of displays
Re understand oauth2.0 protocol for joint login
R language ggplot2 visual Facet: gganimate package is based on Transition_ The time function creates a dynamic scatter graph animation (GIF) and uses the labs function to add a dynamic time title to t
Evaluation of IP location query interface Ⅲ
又被 Kotlin 语法糖坑惨的一天
治数如治水,数据治理和数据创新难在哪?
学习redis实现分布式锁—–自己的一个理解
一个悄然崛起的国产软件,低调又强大!
MySQL 表的内连和外连
How can c write an SQL parser
Multiparty Cardinality Testing for Threshold Private Set-2021:解读
wallys/IPQ8074a/2x(4×4 or 8×8) 11AX MU-MIMO DUAL CONCURRENT EMBEDDEDBOARD
[cf] 803 div2 A. XOR Mixup
WebView, Scrollview sliding conflict correction
In depth analysis of Apache bookkeeper series: Part 4 - back pressure
Summer vacation study record
使用深度学习进行生物网络分析
There are so many kinds of coupons. First distinguish them clearly and then collect the wool!
go-zero微服务实战系列(八、如何处理每秒上万次的下单请求)
「运维有小邓」用户个人资料管理




