Files
templates/c/rs485-boot/ports/stm32g474vet/rs485_boot_stm32g474vet.h

15 lines
621 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* Порт RS-485-загрузчика для STM32G474VET с аппаратными операциями Flash. Конфигурация задаёт
* область приложения, а обработчик проверяет BUSY и ошибки программирования до подтверждения
* операции.
*/
#ifndef RS485_BOOT_STM32G474VET_H
#define RS485_BOOT_STM32G474VET_H
#include "rs485_boot.h"
void rs485_boot_hw_init(void);
bool rs485_boot_hw_get_byte(uint8_t *byte);
rs485_boot_config_t rs485_boot_hw_config(void);
rs485_boot_port_t rs485_boot_hw_make_port(void);
#endif