-
Datei
bsp.c
/* Includes */ #include <stddef.h> #include "stm32f10x.h" #include "stm32f10x_gpio.h" #include "stm32f10x_tim.h" #include "main.h" #include "SysTickHandler.h" #include "abstraction.h" #include <math.h> #include "IRQ_Handler.h" /* Private typedef *
in „Konfiguration eines Timers auf dem STM32F100RB6“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f4xx_it.c
//=========================================================================== // stm32f4xx_it.c //=========================================================================== /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_it.h" #include "debug.h" // Routines used by the HardFault_Handler() void printUsageErrorMsg(uint32_t CFSRValue); void printBusFaultErrorMsg(uint32_t CFSRValue); void printMemoryManagementErrorMsg(uint32_t CFSRValue); void stackDump(uint32_t stack[]); //=============================================
in „STM32: Drama mit "Hard Fault Error"“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/h2> */ /* Includes ------------------------------------------------------------------*/ #include "stm32f10x.h" #include "platform_config.h" /** @addtogroup STM32F10x_StdPeriph_Examples * @{ */ /** @addtogroup CAN_Normal * @{ */ /* Private typedef -----------------------------------------------------
in „CAN mit STM32“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
STM_DEV.pdf
PISS5016 1 PISS1401 PILF101PILF102 C2 PIUC1022 VDDA VSSA PIUC1019 GND D Stiftleiste 2pol BLM31A601S COK3 STM32F103VE K2 K2 62 P2 I02 I2 SS66 SS4 SS55 D 100n COCK COCK COCK COCK COCK COCK9 C1 100n 100n 100n 100n 100n 100n Title CPU Master K1 K1 61 P1 I01 I1 Size: A4 Number:2. Revision1.0 GND GND Date: 24.01.2010
in „STM32 Development Board“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
HWMonitor.txt
LDT3 [ ] UCFG _CRS PICM APIC _PRT HUB0 _ADR _STA PICM APIC _PRT _PRW SAT1 _ADR PRI0 _ADR SPTM _GTM _STM MAST _ADR _GTF SEC0 _ADR SSTM _GTM _STM MAST _ADR _GTF DRMP SAT2 _ADR PRI0 _ADR SPTM _GTM _STM MAST _ADR _GTF SEC0 _ADR SSTM _GTM _STM MAST _ADR _GTF DRMP IDE0 _ADR A090 [ ] ID20 [ ] IDTS IDTP ID22 UMSS UMSP IDEP IDES GTM_ U2T_ T2U_ T2D_ STM_ GTF_ PRI0 _ADR _GTM _STM MAST _ADR _GTF SLAV _ADR _GTF SEC0 _ADR _GTM _STM MAST _ADR _GTF SLAV _ADR _GTF DRMP IGPU _ADR GPUR XVR0 _ADR PCV0 _PRW XVR1 _ADR PCV1 _PRW XVR2 _ADR PCV2 _PRW SMB0 _ADR SMCF
in „CPU Temperatursensor defekt => Absturz“ · PC Hard- und Software ·
-
Datei
main.c
#include <stddef.h> #include "stm32f2xx.h" /*#include "stm32f2xx_gpio.h" #include "stm32f2xx_rcc.h"*/ void configureClock() { ErrorStatus HSEStartUpStatus; RCC_DeInit(); //reset RCC_HSEConfig(RCC_HSE_ON); //turn on external oscillator
in „STM32F2xx USART weigert sich“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
variant.h
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef _VARIANT_ARDUINO_STM32_ #define _VARIANT_ARDUINO_STM32_ /*---------------------------------------------------------------------------- * Headers *-------------------------------------------------------------------------
-
Datei
stm8s_spi.h
**** */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM8S_SPI_H #define __STM8S_SPI_H /* Includes ------------------------------------------------------------------*/ #include "stm8s.h" /** @addtogroup STM8S_StdPeriph_Driver * @{ */ /** @addtogroup SPI_Exported_Types
in „STM8 Standard Peripheral Library mit ST Visual Develop benutzen - Linker error“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f4xx_spi.c
**** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_spi.h" #include "stm32f4xx_rcc.h" /** @addtogroup STM32F4xx_StdPeriph_Driver * @{ */ /** @defgroup SPI * @brief SPI driver modules * @{ */ /* Private typedef ----------------------------------
in „GCC Optimierung killt Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ConsoleApplication1.c
stm32_time_addfct_1ms(fnPtr pfct) { //-- Eingangsvariablen prüfen ------------------------------------------------------------------------------------------------------------------- uint8_t u8Cnt = scEsc_SysTick.u8CntFct
in „STM32 komisches Verhalten bei include und leerer Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usbStefan_Aenderung.c
COM Port betreiben */ #include "usb.h" /* For devices with 2 x 16 bits / word access schema (e.g. STM32L0, STM32F303xD and xE) */ //#define UMEM_SHIFT 0 //#define UMEM_FAKEWIDTH word /* For devices with 1 x 16 bits / word access schema (e.g. STM32F103, STM32F302, STM32F303xB and xC) */ #define UMEM_SHIFT 1 #define UMEM_FAKEWIDTH dword /* The name of the IRQ handler must match startup_stm32.s */ #define NAME_OF_USB_IRQ_HANDLER USB_LP_CAN_RX0_IRQHandler /* Take the number from the reference manual of your µC. */ #define USB_IRQ_NUMBER 20 // Enable trace messages #define ENABLE_TRACING
in „USB CDC von Stefan Frings und WS“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
twi_main.c
#include "twi_main.h" #include "../Std_lib/stm32f10x_i2c.h" #include "../Std_lib/stm32f10x_tim.h" #include "../lib/outpin.h"//debugging #include "../Std_lib/misc.h" //für NVIC #include "../Std_lib/stm32f10x_rcc.h" volatile unsigned char maxID =
in „stm32 Cortex I2C : Master zieht SCL auf Masse“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ds18b20.h
--------------------------------------------------------- ** File name: seriell.h ** Descriptions: STM32 FSMC TFT²Ù×÷º¯Êý¿â ** **------------------------------------------------------------------------------------------------------ ** Created by: poweravr ** Created date: 2010-11-7 ** Version: 1.0 **
in „STM32 DS1820“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
miniblink.S
/** * A minimum blinky (2*42 bytes) written in assembly. It works with the "Blue Pill" called STM32F103R8C6 boards. * The LED is connected to PC13. Do not take this as a starting point for any serious project! * The program "lives", where the interrupt and fault vectors should be. Anyway it works
in „Assemblerprogrammierung ARM CORTEX“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f030f4.ld
/* ***************************************************************************** ** ** File : stm32f030f4.ld ** ** Abstract : Linker script for STM32F030F4P6 Device with ** 16KByte FLASH, 4KByte RAM ** ** Set heap size, stack size and stack location according ** to application requirements. ** ** Set memory bank area and size if external memory is used. ** ** Target : STMicroelectronics STM32 ** ** Environment : ARM-GCC ** ** ***************************************************************************** */ /* Entry Point */ ENTRY(Reset_Handler) /* Highest address of the user mode stack
in „STM32F030F4P6 und USART1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STM32H743ZI_FLASH.ld
/* ***************************************************************************** ** ** File : stm32_flash.ld ** ** Abstract : Linker script for STM32H743ZI Device with ** 2048KByte FLASH, 1056KByte RAM ** ** Set heap size, stack size and stack location according ** to application requirements. ** ** Set memory bank area and size if external memory is used. ** ** Target : STMicroelectronics STM32 ** ** Environment : Atollic TrueSTUDIO(R) ** ** Distribution: The file is distributed as is, without any warranty ** of any kind. ** ** (c)Copyright Atollic AB. ** You may use this file as-is or modify
in „Wie speichere ich große Arrays in STM32?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f7xx.h" #include "stm32f769i_discovery.h" #include "stm32f769i_discovery_lcd.h" // LCD specific configurations #define LAYER0_ADDRESS (LCD_FB_START_ADDRESS) // DMA specific configurations #define DMAx_CLK_ENABLE
in „SPDIF empfangen per DMA mit einem STM32F769“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STM32F10x_128k_32k_flash.ld
/* Default linker script for STM32F10x_128K_32K with GNU-ld Martin Thomas, 9/2009 A heavily modified "Default linker script for STM32F10x_512K_64K" Copyright RAISONANCE S.A.S. 2008 found in the STM fw-library. (there is not much left
in „STM32 mit C++ stürzt bei Interrupt ab“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
irsndconfig.h
define prescaler for timer2 e.g. 1,4,16 # define PIC_Scaler 2 // PIC needs /2 extra in IRSND_FREQ_32_KHZ calculation for right value # endif /*--------------------------------------------------------------------------------------------------------------------------------------------------- * ARM STM32
in „Umfrage: welche IR-Protokolle nutzt ihr mit IRMP?“ · PC Hard- und Software ·
-
Datei
startup.c
entry point. * * This file performs initialization and starts the program main loop. */ #include <stm32f0xx.h> #include <stm32f0xx_ll_system.h> /** * \brief Checks the SRAM for a valid interrupt vector table. * * Checks whether the start of the SRAM contains a valid interrupt vector table. * * \return
in „STM32F0 - Boot ins SRAM mit OpenOCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
smcattach.c
#include "stm32f0xx.h" #include "stm32f0308_Discovery.h" #define in0 GPIO_Pin_0 #define in1 GPIO_Pin_1 #define in2 GPIO_Pin_2 #define in3 GPIO_Pin_3 #define in4 GPIO_Pin_4 #define in5 GPIO_Pin_5 #define in_GPIO GPIOA
in „mapping the exact input to the output“ · µC & Digital Electronics ·
-
Datei
f_mess.c
// reziproke Frequenzmessung mit STM32F4-Discovery-Board /* Beispielprogramm für Frequenzmessung an PE5 mit Timer9. Das Ergebnis wird 8-stellig mit max. 2 Mess./s oder minimal 1 Periodendauer angezeigt. Der Frequenzbereich ist 0,05Hz -
in „reziproker Frequenzzähler mit STM32F4Discovery“ · Projekte & Code ·
-
PDF
schema_stm32_primer2_1_2.PDF
TRACED1/FSMC_A20 4 JOYSTICK_U AUDIO_I2S2_SD 54 PB14/SPI2_MISO PE5/TRACED2/FSMC_A21 5 JOYSTICK_D VBAT_STM32 PB15/SPI2_MOSI PE6/TRACED2/FSMC_A22 2 2 PE7/FSMC_D4 38 LCD_D0 1 1 C18 1 1 C19 TOUCH_L 15 PC0/ADC_IN10 PE8/FSMC_D5 39 LCD_D1 C17 R44 TOUCH_R 16 40 LCD_D2 2 2 470K 2 TOUCH_U 17 PC1/ADC_IN11 PE9/FSMC_D6
in „STM32 USB Virtual COM Port“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
eeprom.c
*/ #include <stdbool.h> #include <stdio.h> #include <stdint.h> // StdPeriph Lib + CMSIS #include <stm32f4xx.h> #include <stm32f4xx_i2c.h> #include "eeprom.h" /* ------------- DEFINES ------------------ */ // Timeout und E2PROM Adresse #define I2C_TIMEOUT_MAX 10000 #define MEM_DEVICE_WRITE_ADDR 0xA0
in „STM32F4xx: 24LC512 EEPROM Zugriffsroutinen“ · Projekte & Code ·
-
Datei
eeprom.c
*/ #include <stdbool.h> #include <stdio.h> #include <stdint.h> // StdPeriph Lib + CMSIS #include <stm32f4xx.h> #include <stm32f4xx_i2c.h> #include "eeprom.h" /* ------------- DEFINES ------------------ */ // Timeout und E2PROM Adresse #define I2C_TIMEOUT_MAX 10000 #define MEM_DEVICE_WRITE_ADDR 0xA0
in „Organisation der Header und Includes“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Main.c
main function. **************************************************** */ //#include <main.h> #include "stm32f4xx.h" #include "stm32f4xx_gpio.h" #include "stm32f4xx_rcc.h" volatile unsigned long msTicks = 0; void Delay_ms (unsigned long del_count) { del_count *= 1000; msTicks = del_count; while (msTicks !
in „STM32F411VE TIM Interrupt Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
spi.h
#ifndef SPI_H #define SPI_H #include <stdint.h> #include "stm32f10x_spi.h" #include "stm32f10x_rcc.h" // Header // init the SPI interface // the ChipSelect Pins have to be initialized seperately void spi2_init(); // transfer 1...n bytes in both directions with
in „SPI Code STM32F103“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f10x_sdio.c
/** ****************************************************************************** * @file stm32f10x_sdio.c * @author MCD Application Team * @version V3.4.0 * @date 10/15/2010 * @brief This file provides all the SDIO firmware functions. ********************************************************
in „STM3210E EVAL SD-Controller SDIO + HiTOP“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
CAN.c
CAN.c * * Created on: 22.04.2012 * Author: Peter */ #include <stddef.h> #include "can.h" #include "stm32f10x_gpio.h" #include "stm32f10x_rcc.h" #include "stm32f10x_can.h" #include "misc.h" #define CAN_EN_Low GPIO_ResetBits(GPIOC, GPIO_Pin_5); #define CAN_EN_High GPIO_SetBits(GPIOC, GPIO_Pin_5); #define
in „CAN mit STM32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Code.txt
#include "stm32f4xx.h" #include "stm32f429i_discovery.h" #include "stm32f429i_discovery_lcd.h" static void SystemClock_Config(void); static void MX_TIM2_Init(void); static void Error_Handler(void); TIM_HandleTypeDef
in „Timer im Encodermode auf STM32F429-Discovery“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
pensor.pdf
+3.3V V+ D1 N1 STM32G051 +3.3V MIC5236-3.3 +3.3V X6:10 V+ 2 IN OUT 3 4 VDD 0 X6:9 L1 1 9 k 1 1 4 EN ERR 1 R R 4 C39 6 CSB D D 100n F.B.,0.2A 1 C3 D V 5 Volt C12 * C11 C10 C8 C7 C2 100n SCL-INT 2 V 5 D2 SCK 7 68u 68u 100n
in „Datenlogger Pendeluhr“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f0xx.h" #include <stdbool.h> #include <stdio.h> #include "main.h" // ---------------------------------------------------------------------------- /* * * RAM Bank of 5 23LC1024 SPI memory chips testing
in „SPI-RAM-Bank an STM32F0-Discovery - write, kein read“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f0xx.h" #include <stdbool.h> #include <stdio.h> #include "main.h" // ---------------------------------------------------------------------------- /* * * RAM Bank of 5 23LC1024 SPI memory chips testing
in „SPI-RAM-Bank an STM32F0-Discovery - write, kein read“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
irmpconfig.h
--------------------------------------------------------------- * Change hardware pin here for ARM STM32 *--------------------------------------------------------------------------------------------------------------------------------------------------- */ #elif defined (ARM_STM32) // use C13 as IR input on STM32 # define IRMP_PORT_LETTER C # define IRMP_BIT_NUMBER 13 /*------------------------------------------------------------------------------------------------------------------------------------------
in „IRMP-Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.h
#ifndef MAIN_H_INCLUDED #define MAIN_H_INCLUDED #include "stm32f10x_conf.h" #include "system_stm32f10x.h" /* Standard Includes */ #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <string.h> // Steuersymbole für Pins #define GPIO_TogglePin(GPIOx
in „STM32F1xx: Wie GOL am "Leben" halten?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
catalog.pdf
Mcu, 8 Bit, Atmega, 16MHZ, TQFP-32 MPN: STM32F407ZGT6 [ID]: 000151 [Price]: 15.59 USD [QTY]: 2 [Category]: Microcontrollers [Desc]: MCU 32-bit STM32F ARM Cortex M4F RISC 1024KB Flash 2.5V/3.3V 144-Pin LQFP Tray MPN: STM32L151RBH6A [ID
-
PDF
catalog.pdf
Mcu, 8 Bit, Atmega, 16MHZ, TQFP-32 MPN: STM32F407ZGT6 [ID]: 000151 [Price]: 15.59 USD [QTY]: 2 [Category]: Microcontrollers Page 61/105 Bauteileliste vom 12.08.2022 [Desc]: MCU 32-bit STM32F ARM Cortex M4F RISC 1024KB Flash 2.5V/3.3V 144-Pin LQFP Tray MPN: STM32L151RBH6A [ID]: 000152 [Price]: 5.55 USD [QTY]: 3 [Category]: Microcontrollers [Desc]: Ultra-low-power ARM Cortex-M3 MCU with 128 Kbytes Flash, 32 MHz CPU, USB MPN: STM32L151RBT6 [ID]: 000153 [Price
-
PDF
0269394001287118911.pdf
R15 27 Title A 3 R16 27 UMODE 4 Size Number Revision 5 6 A4 Date: 19-Jun-2008 Sheet of File: D:\ET-STM32F103.ddb Drawn By: 1 2 3 4 1 2 3 4 +3V3 +3V3 +3V3 C20+3V3 TAMP WKUP D R23 D4 1 2 3 R32 1 2 3 R34 D J17 10k 10k U5 100n 560 J18 J19 1 2 3 R22 74HC244 R24 D5 R31 R33 LED 22k 1 20 PC13 PA0 19 1OE VCC
in „Quarz an STM32F103 / Widerstand?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
bom-v1-0.pdf
1470nF KEM X7R0805 470N 0,07 € 0,07 € C130 14.7µF KEM X5R0805 4,7U 0,10 € 0,10 € C66 04.7µF only for STM32F4, F7 or H7 KEM X5R0805 4,7U 0,10 € 0,00 € C71 04.7µF only for STM32H7 KEM X5R0805 4,7U 0,10 € 0,00 € C67, C68 222pF KEM C0G0805 22P 0,04 € 0,08 € C69, C70 24,7pF NPO-G0805 4,7P 0,04 € 0,08 € C120
in „Universalplatine für STM32, grobe Fehler vor der Herstellung?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STM32F100RB_PWM_IO.c
V1.0.0 * @date Apr 11. 2012 * @brief hardware init for RC-Servo PWM signal input and output * tested on STM32 value line discovery Board * µC: STM32F100RB @24 MHz ******************************************************************************/ /* RC-receiver input */ __IO int32_t TIM3_IC1 = 0; /* Timer3, Input
in „RC Servo Signale mit STM32 einlesen und ausgeben“ · Projekte & Code ·
-
PDF
STM32F103_Industrial_Board_R1.pdf
CON4 Text 17 DI G GND J? RS485 GND 18 120R Text 19 MAX3485 1 TR- GND 20 2 TR+ CON20 GND CON2 PCB Name:STM32F103 Title Unless otherwise specified, all values are as follows: resistor values are in Ohms, i.e. 0R47, 5R6, 220, 5K6, 22K PCB Nr. 5500-0000 STM32F103IndustrialBoard A capacitor values are in Microfarads
in „STM32F103VET6 Industrial Board Schaltbild“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
neigungsmessung.c
Crashdemon.... *** HAVE A LOT OF PHUN! *** *** Motorcycle IMU *** inertial measurement unit *** ver 0.1 (STM32) *** ARM Cortex-M3 *** ***********************************************/ #define STM32F10X_HD //#define USE_STDPERIPH_DRIVER #include <math.h> #include <stdio.h> #include <stdint.h> #include <stddef.h> #include <stm32f10x.h> //#include <stm32f10x_adc.h> //#include <misc.h> //#include <stm32f10x_lib.h> // Constants #define M_PI 3.14159265358979323846 // USART #define BAUD 115200 // Baudrate für serielle Kommunikation
in „[STM32] Keil SysTick_Config Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f10x_it.c
***************************************************************** * @file OptimizedI2Cexamples/src/stm32f10x_it.c * @author MCD Application Team * @version V4.0.0 * @date 06/18/2010 * @brief Main Interrupt Service Routines. * This file provides template for all exceptions handler and * peripherals interrupt
in „stm32 Cortex I2C : Master zieht SCL auf Masse“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f10x_it.c
***************************************************************** * @file OptimizedI2Cexamples/src/stm32f10x_it.c * @author MCD Application Team * @version V4.0.0 * @date 06/18/2010 * @brief Main Interrupt Service Routines. * This file provides template for all exceptions handler and * peripherals interrupt
in „Cortex I2C zu kurze Impulsdauer“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
catalog-3.pdf
Mcu, 8 Bit, Atmega, 16MHZ, TQFP-32 MPN: STM32F407ZGT6 [ID]: 000151 [Price]: 21.483 USD [QTY]: 2 [Category]: Microcontrollers Page 61/105 Bauteileliste vom 12.08.2022 [Desc]: MCU 32-bit STM32F ARM Cortex M4F RISC 1024KB Flash 2.5V/3.3V 144-Pin LQFP Tray MPN: STM32L151RBH6A [ID]: 000152 [Price]: 7.6479 USD [QTY]: 3 [Category]: Microcontrollers [Desc]: Ultra-low-power ARM Cortex-M3 MCU with 128 Kbytes Flash, 32 MHz CPU, USB MPN: STM32L151RBT6 [ID]: 000153 [Price
-
Datei
hse_auto_clock.c
/* Automatische Erkennung von ext. HSE-Takt für STM32F7xx. Michael Nowak 2019-05-07 www.mino-elektronik.de */ #include "stm32f7xx.h" #define SOLLFREQUENZ_MHZ 216 // Vorgabewert #define PLL_M 16 // für internen HSI Takt #define PLL_Q 7 #define PLL_N (SOLLFREQUENZ_MHZ*2) #define PLL_P 2 #define HSE_STARTUP_TIMEOUT ((uint32_t)100U) // max. Wartezeit auf HSE extern uint32_t SystemCoreClock; // = PLL_N * 500000; uint32_t hse_value; // als Variable verwenden void HSE_init(void) { volatile uint32_t StartUpCounter = 0, HSE_status
in „STM32F429-Discovery Recycling: 90 MHz Frequenzzähler mit TFT“ · Projekte & Code ·
-
Datei
smcfor.c
#include "stm32f0xx.h" #include "stm32f0308_Discovery.h" #define in0 GPIO_Pin_0 #define in1 GPIO_Pin_1 #define in2 GPIO_Pin_2 #define in3 GPIO_Pin_3 #define in4 GPIO_Pin_4 #define in5 GPIO_Pin_5 #define in_GPIO GPIOA
-
Datei
smcfor.c
#include "stm32f0xx.h" #include "stm32f0308_Discovery.h" #define in0 GPIO_Pin_0 #define in1 GPIO_Pin_1 #define in2 GPIO_Pin_2 #define in3 GPIO_Pin_3 #define in4 GPIO_Pin_4 #define in5 GPIO_Pin_5 #define in_GPIO GPIOA
-
Datei
main.c
------------------------------------------------------------*/ #define SYSCLK_FREQ_48MHz #include "stm32f10x_conf.h" #include "system_stm32f10x.h" /* Standard Includes */ #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> /* Projekt Includes */ #include "main.h" #include
in „STM32F1xx: Wie GOL am "Leben" halten?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
config.h
CONFIG_H_INCLUDED #define CONFIG_H_INCLUDED #include <stdbool.h> #include <stdint.h> #include "tm_stm32f4_bmp180.h" #include "tm_stm32f4_rtc.h" // Typdefinition diverser RAM Typen, Verwendung <Typ> <CCRAM> <Variablenname> #define CCRAM __attribute__((section(".ccram"))) #define BKRAM __attribute__((
in „Organisation der Header und Includes“ · Mikrocontroller und Digitale Elektronik ·