Prusa MINI Firmware overview
Heater Class Reference

#include <Heater.h>

Inheritance diagram for Heater:
Collaboration diagram for Heater:

Public Member Functions

 Heater (pin_t heater, pin_t adc)
 
virtual ~Heater ()
 
void interrupt (GpioEvent ev)
 
void update ()
 
- Public Member Functions inherited from Peripheral
virtual ~Peripheral ()
 

Public Attributes

pin_t heater_pin
 
pin_t adc_pin
 
uint16_t room_temp_raw
 
uint16_t heater_state
 
LowpassFilter pwmcap
 
double heat
 
uint64_t last
 

Constructor & Destructor Documentation

◆ Heater()

Heater::Heater ( pin_t  heater,
pin_t  adc 
)

◆ ~Heater()

virtual Heater::~Heater ( )
virtual

Member Function Documentation

◆ interrupt()

void Heater::interrupt ( GpioEvent  ev)
virtual

Implements Peripheral.

◆ update()

void Heater::update ( )
virtual

Implements Peripheral.

Member Data Documentation

◆ heater_pin

pin_t Heater::heater_pin

◆ adc_pin

pin_t Heater::adc_pin

◆ room_temp_raw

uint16_t Heater::room_temp_raw

◆ heater_state

uint16_t Heater::heater_state

◆ pwmcap

LowpassFilter Heater::pwmcap

◆ heat

double Heater::heat

◆ last

uint64_t Heater::last