Embedded Template Library 1.0
etl::io_port_rw< T, ADDRESS > Class Template Reference

Read write port. More...

#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::forward_iterator_tag, T >
typedef T value_type
 
typedef ptrdiff_t difference_type
 
typedef T * pointer
 
typedef T & reference
 
typedef ETL_OR_STD::forward_iterator_tag iterator_category
 

Public Member Functions

 operator T () const
 Read.
 
read () const
 Read.
 
void write (T value_)
 Write.
 
io_port_rwoperator= (T value_)
 Write.
 
reference operator* ()
 Read / Write.
 
const_reference operator* () const
 Read.
 
io_port_rwoperator++ ()
 Increment.
 
io_port_rw operator++ (int)
 Increment.
 
pointer get_address ()
 Get the IO port address.
 
const_pointer get_address () const
 Get the IO port address.
 

Detailed Description

template<typename T, uintptr_t ADDRESS = 0>
class etl::io_port_rw< T, ADDRESS >

Read write port.


The documentation for this class was generated from the following file: