generated from Template/H563ZI-HAL-CMake-Template
	 5beaf15efd
			
		
	
	5beaf15efd
	
	
		
			
	
		
	
	
		
			Some checks failed
		
		
	
	Build and Upload Artifact / build and upload-artifact (push) Has been cancelled
				
			
		
			
				
	
	
		
			19 lines
		
	
	
		
			453 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			453 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include "stm32h563xx.h"
 | |
| #include "tim.h"
 | |
| 
 | |
| #include "./Helper/gpio_helper.hpp"
 | |
| 
 | |
| struct Config {
 | |
|     static inline struct {
 | |
|         GpioHelper::Gpio trigger;
 | |
|         TIM_HandleTypeDef* timer;
 | |
|         uint32_t channel;
 | |
|     } kCaptureConfig = {{GPIOA, GPIO_PIN_0}, &htim7, TIM_CHANNEL_1};
 | |
| 
 | |
|     static inline UART_HandleTypeDef* kDfPlayerUart = &hcom_uart[COM1];
 | |
|     
 | |
|     static inline UART_HandleTypeDef* kCanMvUart    = &hcom_uart[COM1];
 | |
| };
 |