![]() |
Bare Metal Programming Tool Kit
|
create a pin_in from another pin More...
#include <pins.h>
Additional Inherited Members | |
Public Types inherited from bmptk::hardware::pin_in | |
| enum | { type = type_pin_in } |
| identify this type as a type_pin_in | |
| enum | { features = has_none } |
| this type has no additional fatures | |
Static Public Member Functions inherited from bmptk::hardware::pin_in | |
| static void | init () |
| initialize the pin as input | |
| static bool | get () |
| get the current level on the pin | |
create a pin_in from another pin
This template creates a pin_in from the argument pin. The argument pin must be a pin_in, pin_in_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.
1.8.2