I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf ·...

Post on 13-Jun-2020

6 views 0 download

Transcript of I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf ·...

I/O Systems

PortThe device communicates with the machine via

a connection point, or port—for example, a serial port.

RJ45

RJ11

USB

BusA bus is a set of wires and a rigidly defined protocol that specifies a set of messages that can be sent on the wires.

Daisy ChainIDE

PCI (Peripheral Component Interconnect) bus

ControllerA controller is a collection of electronics that can operate a port, a bus, or a device.

SCSI

https://www.pctechguide.com/interfaces/scsi-explained-with-pictures

SATA

Synchronous / Asynchronous

Blocking

Node.js

https://stackoverflow.com/questions/27659116/node-js-sync-vs-async/27659267

Non-blocking

Async / Await (C#)

https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/async/