Web DMX - Firmware
Web DMX - Firmware
Loading...
Searching...
No Matches
main.h File Reference

: Header for main.c file. This file contains the common defines of the application. More...

#include "stm32f3xx_hal.h"
#include "serial_receiver.h"

Go to the source code of this file.

Macros

#define MCO_Pin   GPIO_PIN_0
#define MCO_GPIO_Port   GPIOF
#define VCP_TX_Pin   GPIO_PIN_2
#define VCP_TX_GPIO_Port   GPIOA
#define DMX_OUT_Pin   GPIO_PIN_9
#define DMX_OUT_GPIO_Port   GPIOA
#define RX_UNUSED_Pin   GPIO_PIN_10
#define RX_UNUSED_GPIO_Port   GPIOA
#define SWDIO_Pin   GPIO_PIN_13
#define SWDIO_GPIO_Port   GPIOA
#define SWCLK_Pin   GPIO_PIN_14
#define SWCLK_GPIO_Port   GPIOA
#define VCP_RX_Pin   GPIO_PIN_15
#define VCP_RX_GPIO_Port   GPIOA
#define DMX_CHANNEL_COUNT   512
#define DMX_START_CODE   0x00

Functions

void Error_Handler (void)
 This function is executed in case of error occurrence.

Detailed Description

: Header for main.c file. This file contains the common defines of the application.

Attention

Copyright (c) 2025 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Function Documentation

◆ Error_Handler()

void Error_Handler ( void )

This function is executed in case of error occurrence.

Return values
None