modm API documentation
modm::hx711< Cfg > Class Template Reference
Inheritance diagram for modm::hx711< Cfg >:
modm::NestedResumable< 2 >

Classes

struct  Config
 

Public Types

enum  InputChannelAndGain : uint8_t { ChA_128 = 1, ChB_32 = 2, ChA_64 = 3 }
 

Public Member Functions

modm::ResumableResult< int32_t > singleConversion ()
 

Protected Member Functions

modm::ResumableResult< ReturnType > resumable function (...)
 
int8_t getResumableDepth () const
 
bool isResumableRunning () const
 
void stopResumable ()
 Force all resumable functions to stop running at the current nesting level.
 

Member Function Documentation

modm::ResumableResult< ReturnType > resumable modm::NestedResumable< 1 >::function (   ...)
inherited

Run the resumable function.

You need to implement this method in you subclass yourself.

Returns
>NestingError if still running, <=NestingError if it has finished.
int8_t modm::NestedResumable< 1 >::getResumableDepth ( ) const
inheritedinline
Returns
the nesting depth in the current resumable function, or -1 if called outside any resumable function
bool modm::NestedResumable< 1 >::isResumableRunning ( ) const
inheritedinline
Returns
true if a resumable function is running at the current nesting level, else false

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