A multiple pin digital output. More...
#include <PortOut.h>
Public Member Functions | |
| PortOut (PortName port, int mask=0xFFFFFFFF) | |
| Create a PortOut, connected to the specified port. More... | |
| void | write (int value) |
| Write the value to the output port. More... | |
| int | read () |
| Read the value currently output on the port. More... | |
| PortOut & | operator= (int value) |
| A shorthand for write() More... | |
| PortOut & | operator= (PortOut &rhs) |
| A shorthand for read() More... | |
| operator int () | |
| A shorthand for read() More... | |
A multiple pin digital output.
Example:
| PortOut | ( | PortName | port, |
| int | mask = 0xFFFFFFFF |
||
| ) |
| operator int | ( | ) |
| PortOut& operator= | ( | int | value | ) |
| int read | ( | void | ) |