#ifndef LED_BLINK_RX_H #define LED_BLINK_RX_H #include "stm32f4xx_hal.h" // �������� �� ���� ����� (stm32f4xx_hal.h � �.�.) /** * @brief ���������������� ��������� ���������� */ typedef struct { GPIO_TypeDef *port; // GPIO ���� uint16_t pin; // GPIO ��� uint32_t blink_period; // ������ ������������ (��) uint8_t blink_count; // ���������� ������� } LED_BlinkRx_Config_t; /** * @brief ������������� ���������� */ void LED_BlinkRx_Init(LED_BlinkRx_Config_t *cfg); /** * @brief �������� ��� ����� ������ */ void LED_BlinkRx_OnRx(void); /** * @brief �������� � �������� ����� */ void LED_BlinkRx_Process(void); #endif