Prusa MINI Firmware overview
SoftPWM Class Reference
Collaboration diagram for SoftPWM:

Public Member Functions

bool add (const uint8_t mask, const uint8_t amount)
 

Public Attributes

uint8_t count
 

Member Function Documentation

◆ add()

bool SoftPWM::add ( const uint8_t  mask,
const uint8_t  amount 
)
2328  {
2329  count = (count & mask) + amount; return (count > mask);
2330  }

Member Data Documentation

◆ count

uint8_t SoftPWM::count
SoftPWM::count
uint8_t count
Definition: temperature.cpp:2327