Specifications of the input and output devices
Summary
Device: Toggle Switches
Data port address: SWS = 0x90
Function:
This device is a bank of eight toggle switches. When the data port SWS is read, this device returns a byte of data each bit of which indicates the state of a switch. The current value of the data port is shown in the ‘Output’ box. A switch toggles when clicked.
Example:
Device: Keypad
Data port address: |
Get Embedded Systems and Computer Architecture now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.