add LPC4337

Fork of FastIO by Erik -

Embed: (wiki syntax)

« Back to documentation index

FastOut< pin, initial > Class Template Reference

FastOut< pin, initial > Class Template Reference

Faster alternative compared to regular DigitalOut. More...

#include <FastIO.h>

Inherits FastInOut< pin >.

Public Member Functions

 FastOut ()
 Construct new FastOut object.

Detailed Description

template<PinName pin, int initial = 0>
class FastOut< pin, initial >

Faster alternative compared to regular DigitalOut.

Except the constructor it is compatible with regular DigitalOut. Aditionally all functions from DigitalInOut are also available (only initialization is different) Code is based on Igor Skochinsky's code (http://mbed.org/users/igorsk/code/FastIO/)

Definition at line 97 of file FastIO.h.


Constructor & Destructor Documentation

FastOut (  )

Construct new FastOut object.

Parameters:
pinpin the FastOut object should be used for
initial(optional) initial state of the pin after construction: default is 0 (low)

Definition at line 110 of file FastIO.h.