COSA
An Object-Oriented Platform for Arduino Programming
Soft::SRPO< N >::OutputPin Class Reference

#include <SRPO.hh>

Collaboration diagram for Soft::SRPO< N >::OutputPin:
Collaboration graph

Public Member Functions

 OutputPin (SRPO< N > *srpo, uint8_t pin)
 
void set ()
 
void clear ()
 
void toggle ()
 

Protected Attributes

SRPO< N > * m_srpo
 
const uint8_t m_pin
 

Detailed Description

template<uint8_t N>
class Soft::SRPO< N >::OutputPin

Output pin in shift-register parallel output port.

Definition at line 184 of file SRPO.hh.

Constructor & Destructor Documentation

template<uint8_t N>
Soft::SRPO< N >::OutputPin::OutputPin ( SRPO< N > *  srpo,
uint8_t  pin 
)
inline

Definition at line 186 of file SRPO.hh.

Member Function Documentation

template<uint8_t N>
void Soft::SRPO< N >::OutputPin::clear ( )
inline

Clear pin in shadow register. Call update() to write to shift register.

Definition at line 206 of file SRPO.hh.

template<uint8_t N>
void Soft::SRPO< N >::OutputPin::set ( )
inline

Set pin in shadow register. Call update() to write to shift register.

Definition at line 196 of file SRPO.hh.

template<uint8_t N>
void Soft::SRPO< N >::OutputPin::toggle ( )
inline

Toggle pin in shadow register. Call update() to write to shift register.

Definition at line 216 of file SRPO.hh.

Member Data Documentation

template<uint8_t N>
const uint8_t Soft::SRPO< N >::OutputPin::m_pin
protected

Definition at line 224 of file SRPO.hh.

template<uint8_t N>
SRPO<N>* Soft::SRPO< N >::OutputPin::m_srpo
protected

Definition at line 223 of file SRPO.hh.


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