Prusa MINI Firmware overview
|
Go to the source code of this file.
◆ fsensor_t
Enumerator |
---|
FS_NOT_INICIALIZED | |
FS_HAS_FILAMENT | |
FS_NO_FILAMENT | |
FS_NOT_CONNECTED | |
FS_DISABLED | |
◆ fs_get_state()
◆ fs_did_filament_runout()
int fs_did_filament_runout |
( |
| ) |
|
◆ fs_send_M600_on_edge()
void fs_send_M600_on_edge |
( |
| ) |
|
◆ fs_send_M600_on_level()
void fs_send_M600_on_level |
( |
| ) |
|
◆ fs_send_M600_never()
void fs_send_M600_never |
( |
| ) |
|
◆ fs_enable()
◆ fs_disable()
◆ fs_wait_inicialized()
◆ fs_init_on_edge()
◆ fs_init_on_level()
void fs_init_on_level |
( |
| ) |
|
◆ fs_init_never()
◆ fs_cycle()
Definition: filament_sensor.c:27
void fs_send_M600_on_edge()
Definition: filament_sensor.c:76
variant8_t variant8_ui8(uint8_t ui8)
Definition: variant8.c:18
uint8_t meas_cycle
Definition: filament_sensor.c:35
#define EEVAR_FSENSOR_ENABLED
Definition: eeprom.h:17
Definition: filament_sensor.h:22
static volatile fsensor_t state
Definition: filament_sensor.c:23
void eeprom_set_var(uint8_t id, variant8_t var)
Definition: eeprom.c:88
void fs_send_M600_never()
Definition: filament_sensor.c:84
Definition: filament_sensor.h:18
static void _disable()
Definition: filament_sensor.c:59
osStatus osDelay(uint32_t millisec)
Wait for Timeout (Time Delay)
Definition: cmsis_os.c:365
#define MARLIN_VAR_WAITUSER
Definition: marlin_vars.h:28
Definition: filament_sensor.h:19
#define taskENTER_CRITICAL()
Definition: task.h:217
static void _cycle1()
Definition: filament_sensor.c:177
void fs_send_M600_on_level()
Definition: filament_sensor.c:80
Definition: filament_sensor.h:20
fsensor_t fs_get_state()
Definition: filament_sensor.c:67
marlin_vars_t * marlin_update_vars(uint64_t msk)
Definition: marlin_client.c:368
#define MARLIN_VAR_MSK(v_id)
Definition: marlin_vars.h:35
uint8_t M600_sent
Definition: filament_sensor.c:33
Definition: filament_sensor.c:29
uint8_t send_M600_on
Definition: filament_sensor.c:34
Definition: filament_sensor.c:28
static status_t status
Definition: filament_sensor.c:37
Definition: filament_sensor.h:21
static void _cycle0()
Definition: filament_sensor.c:147
fsensor_t
Definition: filament_sensor.h:17
#define taskEXIT_CRITICAL()
Definition: task.h:232
static void _init()
Definition: filament_sensor.c:115
static void _enable()
Definition: filament_sensor.c:52