Prusa MINI Firmware overview
|
#include "diag.h"
#include "otp.h"
#include "gpio.h"
#include "stm32f4xx_hal.h"
#include "w25x.h"
#include "st25dv64k.h"
#include "usb_host.h"
◆ diag_delay()
void diag_delay |
( |
int |
delay | ) |
|
◆ diag_check_fastboot()
30 for (
i = 0;
i < 10;
i++) {
◆ diag_eeprom()
◆ diag_test()
◆ diag_fastboot
◆ diag_error
◆ Appli_state
void st25dv64k_init(void)
Definition: st25dv64k.c:73
uint8_t i
Definition: screen_test_graph.c:72
#define DIAG_ERR_SPIFLASH
Definition: diag.h:9
int diag_fastboot
Definition: diag.c:11
void diag_delay(int delay)
Definition: diag.c:17
void st25dv64k_user_write(uint16_t address, uint8_t data)
Definition: st25dv64k.c:103
#define PC7
Definition: variant.h:73
#define GPIO_PULLUP
Definition: stm32f4xx_hal_gpio.h:171
static int gpio_get(uint8_t pin8)
Definition: gpio.h:94
Definition: usb_host.h:88
static void gpio_init(uint8_t pin8, uint32_t mode, uint32_t pull, uint32_t speed)
Definition: gpio.h:102
#define otp_lock_sector0
Definition: otp.h:29
#define GPIO_SPEED_FREQ_VERY_HIGH
Definition: stm32f4xx_hal_gpio.h:161
void delay(uint32_t ms)
Definition: wiring_time.c:42
#define __HAL_RCC_GPIOC_CLK_ENABLE()
Definition: stm32f4xx_hal_rcc.h:416
ApplicationTypeDef Appli_state
Definition: usb_host.c:75
#define DIAG_ERR_USBA
Definition: diag.h:10
#define DIAG_ERR_I2CEEPROM
Definition: diag.h:8
int diag_eeprom()
Definition: diag.c:39
int diag_error
Definition: diag.c:13
#define GPIO_MODE_INPUT
Definition: stm32f4xx_hal_gpio.h:135
uint8_t st25dv64k_user_read(uint16_t address)
Definition: st25dv64k.c:93
int8_t w25x_init(void)
Definition: w25x.c:57