Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

io_port_rw< T, ADDRESS > Class Template Reference

io_port_rw< T, ADDRESS > Class Template Reference

Read write port. More...

#include <io_port.h>

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.

Definition at line 50 of file io_port.h.


Member Function Documentation

pointer get_address (  )

Get the IO port address.

Definition at line 109 of file io_port.h.

const_pointer get_address (  ) const

Get the IO port address.

Definition at line 115 of file io_port.h.

operator T (  ) const

Read.

Definition at line 60 of file io_port.h.

reference operator* (  )

Read / Write.

Definition at line 85 of file io_port.h.

const_reference operator* (  ) const

Read.

Definition at line 91 of file io_port.h.

io_port_rw operator++ ( int   )

Increment.

Definition at line 103 of file io_port.h.

io_port_rw& operator++ (  )

Increment.

Definition at line 97 of file io_port.h.

io_port_rw& operator= ( value_ )

Write.

Definition at line 78 of file io_port.h.

T read (  ) const

Read.

Definition at line 66 of file io_port.h.

void write ( value_ )

Write.

Definition at line 72 of file io_port.h.