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

14
I/O Systems

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

Page 1: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

I/O Systems

Page 2: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

PortThe device communicates with the machine via

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

Page 3: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

RJ45

RJ11

Page 4: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

USB

Page 5: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

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.

Page 6: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

Daisy ChainIDE

Page 7: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

PCI (Peripheral Component Interconnect) bus

Page 8: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

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

Page 9: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

SCSI

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

Page 10: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

SATA

Page 11: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

Synchronous / Asynchronous

Page 12: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

Blocking

Node.js

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

Page 13: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

Non-blocking

Page 14: I/O Systems - pioneer.netserv.chula.ac.thpioneer.netserv.chula.ac.th/~achatcha/2301371/13.pdf · PCI (Peripheral Component Interconnect) bus. Controller A controller is a collection

Async / Await (C#)

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