Bare Metal Programming Tool Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
List of all members
bmptk::hardware::pin_out_from< pin > Struct Template Reference

create a pin_out from another pin More...

#include <pins.h>

Inheritance diagram for bmptk::hardware::pin_out_from< pin >:
bmptk::hardware::pin_out

Additional Inherited Members

- Public Types inherited from bmptk::hardware::pin_out
enum  { type = type_pin_out }
 identify this type as a type_pin_out
 
enum  { features = has_none }
 this type has no additional fatures
 
- Static Public Member Functions inherited from bmptk::hardware::pin_out
static void init ()
 initialize the pin as output
 
static void set (bool x)
 set the current level on the pin
 

Detailed Description

template<typename pin>
struct bmptk::hardware::pin_out_from< pin >

create a pin_out from another pin

This template creates a pin_out from the argument pin. The argument pin must be a pin_in_out, pin_out or a pin_oc.

The pin_in_out_from, pin_in_from, pin_out_from and pin_oc_from templates are used by template algorithms to convert their arguments to the flavour of pin that they expect.

Definition at line 385 of file pins.h.


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