|
Embedded Template Library 1.0
|
#include <io_port.h>
Public Types | |
| typedef volatile T * | pointer |
| typedef volatile const T * | const_pointer |
| typedef volatile T & | reference |
| typedef volatile const T & | const_reference |
Public Types inherited from etl::iterator< ETL_OR_STD::output_iterator_tag, T > | |
| typedef T | value_type |
| typedef ptrdiff_t | difference_type |
| typedef T * | pointer |
| typedef T & | reference |
| typedef ETL_OR_STD::output_iterator_tag | iterator_category |
Public Member Functions | |
| io_port_wo () | |
| Default constructor. | |
| io_port_wo (void *address_) | |
| Constructor. | |
| io_port_wo (const io_port_wo &other_) | |
| Copy Constructor. | |
| io_port_wo & | operator= (const io_port_wo &other_) |
| Assignment. | |
| void | set_address (void *address_) |
| Set the IO port address. | |
| pointer | get_address () |
| Get the IO port address. | |
| const_pointer | get_address () const |
| Get the IO port address. | |
| void | write (T value_) |
| Write. | |
| void | operator= (T value) |
| Write. | |
| io_port_wo & | operator* () |
| Write. | |
| io_port_wo & | operator++ () |
| Increment. | |
| io_port_wo | operator++ (int) |
| Write. | |
Write only port. Specialisation for dynamic addresses.