Embedded Template Library 1.0
|
#include <io_port.h>
Public Types | |
typedef T | value_type |
typedef volatile T * | pointer |
typedef volatile const T * | const_pointer |
typedef volatile T & | reference |
typedef volatile const T & | const_reference |
typedef etl::private_io_port::iterator< io_port_wo< T, 0 > > | iterator |
Public Member Functions | |
ETL_STATIC_ASSERT (etl::is_integral< T >::value, "Not an integral type") | |
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. | |
iterator | iter () |
Get an iterator to this port. | |
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 (value_type value_) |
Write. | |
void | operator= (value_type value) |
Write. | |
Write only port. Specialisation for dynamic addresses.