Projet_Voilier/Services/Plateau.h
2025-12-04 12:47:34 +01:00

20 lines
No EOL
445 B
C

#ifndef MYPLATEAU_H
#define MYPLATEAU_H
/**
* @brief Initialise le plateau avec : PWM a 20kHz sur Timer 3 channel 3, interruption UART1
Configure les 2 IOs
- Timer 3 channel 3: AltOut_Ppull (GPIOB,0);
- Bit de sens : Out_Ppull (GPIOA,1);
* @param aucun
*/
void Plateau_Init (void);
/**
* @brief Définition du callback de l'UART1 : Set la PWM et le bit de sens
* @param : aucun
*/
void handler_USART1 (void);
#endif