Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

io_port_wos< T, ADDRESS > Class Template Reference

io_port_wos< T, ADDRESS > Class Template Reference

Write only port with shadow register. More...

#include <io_port.h>

Public Member Functions

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

Detailed Description

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

Write only port with shadow register.

Definition at line 258 of file io_port.h.


Member Function Documentation

pointer get_address (  )

Get the IO port address.

Definition at line 319 of file io_port.h.

operator T (  ) const

Read.

Definition at line 268 of file io_port.h.

io_port_wos& operator* (  )

Read / Write.

Definition at line 295 of file io_port.h.

const_reference operator* (  ) const

Read.

Definition at line 301 of file io_port.h.

io_port_wos operator++ ( int   )

Increment.

Definition at line 313 of file io_port.h.

io_port_wos& operator++ (  )

Increment.

Definition at line 307 of file io_port.h.

io_port_wos& operator= ( value_ )

Write.

Definition at line 287 of file io_port.h.

T read (  ) const

Read.

Definition at line 274 of file io_port.h.

void write ( value_ )

Write.

Definition at line 280 of file io_port.h.