Prusa MINI Firmware overview
|
Go to the documentation of this file. 1 #ifndef BASE64_STREAM_DECODER_H
2 #define BASE64_STREAM_DECODER_H
19 : state(States::AwaitingFirst) {
23 return base64_inverse[base64c];
27 state = States::AwaitingFirst;
57 static const uint8_t base64_inverse[256];
60 #endif // BASE64_STREAM_DECODER_H
Base64StreamDecoder()
Definition: base64_stream_decoder.h:18
void app_tim6_tick(void)
Definition: appmain.cpp:157
Header file for usbh_core.c.
void app_run(void)
Definition: appmain.cpp:62
TaskHandle_t osThreadId
Definition: cmsis_os.h:283
void hwio_safe_state(void)
Put hardware into safe state.
Definition: safe_state.c:8
MarlinSettings settings
Definition: configuration_store.cpp:344
void app_setup(void)
Definition: appmain.cpp:51
Definition: uartslave.h:32
void app_assert(uint8_t *file, uint32_t line)
Definition: appmain.cpp:149
IWDG Handle Structure definition.
Definition: stm32f4xx_hal_iwdg.h:76
void uartslave_cycle(uartslave_t *pslave)
Definition: uartslave.c:68
void setup(void)
Definition: Marlin.cpp:818
osStatus osThreadResume(osThreadId thread_id)
Resume execution of a suspended thread.
Definition: cmsis_os.c:1494
void marlin_server_stop_processing(void)
Definition: marlin_server.cpp:293
uint8_t i
Definition: screen_test_graph.c:72
int diag_fastboot
Definition: diag.c:11
Definition: usbh_def.h:450
Definition: usbh_def.h:333
static bool save()
Definition: configuration_store.cpp:2198
static void reset()
Definition: configuration_store.cpp:2208
uint8_t eeprom_init(void)
Definition: eeprom.c:53
osStatus osDelay(uint32_t millisec)
Wait for Timeout (Time Delay)
Definition: cmsis_os.c:365
uint32_t HAL_GetTick(void)
Provides a tick value in millisecond.
Definition: stm32f4xx_hal.c:339
void hwio_update_1ms(void)
Definition: hwio_a3ides_2209_02.c:539
uartslave_t uart6slave
Definition: main.c:149
int32_t jogwheel_encoder
Definition: jogwheel.c:10
HAL_StatusTypeDef HAL_IWDG_Refresh(IWDG_HandleTypeDef *hiwdg)
void adc_cycle(void)
Definition: adc.c:65
void loop(void)
Definition: Marlin.cpp:1127
void app_error(void)
Definition: appmain.cpp:145
Definition: usbh_def.h:346
int hwio_fan_get_cnt(void)
Definition: hwio_a3ides_2209_02.c:444
int sys_fw_is_valid(void)
Definition: sys.cpp:266
int ConsumeChar(char c, uint8_t *out)
Definition: base64_stream_decoder.cpp:28
void app_tim14_tick(void)
Definition: appmain.cpp:173
uartrxbuff_t uart6rxbuff
Definition: main.c:147
uint8_t jogwheel_signals
Definition: jogwheel.c:7
#define DBG
Definition: appmain.cpp:33
osThreadId webServerTaskHandle
Definition: main.c:100
USBH_StatusTypeDef USBH_ReEnumerate(USBH_HandleTypeDef *phost)
HCD_ReEnumerate Perform a new Enumeration phase.
Definition: usbh_core.c:371
void Reset()
Definition: base64_stream_decoder.h:26
void hwio_fan_set_pwm(int i_fan, int val)
Definition: hwio_a3ides_2209_02.c:447
Definition: base64_stream_decoder.h:16
static uint8_t find64(uint8_t base64c)
Definition: base64_stream_decoder.h:22
USBH_HandleTypeDef hUsbHostHS
Definition: usb_host.c:74
const uint8_t[]
Definition: 404_html.c:3
#define _dbg(...)
Definition: dbg.h:50
void sim_heater_init(void)
void app_idle(void)
Definition: appmain.cpp:58
void jogwheel_update_1ms(void)
Definition: jogwheel.c:22
ENUM_StateTypeDef EnumState
Definition: usbh_def.h:453
void app_usbhost_reenum(void)
Definition: appmain.cpp:187
int marlin_server_loop(void)
Definition: marlin_server.cpp:239
#define bsod(fmt,...)
Definition: bsod.h:20
IWDG_HandleTypeDef hiwdg
Definition: watchdog.h:24
marlin_server_idle_t * marlin_server_idle_cb
Definition: marlin_server.cpp:94
void marlin_server_init(void)
Definition: marlin_server.cpp:154
int32_t sim_motion_pos[4]
void USBSerial_put_rx_data(uint8_t *buffer, uint32_t length)
Definition: USBSerial.cpp:53
png_uint_32 length
Definition: png.c:2247
void adc_init(void)
Definition: adc.c:53
void app_cdc_rx(uint8_t *buffer, uint32_t length)
Definition: appmain.cpp:153
__IO HOST_StateTypeDef gState
Definition: usbh_def.h:452
Header of cmsis_os.c A new set of APIs are added in addition to existing ones, these APIs are specifi...
Definition: uartrxbuff.h:16
void sim_heater_cycle(void)
void sim_motion_cycle(void)
int marlin_server_processing(void)
Definition: marlin_server.cpp:284