new muori

This commit is contained in:
PanSi21 2025-11-13 02:45:43 +01:00
parent c6eb320c55
commit bea9ab0a3c
Signed by untrusted user who does not match committer: PanSi21
GPG key ID: 198E46F625BADD13
164 changed files with 221865 additions and 0 deletions

52
Core/Src/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 ===================