|
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::input_iterator_tag, T > | |
| typedef T | value_type |
| typedef ptrdiff_t | difference_type |
| typedef T * | pointer |
| typedef T & | reference |
| typedef ETL_OR_STD::input_iterator_tag | iterator_category |
Public Member Functions | |
| io_port_ro () | |
| Default constructor. | |
| io_port_ro (void *address_) | |
| Constructor. | |
| io_port_ro (const io_port_ro &other_) | |
| Copy Constructor. | |
| io_port_ro & | operator= (const io_port_ro &other_) |
| Assignment. | |
| void | set_address (void *address_) |
| Set the IO port address. | |
| const_pointer | get_address () const |
| Get the IO port address. | |
| operator T () const | |
| Read. | |
| T | read () const |
| Read. | |
| const_reference | operator* () const |
| Read. | |
| io_port_ro & | operator++ () |
| Increment. | |
| io_port_ro | operator++ (int) |
| Increment. | |
Read only port. Specialisation for dynamic addresses.