2023-04-11 10:36:46 +02:00
|
|
|
# Projet Voilier
|
|
|
|
## 1) GPIO
|
|
|
|
|
2023-04-11 11:16:37 +02:00
|
|
|
### a) MyGPIO_Init
|
|
|
|
|
2023-04-11 11:22:02 +02:00
|
|
|
![plot](U:\INSA\Microcontrôleur\README_picture\APB2ENR.png)
|
|
|
|
|
2023-04-11 11:16:37 +02:00
|
|
|
### b) MyGPIO_Read
|
|
|
|
|
|
|
|
### c) MyGPIO_Set
|
|
|
|
|
|
|
|
### d) MyGPIO_Reset
|
|
|
|
|
|
|
|
### e) MyGPIO_Toggle
|
|
|
|
|
2023-04-11 10:36:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
## 2) Timer
|
|
|
|
|
2023-04-11 11:16:37 +02:00
|
|
|
### a) MyTimer_Init
|
|
|
|
|
|
|
|
### b) MyTimer_Start
|
|
|
|
|
|
|
|
### c) MyTimer_Stop
|
|
|
|
|
|
|
|
### d) TIM1_Interrupt
|
|
|
|
|
|
|
|
### e) TIM1_IRQHandler
|
|
|
|
|
|
|
|
## 3) PWM
|
|
|
|
|
|
|
|
### a) MyTimer_PWM
|
|
|
|
|
|
|
|
## 4) ADC
|
|
|
|
|
|
|
|
### a) MyADC_Init
|
|
|
|
|
|
|
|
### b) MyADC_Init_Periph
|
|
|
|
|
|
|
|
### c) MyADC_Result
|
|
|
|
|
|
|
|
### d) MyADC_Start
|
|
|
|
|
|
|
|
### e) MyADC_Base_Interuption
|
|
|
|
|
|
|
|
### f) ADC1_2_IRQHandler
|
|
|
|
|
|
|
|
## 5) UART
|
|
|
|
|
|
|
|
### a) UART_init
|
|
|
|
|
|
|
|
### b) UART_send
|
|
|
|
|
|
|
|
### c) UART_read
|
2023-04-11 10:36:46 +02:00
|
|
|
|
2023-04-11 11:16:37 +02:00
|
|
|
### d) UART_interruption
|
2023-04-11 10:36:46 +02:00
|
|
|
|
2023-04-11 11:16:37 +02:00
|
|
|
### e) USART1_IRQHandler
|
2023-04-11 10:36:46 +02:00
|
|
|
|
2023-04-11 11:16:37 +02:00
|
|
|
### f) UART_InitGPIO
|
2023-04-11 10:36:46 +02:00
|
|
|
|
2023-04-11 11:16:37 +02:00
|
|
|
## 6) Plateau
|
2023-04-11 10:36:46 +02:00
|
|
|
|
2023-04-11 11:16:37 +02:00
|
|
|
### a) Plateau_init
|
2023-04-11 10:36:46 +02:00
|
|
|
|
2023-04-11 11:16:37 +02:00
|
|
|
### b) MyMotor_ChangeDirection
|
2023-04-11 10:36:46 +02:00
|
|
|
|
2023-04-11 11:16:37 +02:00
|
|
|
## 7) Girouette
|
2023-04-11 10:36:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
|