|
SmartBar
|
: Main program body More...
Functions | |
| void | SystemClock_Config (void) |
| System Clock Configuration. | |
| void | StartExecuteCommand (void *argument) |
| Function implementing the ExecuteCommand thread. | |
| int | main (void) |
| The application entry point. | |
| void | HAL_UART_RxCpltCallback (UART_HandleTypeDef *huart) |
| Callback function for the UART reception. | |
| void | HAL_GPIO_EXTI_Callback (uint16_t GPIO_Pin) |
| void | SelectInputChannel (uint8_t channel) |
| Selects the input channel of the Mux. | |
| void | SelectOutputChannel (uint8_t channel) |
| Selects the output channel of the DMux. | |
| void | HAL_TIM_PeriodElapsedCallback (TIM_HandleTypeDef *htim) |
| Period elapsed callback in non blocking mode. | |
| void | Error_Handler (void) |
| This function is executed in case of error occurrence. | |
Variables | |
| TIM_HandleTypeDef | htim3 |
| TIM_HandleTypeDef | htim15 |
| TIM_HandleTypeDef | htim16 |
| TIM_HandleTypeDef | htim17 |
| UART_HandleTypeDef | huart2 |
| UART_HandleTypeDef | huart3 |
| osThreadId_t | ExecuteCommandHandle |
| const osThreadAttr_t | ExecuteCommand_attributes |
| volatile uint8_t | enterPressed = 0 |
| uint8_t | textChar [2] |
| uint8_t | rxIdx |
: Main program body
Copyright (c) 2024 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.
| void Error_Handler | ( | void | ) |
This function is executed in case of error occurrence.
| None |
| void HAL_TIM_PeriodElapsedCallback | ( | TIM_HandleTypeDef * | htim | ) |
Period elapsed callback in non blocking mode.
| htim | : TIM handle |
| None |
| void HAL_UART_RxCpltCallback | ( | UART_HandleTypeDef * | huart | ) |
Callback function for the UART reception.
This function is called when a character is received from the UART3 peripheral. The received character is stored in the rxBuffer and echoed back to the terminal console connected to the UART2 peripheral. Supports backspace and Enter characters.
| huart |
| None |
| int main | ( | void | ) |
The application entry point.
| int |
MOVER AQUĆ
| void SelectInputChannel | ( | uint8_t | channel | ) |
Selects the input channel of the Mux.
Sets the appropriate pin values to let a signal come from the desired channel, which can be 1 out 8 input channels
| channel | Channel to be selected |
| None |
| void SelectOutputChannel | ( | uint8_t | channel | ) |
Selects the output channel of the DMux.
Sets the appropriate pin values to pass a signal through the desired channel, which can be 1 out 8 output channels
| channel | Channel to be selected |
| None |
| void StartExecuteCommand | ( | void * | argument | ) |
Function implementing the ExecuteCommand thread.
| argument |
| void SystemClock_Config | ( | void | ) |
System Clock Configuration.
| None |
Initializes the RCC Oscillators according to the specified parameters in the RCC_OscInitTypeDef structure.
Initializes the CPU, AHB and APB buses clocks
| const osThreadAttr_t ExecuteCommand_attributes |