PikeAero::CBinaryOutputGPIO Class Reference

Implements a binary output on a GPIO pin. More...

#include <cbinaryoutputgpio.h>

Inheritance diagram for PikeAero::CBinaryOutputGPIO:

Inheritance graph
[legend]
Collaboration diagram for PikeAero::CBinaryOutputGPIO:

Collaboration graph
[legend]

Public Member Functions

 CBinaryOutputGPIO (GPIO_TypeDef *GPIOx, CMachine::ubit16 bits, bool active=false, bool inverted=false)
virtual ~CBinaryOutputGPIO ()

Detailed Description

Implements a binary output on a GPIO pin.

Author:
Michael Sharkey <mike@pikeaero.com>

Definition at line 31 of file cbinaryoutputgpio.h.


Constructor & Destructor Documentation

PikeAero::CBinaryOutputGPIO::CBinaryOutputGPIO ( GPIO_TypeDef GPIOx,
CMachine::ubit16  bits,
bool  active = false,
bool  inverted = false 
)

Definition at line 24 of file cbinaryoutputgpio.cpp.

References PikeAero::CBinaryInputOutputGPIO::reset().

00025  : CBinaryInputOutputGPIO(GPIOx, bits, inverted)
00026 {
00027     active ? set() : reset();
00028 }

Here is the call graph for this function:

PikeAero::CBinaryOutputGPIO::~CBinaryOutputGPIO (  )  [virtual]

Definition at line 31 of file cbinaryoutputgpio.cpp.

00032 {
00033 }


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

Generated on Sun Oct 25 13:59:45 2009 for stingray3 by  doxygen 1.5.8