init new project with vscode estension
This commit is contained in:
parent
20f9d0e570
commit
2775cc2108
139 changed files with 212256 additions and 0 deletions
52
Core/MySrc/pansi.c
Normal file
52
Core/MySrc/pansi.c
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
/*
|
||||
* pansi.c
|
||||
*
|
||||
* Created on: Nov 13, 2025
|
||||
* Author: pansi21
|
||||
* Copyright (c) 2025 PANSI21.xyz.
|
||||
* All rights reserved.
|
||||
*/
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "pansi.h"
|
||||
#include <stdint.h>
|
||||
|
||||
// ================= USART =======================
|
||||
|
||||
// =============== END USART =====================
|
||||
|
||||
|
||||
// ================= TIM6 ========================
|
||||
|
||||
// =============== END TIM6 =====================
|
||||
|
||||
|
||||
// ================= ADC-TEMP =======================
|
||||
|
||||
// =============== END ADC-TEMP =====================
|
||||
|
||||
|
||||
// ================= ADC-IN =======================
|
||||
|
||||
// =============== END ADC-IN =====================
|
||||
|
||||
// ================== UTILS =======================
|
||||
|
||||
/**
|
||||
* @brief Funzione di Accensione onBoard
|
||||
*
|
||||
* Permette di far accendere e spegnere contemporaneamente tutti i leg
|
||||
* presenti sulla board.
|
||||
*/
|
||||
void MOTD_init(void) {
|
||||
HAL_Delay(500);
|
||||
GPIOB->BSRR |= GPIO_BSRR_BS0;
|
||||
GPIOB->BSRR |= GPIO_BSRR_BS14;
|
||||
GPIOE->BSRR |= GPIO_BSRR_BS1;
|
||||
HAL_Delay(500);
|
||||
GPIOB->BSRR |= GPIO_BSRR_BR0;
|
||||
GPIOB->BSRR |= GPIO_BSRR_BR14;
|
||||
GPIOE->BSRR |= GPIO_BSRR_BR1;
|
||||
}
|
||||
|
||||
// ================== END UTILS ===================
|
||||
Loading…
Add table
Add a link
Reference in a new issue