Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
GpioADCPin< Defs > Struct Template Reference

GPIO Input pin in ADC configuration (analog). More...

#include <TivaGPIO.hxx>

Inheritance diagram for GpioADCPin< Defs >:

Static Public Member Functions

static void hw_init ()
 Implements hw_init functionality for this pin only.
 
static void hw_set_to_safe ()
 Implements hw_set_to_safe functionality for this pin only.
 

Detailed Description

template<class Defs>
struct GpioADCPin< Defs >

GPIO Input pin in ADC configuration (analog).

This pin cannot be read or written directly (will fail compilation).

Do not use this class directly. Use GPIO_PIN instead.

Definition at line 427 of file TivaGPIO.hxx.

Member Function Documentation

◆ hw_init()

template<class Defs >
static void GpioADCPin< Defs >::hw_init ( )
inlinestatic

Implements hw_init functionality for this pin only.

Definition at line 433 of file TivaGPIO.hxx.

◆ hw_set_to_safe()

template<class Defs >
static void GpioADCPin< Defs >::hw_set_to_safe ( )
inlinestatic

Implements hw_set_to_safe functionality for this pin only.

TODO(balazs.racz): we need to somehow specify what to do to be safe. Options are drive low, drive high, input std, input wpu, input wpd.

Definition at line 441 of file TivaGPIO.hxx.


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