Files
templates/c/rs485-boot/ports/stm32f103/rs485_boot_stm32f103.h

15 lines
615 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-загрузчика для STM32F103 с прямым доступом к Flash-регистрам. Завершение BUSY и
* флаги ошибок проверяются перед продолжением; расположение области приложения задаётся
* rs485_boot_port_config.h.
*/
#ifndef RS485_BOOT_STM32F103_H
#define RS485_BOOT_STM32F103_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