Prusa MINI Firmware overview
|
Go to the documentation of this file.
2 #ifndef _MARLIN_ERRORS_H
3 #define _MARLIN_ERRORS_H
8 #define MARLIN_ERR_TMCDriverError 0x00 //
9 #define MARLIN_ERR_ProbingFailed 0x01 //
10 #define MARLIN_ERR_MAX MARLIN_ERR_ProbingFailed
13 #define MARLIN_ERR_MSK(e_id) ((uint64_t)1 << (e_id))
14 #define MARLIN_ERR_MSK_ALL ( \
15 MARLIN_ERR_MSK(MARLIN_ERR_TMCDriverError) | MARLIN_ERR_MSK(MARLIN_ERR_ProbingFailed))
27 #endif //_MARLIN_ERRORS_H
void eeprom_write_byte(uint8_t *pos, unsigned char value)
Definition: Marlin_eeprom.cpp:20
const char * __err_name[]
Definition: marlin_errors.c:7
void st25dv64k_user_read_bytes(uint16_t address, void *pdata, uint8_t size)
Definition: st25dv64k.c:111
IWDG Handle Structure definition.
Definition: stm32f4xx_hal_iwdg.h:76
uint8_t data[8]
Definition: masstorage.h:49
#define DBG
Definition: Marlin_eeprom.cpp:12
IWDG_HandleTypeDef hiwdg
Definition: watchdog.h:24
void st25dv64k_user_write(uint16_t address, uint8_t data)
Definition: st25dv64k.c:103
HAL_StatusTypeDef HAL_IWDG_Refresh(IWDG_HandleTypeDef *hiwdg)
void st25dv64k_user_write_bytes(uint16_t address, void *pdata, uint8_t size)
Definition: st25dv64k.c:119
void eeprom_update_block(const void *__src, void *__dst, size_t __n)
Definition: Marlin_eeprom.cpp:41
void eeprom_read_block(void *__dst, const void *__src, size_t __n)
Definition: Marlin_eeprom.cpp:37
#define MARLIN_ERR_MAX
Definition: marlin_errors.h:10
const uint8_t[]
Definition: 404_html.c:3
const char * marlin_errors_get_name(uint8_t err_id)
Definition: marlin_errors.c:13
This file contains all the functions prototypes for the HAL module driver.
uint8_t eeprom_read_byte(uint8_t *pos)
Definition: Marlin_eeprom.cpp:29
const char * marlin_errors_get_name(uint8_t err_id)
Definition: marlin_errors.c:13
uint8_t st25dv64k_user_read(uint16_t address)
Definition: st25dv64k.c:93