init new project with vscode estension

This commit is contained in:
PanSi21 2025-11-25 15:35:01 +01:00
parent 20f9d0e570
commit 2775cc2108
Signed by untrusted user who does not match committer: PanSi21
GPG key ID: 198E46F625BADD13
139 changed files with 212256 additions and 0 deletions

52
Core/MySrc/pansi.c Normal file
View 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 ===================