Bare Metal Programming Tool Kit
|
create a pin_out from another pin More...
#include <pins.h>
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 | |
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.