Device register
Encyclopedia
A Device Register is the view any device presents to a programmer
Programmer
A programmer, computer programmer or coder is someone who writes computer software. The term computer programmer can refer to a specialist in one area of computer programming or to a generalist who writes code for many kinds of software. One who practices or professes a formal approach to...

.
Each programmable bit in the device is presented with a logical address
Logical address
In computing, a logical address is the address at which an item appears to reside from the perspective of an executing application program....

 and it appears as a part of a byte
Byte
The byte is a unit of digital information in computing and telecommunications that most commonly consists of eight bits. Historically, a byte was the number of bits used to encode a single character of text in a computer and for this reason it is the basic addressable element in many computer...

in the device registers. Then programming of these bits can be achieved by reading from or writing to these device registers.
Most devices have at least these two device registers:
  1. Data Register: to which the data to be input/output is read from/written to the device.
  2. Control/Status: Which selects/shows the mode of operation of the device.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK