Can a bit-manipulation instruction be executed on the port?
Latest Updated:03/18/2009
Question:
When a particular bit of an I/O port is specified as an o/p port can a bit-manipulation instruction be executed on that port ?
Answer:
Yes. The port data registers (DRs) can be read or written to at any time and can be manipulated with bit-manipulation instructions.The data direction registers (DDRs) are write-only registers and so cannot be manipulated with bit-manipulation instructions.
Suitable Products
H8S Family |