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

#include <SRPI.hh>

Collaboration diagram for Soft::SRPI< N >::InputPin:
Collaboration graph

Public Member Functions

 InputPin (SRPI< N > *srpi, uint8_t pin)
 
bool is_set ()
 
void is_clear (uint8_t pin)
 

Protected Attributes

SRPI< N > * m_srpi
 
const uint8_t m_pin
 

Detailed Description

template<uint8_t N>
class Soft::SRPI< N >::InputPin

Output pin in shift-register parallel output port.

Definition at line 131 of file SRPI.hh.

Constructor & Destructor Documentation

template<uint8_t N>
Soft::SRPI< N >::InputPin::InputPin ( SRPI< N > *  srpi,
uint8_t  pin 
)
inline

Definition at line 133 of file SRPI.hh.

Member Function Documentation

template<uint8_t N>
void Soft::SRPI< N >::InputPin::is_clear ( uint8_t  pin)
inline

Return true(1) if the given pin in shadow register is set, otherwise false(0).

Returns
bool.

Definition at line 155 of file SRPI.hh.

template<uint8_t N>
bool Soft::SRPI< N >::InputPin::is_set ( )
inline

Return true(1) if the given pin in shadow register is set, otherwise false(0).

Returns
bool.

Definition at line 144 of file SRPI.hh.

Member Data Documentation

template<uint8_t N>
const uint8_t Soft::SRPI< N >::InputPin::m_pin
protected

Definition at line 163 of file SRPI.hh.

template<uint8_t N>
SRPI<N>* Soft::SRPI< N >::InputPin::m_srpi
protected

Definition at line 162 of file SRPI.hh.


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