Bare Metal Programming Tool Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Static Public Member Functions | List of all members
bmptk::hardware::pin_configurable_pullup Class Reference

interface for configuring a pull-up pin More...

#include <pins.h>

Public Types

enum  { features = has_pullup }
 this type has a configurable pull-up
 

Static Public Member Functions

static void pullup_enable ()
 enable the pullup
 
static void pullup_disable ()
 disable the pullup
 

Detailed Description

interface for configuring a pull-up pin

This is the mix-in interface for a pin that can have a configurable (weak) pull-up.

This class is to be used as mix-in parent class for classes that provide the pin_in_out interface.

Definition at line 207 of file pins.h.


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