-
Datei
main.h
*/ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __MAIN_H #define __MAIN_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "stm32f0xx_hal.h" /* Private includes ---------------
in „Programmierung - Doppelbelegung einer Taste“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
controller.c
#include "stm32f10x_conf.h" #include <stm32f10x_lib.h> ErrorStatus HSEStartUpStatus; void RCC_Configuration(void); //Configures Clock for all devices and GPIOs void NVIC_Configuration(void); void GPIO_init(void); void SPI_init (void); //Initializes all required GPIOs void spi1_init(void); void Delay(vu32 nCount); int spi1_tx(int tx); //Creates a delay: nCount / Clock-Speed //Initializes the SPI-interface //Init nested vector interrupt controller #define BufferSize 32 //SPI's Buffersize GPIO_InitTypeDef
in „STMF32, SPI, Master, Vollduplex“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
Date: $ ID: $Id: $ **********************************************************************/ #include "stm32f4xx.h" #include "stm32f4xx_conf.h" int main(void) { ///* Set Clocks */// //* AHB1 - GPIO-A, GPIO-D *// RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOA | RCC_AHB1Periph_GPIOD, ENABLE); //* APB1 - Timer2
in „STM32 Interrupt / I/O“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SAM3X.pdf
PA7 G7 PA20 K2 DFSDP B8 PB3 E3 PA8 G8 PA3 K3 DFSDM B9 PA29 E4 VDDCORE G9 PA2 K4 VDDCORE B10 PA27 E5 GND G10 PB12 K5 XOUT32 C1 PA12 E6 GND H1 XIN K6 VDDOUT C2 PA14 E7 VDDIO H2 GNDUTMI K7 VDDANA C3 PA13 E8 PB19 H3 TST K8 GNDANA C4 PA17 E9 PB20 H4 VDDBU K9 ADVREF C5 PA15 E10 PB21 H5 WAKEUP K10 PB15 17
in „ARM SAM3x Zähleingang“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SAM3X.pdf
PA7 G7 PA20 K2 DFSDP B8 PB3 E3 PA8 G8 PA3 K3 DFSDM B9 PA29 E4 VDDCORE G9 PA2 K4 VDDCORE B10 PA27 E5 GND G10 PB12 K5 XOUT32 C1 PA12 E6 GND H1 XIN K6 VDDOUT C2 PA14 E7 VDDIO H2 GNDUTMI K7 VDDANA C3 PA13 E8 PB19 H3 TST K8 GNDANA C4 PA17 E9 PB20 H4 VDDBU K9 ADVREF C5 PA15 E10 PB21 H5 WAKEUP K10 PB15 17
in „Arduino Due: Programmierung ohne 16U2“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ETEMB043013XDHAL_-_ver2.pdf
izCOMES HiLF OF thE INITIAL VALUE. 5. TIMING CHORACTERhoTICS log tau REFER TO STM32F7u0 DAThnSHEET ou 6. MCU CHARACTERISTICS e ih ITEM IyTERNAEXeERNAL REMARK FLASHM pl64KBB b32 MB NOTETHE FLASH MiMORY strE CAN BE UP TO 128MB gD di gin not
in „EDT Display Interface mit STM32F7“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
adc.c
/ ST includes //************************************************************************ #include "stm32f4xx_hal.h" //************************************************************************ // Project includes //************************************************************************ #include "adc.h
in „STM32F4 - triple ADC mit DMA funktioniert nur 1x“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Webinterface einer WordClock Steuerung
Animations Overlays Ambilight Timers Ambilight Timers DFPlayer SPIFFS Update Local Update Processor STM32F103C8 Hardware WC12h Display WS2812 GRB Version 3.0.1 ESP8266 version 3.0.0T5 RTC online EEPROM online EEPROM Version 2.9 DFPlayer offline Display power on YYYY MM DD hh mm Action 2025 04 14 19 27
in „WordClock mit WS2812“ · Projekte & Code · · Screenshots
-
PDF
not_fitted_schaltplan_uC.pdf
0R EN_5V 2 PC13 VSS_2 35 T P 9 11 11 R23 0R FREI11 3 PC14-OSC32_IN_(PC14) PA13_(JTMS-SWDIO) 34 SWDIO R24 T P 1 1 10 0R FREI12 4 33 FREI1 R26 T 3 2 10 9 R25 0R FREI13_NOT_OSZ OSCIN 5 PC15-OSC32_OUT_(PC15) PA12
in „Übersprechen von einem uC-Pin zum Anderen“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
quelltext2.c
#include <stdio.h> #include "../CMSIS/device/stm32f3xx.h" // The current clock frequency uint32_t SystemCoreClock=8000000; // Counts milliseconds volatile uint32_t systick_count=0; // Interrupt handler void SysTick_Handler
in „STM32 läuft mit Debugger schneller als er soll“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
armbian_modules.txt
or51132 cx22702 dvb-pll stb0899 sp2 lgs8gxx tda10071 l64781 lnbp22 stv090x mb86a20s cxd2880 isl6405 s5h1432 cx24116 tda10086 s5h1420 cx24110 mb86a16 lnbh25 s5h1409 lg2160 stv0367 horus3a lgdt3305 isl6423 drx39xyj stv0910 atbm8830 si2165 gp8psk-fe dib0070 drxk dib8000 cx22700 cx24113 tda826x s921 ves1820
in „Samba auf Banana Pi Pro installieren“ · PC Hard- und Software ·
-
Datei
stm32f4xx.h
* @{ */ #ifndef __STM32F4xx_H #define __STM32F4xx_H #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /** @addtogroup Library_configuration_section * @{ */ /* Uncomment the line below according to the target STM32
in „STM32F0 Discovery und UART1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f4xx.h
* @{ */ #ifndef __STM32F4xx_H #define __STM32F4xx_H #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /** @addtogroup Library_configuration_section * @{ */ /* Uncomment the line below according to the target STM32
in „STM32F4 SPI Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <stdio.h> #include "stm32f3xx.h" #include "usb.h" // The current clock frequency uint32_t SystemCoreClock=8000000; // Counts milliseconds volatile uint32_t systick_count=0; // Interrupt handler void SysTick_Handler
in „An W.S.: Läuft deine USB Implementierung auch auf STM32F303?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
gpio.h
#ifndef GPIO_H_ #define GPIO_H_ #include "stm32l4xx_hal_rcc.h" #define PORTMODE_OFFSET 0x00 #define MODE_OUTPUT 0x1 #define MODE_INPUT 0x0 #define ODR_OFFSET 0x14 #define IDR_OFFSET 0x10 #define AHB2ENR_REGOFFS 0x4c #define PIN_CENTER 0 #define PIN_LEFT 1 #define PIN_DOWN 5 #define PIN_RIGHT 2 #define PIN_UP 3 #define LED_RED 2 #define LED_GRN 8 #define BIT_ANZAHL 2 #define RCC_ADDR 0x40021000 #define RCC_AHB2ENR *(volatile uint32_t*) (RCC_ADDR | AHB2ENR_REGOFFS) #define
in „STM32L4 LED durch Tastedrücken einschalten“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Werbe-Präsentation der STM32H7R/S Mikrocontroller-Linie
What the STM32H7R/S lines offer Max performance: 600 MHz bootflash MCU Real-time execution from internal or external memories High speed serial & parallel memory interfaces up to 200 MHz DTR Large internal SRAM
in „Neue STM32H7-Variante, Eclipse-Daten zur IoT-Adoption und neue Kameras“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Datei
i2c_referenz.c
#include <stdio.h> #include "stm32f10x_gpio.h" #include "stm32f10x_rcc.h" #include "i2c.h" #include "debug.h" static void I2C1_InitI2C(void); static void I2C2_InitI2C(void); static int8_t I2C1_Timeout(I2C_TypeDef* I2Cx
in „STM32F103C8T6 Blue Pill - SSD1306 - u8g2“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c.c
#include <stdio.h> #include "stm32f10x_gpio.h" #include "stm32f10x_rcc.h" #include "i2c.h" #include "debug.h" static void I2C1_InitI2C(void); static void I2C2_InitI2C(void); static int8_t I2C1_Timeout(I2C_TypeDef* I2Cx
in „STm32Fxxx: I2C Hardware Experten gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
config.c
/* Portbelegungen und Konfiguration: */ #include "StdTypes.h" #include "STM32F103all.h" #include "startup.h" #include "config.h" /* Portbelegungen und Konfiguration: ================================= Diese Konfiguration ist für den STM32F103C8T6, also im LQFP-
in „MINOS - Minos Is No Operating System“ · Projekte & Code ·
-
Datei
config.c
/* Portbelegungen und Konfiguration: */ #include "StdTypes.h" #include "STM32F103all.h" #include "startup.h" #include "config.h" /* Portbelegungen und Konfiguration: ================================= Diese Konfiguration ist für den STM32F103C8T6, also im LQFP-
in „Problem mit Clock Configuration beim STM32G031“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
atf.pdf
+18V +18V R39 V12 PSMN4R6-60 X1:1 LINK+ X2:5 27R,1W BAV103 F3 C22 C4 6 9 E1 SMA6J33CA 100n 4u7 D3 R 3 PR5/25 STM32L412 V1 V2 V4 X1:5 BC856 X1:4 1 , 4 , X1:3 VDDA 30 PWRON_H R R R R PB7 V5 R3 2 2 E2 +18V +3.3V L1 BC846 +7V PR5/25 N1 5 VDDA 15k MIC5233
in „Schaltplan richtig zeichnen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
graphik.c
Orkantief : 950 - 970 mBar */ /* ------------ Standard Include Files --------------- */ #include <stdio.h> #include <stdlib.h> #include <math.h> /* ------------ Special Include Files --------------- */ #include "tm_stm32f4_ili9341.h" #include "tm_stm32f4_rtc.h" /* ------------ Projekt Include Files --------------- */ #include "config.h" #include "graphik.h" #include "rtc_user.h" /* ------------ Typen Deklarationen-------------------- */ /* ------------ Defintionen --------------------------- */ /* LCD settings */ #define ILI9341_WIDTH
in „Organisation der Header und Includes“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
eeprom.h
/* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __EEPROM_H #define __EEPROM_H /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal.h" /* Exported constants --------------------------------------------------------*/ /* EEPROM emulation firmware error codes */ #define EE_OK (uint32_t)HAL_OK #define EE_ERROR (uint32_t)HAL_ERROR #define EE_BUSY (uint32_t)HAL_BUSY #define EE_TIMEOUT (uint32_t)HAL_TIMEOUT /* Define the size of the sectors to be used */ #define PAGE_SIZE (uint32_t)0x4000
in „FLASH speicher Lebensdauer Beeinflussung?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
spiPlatform_STM32L452.h
once /* Boxlib (c) 2025 by Malte Marwedel SPDX-License-Identifier: BSD-3-Clause */ #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include "main.h" #define SPIQUEUEDEPTH 4 /*Initalizes the SPI to run in master mode with 8 bit data width, manual chip select and a divider of 64. The clock to
in „STM32: SPI - HAL durch eigenen code ersetzen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f4x7_eth.h
**** */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32F4x7_ETH_H #define __STM32F4x7_ETH_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "stm32f4x7_eth_conf.h" /** @addtogroup
in „STM32-E407 Ethernet / UDP“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f4x7_eth.h
-------------------------*/ #ifndef __STM32F4x7_ETH_H #define __STM32F4x7_ETH_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "stm32f4x7_eth_conf.h" /** @addtogroup
in „Olimex STM32E407, FreeRTOS und lwip“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
new_1.txt
Initialization part, use AMP using Combiprobe with two DebugCables BOTH RESet BOTH SYStem.RESet BOTH SYStem.CPU STM32L151VB WHISKER1 SYStem.CONFIG.DEBUGPORT DebugCableA WHISKER1 SYStem.CONFIG.CORE 1. 1. WHISKER2 SYStem.CONFIG.DEBUGPORT DebugCableB WHISKER2 SYStem.CONFIG.CORE 1. 2. BOTH SYStem.CONFIG CONNECTOR MIPI20T
in „Trace auf Lauterbach PowerDebug USB3 + CombiProbe mit STM32L151“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ADD9910_Design.pdf
04 D1 IOUT PIU?00 RF_ UT1_N PO RF_OUT1_N 10 N main[4D], DDS_Modul_Multiplier[1C] IC?IOC 43 340?UIP STM32F722RCT6 42 D2 84 R11 _ _ B B T B B B B B3 D 1 1 1 1 1 P3904 D3 DAC RSET PIU?0PI10 PI10 GND D S P P O P P P P P P C C C A A 930D4IP 10K D S O P P P P P PU?03 D5 PLL LOCK PIU?09 V V B 37 730?UIP 1 48
in „PCB -Frequenzrampe 100khz-360 MHz“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
nrf24l01_drv.c
IRQ = PA2 */ /* -------------- System Include Files ------------------- */ #include "stm32f10x_conf.h" /* -------------- Standard Include Files ----------------- */ #include <stdbool.h> #include <stdint.h> #include <stdio.h> /* -------------- Special Include Files / Librarys ------ */ /
in „EmBitz Debugging Problem mit STM32F103“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
nrf24l01_drv.c
IRQ = PA2 */ /* -------------- System Include Files ------------------- */ #include "stm32f10x_conf.h" /* -------------- Standard Include Files ----------------- */ #include <stdbool.h> #include <stdint.h> #include <stdio.h> /* -------------- Special Include Files / Librarys ------ */ /
in „Kleine Frage zu Makros“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
schaltplan_uC.pdf
0R EN_5V 2 PC13 VSS_2 35 T P 9 11 11 R23 0R FREI11 3 PC14-OSC32_IN_(PC14) PA13_(JTMS-SWDIO) 34 SWDIO R24 T P 1 1 10 0R FREI12 4 33 FREI1 R26 T 3 2 10 9 R25 0R FREI13_NOT_OSZ OSCIN 5 PC15-OSC32_OUT_(PC15) PA12
in „Übersprechen von einem uC-Pin zum Anderen“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
startup_stm32f30x.S
/** ****************************************************************************** * @file startup_stm32f30x.s * @author MCD Application Team * @version V1.0.0 * @date 04-Spetember-2012 * @brief STM32F30x Devices vector table for RIDE7 toolchain. * This module performs: * - Set the initial SP * - Set
in „STM32 Takt Frage“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lwipopts.h
configuration for the STM32F4x7 demonstration. ****************************************************************************** * @attention * * <h2><center>© COPYRIGHT 2013 STMicroelectronics</center></h2> * * Licensed under
in „LwIP Sockets API vs. Raw API vs. uIP Stack“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
I2CRoutines.h
BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. * * <h2><center>© COPYRIGHT 2010 STMicroelectronics</center></h2> */ /* Includes ------------------------------------------------------------------*/ #include "stm32f10x.h" /* Define to prevent recursive
in „stm32 Cortex I2C : Master zieht SCL auf Masse“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
I2CRoutines.h
BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. * * <h2><center>© COPYRIGHT 2010 STMicroelectronics</center></h2> */ /* Includes ------------------------------------------------------------------*/ #include "stm32f10x.h" /* Define to prevent recursive
in „Cortex I2C zu kurze Impulsdauer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2croutines.h
BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. * * <h2><center>© COPYRIGHT 2010 STMicroelectronics</center></h2> */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __I2CROUTINES_H #define __I2CROUTINES_H /* Includes ------------------------------------------------------------------*/ #include "../boot/stdint.h" #include "../Std_lib/stm32f10x_conf.h" /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------
in „stm32 Cortex I2C : Master zieht SCL auf Masse“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PGA-105_.pdf
0.9 18.4 2.0 18.9 2.6 9.3 Output Return Loss 0.04 12.9 dB 0.5 23.3 0.9 20.1 2.0 14.7 2.5 9.1 Reverse Isolation 2.0 22.2 dB Output Power @1 dB compression 0.04 20.9 dBm 0.5 20.7 0.9 20.5 2.0 19.3 2.6 19.3 Output IP3 0.04 36.1 dBm 0.5 39.3 0.9 39.3 2.0 34.7 2.6 32.4
-
Datei
usbd_storage_if.c
capacity related *****/ extern FATFS *pfs; extern DWORD fre_clust; /* USER CODE END PV */ /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY * @brief Usb device. * @{ */ /** @defgroup USBD_STORAGE * @brief Usb mass storage device module * @{ */ /** @defgroup USBD_STORAGE_Private_TypesDefinitions * @brief Private
in „ARM [STM32] microSD SPI USB Massenspeicher“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c.c
#include "main.h" #include <stm32f4xx.h> #include <stm32f4xx_i2c.h> #include "i2c.h" //------------------------------------------- // Definition of local constants //------------------------------------------- #define
in „STM32F4 Discovery mit I2C-Bus EEPROM“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
schaltung.pdf
IC1 20 1 4 VCC TXD 5 VCCIO RXD 3 +FT_C1 FT_C2 +FT_C3 19 RTS 11 GND RESET CTS STM32 - UM0919 1x16 DTR 2 GND2 GND VSS 10nF 100nF 4.7uF 27 OSCI DSR 9 NC2 NC1 VDD 5 28 OSCO DCD 10 3V3 5V V0 GND 6 VBAT PB9 RS 4 +D RI VCC_FT&AM
-
Datei
BitBangingTest.c
#include <stdio.h> #include <stdint.h> #include <stdbool.h> #include "stm32f3xx.h" volatile _Bool interruptWarDa; void TIM2_IRQHandler(void) { interruptWarDa = 1; TIM2->SR &= ~TIM_SR_UIF; } // Function to delay in microseconds
in „Bit Banging STM32 - F303RE ohne Library“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/* Includes ------------------------------------------------------------------*/ #include "stm32f10x.h" #include "stm32f10x_conf.h" #define GPIOB_LED GPIO_Pin_2 #define GPIOC_BZZ GPIO_Pin_13 #define UH 0x0004 #define UL 0x0001 #define VH 0x0040 #define VL 0x0010 #define WH 0x0400 #define WL 0x0100
in „STM32F1 Brushless Motor Steuerung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f10x_can.c
******/ /* Includes ------------------------------------------------------------------*/ #include "stm32f10x_can.h" #include "stm32f10x_rcc.h" /* Private typedef -----------------------------------------------------------*/ /* Private define -----------------------------------------------------------
in „STM32F10x Cortex M3 CAN Konfiguration“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
eGC.pdf
sdrc_d1PIIC10U4 sdrc_ba2 sdrc_a2PIIC10N3_A3 SDRC_A3 PIIC30N2 DQ2 PIIC30H3_D3 SDRC_D3 PIIC10C2rc_d2 sdrc_d1PIIC10V4 sdrc_a4PIIC10N2_A4 SDRC_A4 PIIC3A48 DQ4 PIIC30H1_D4 SDRC_D4 PIIC10sdrc_d4 sdrc_d20IIC10V1 sdrc_a5PIIC10N4_A5 SDRC_A5 PIIC3A53 DQ5 PIIC30H9_D5 SDRC_D5 PIIC10sdrc_d5
in „[Suche] Interessierte(n) an Projekt (ARM/FPGA)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Testboard_KK32F7.PDF
PIU1000153 P CSN_NRF 0 N R F P OuSD_CLK0 C L K CALC_RTC PI8100PC12/SPI3_MOSI/I2S3_SD/USART3_CK/UART5_TX/SDIO_CK/DCMI_D9 154 TP100 PITP101 PIU100PC13/RTC_AF1 TIM5_CH4/SPI2_NSS/I2S2_WS/FMC_D24/DCMI_D13/LCD_G5/PI0 PIU1000154 P CS_FLASHF L A S H PIU100PC14/OSC32_IN SPI2_SCK/I2S2_CK/FMC_D25/DCMI_D8/LCD_G6
in „STM32F7 Discovery Board“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <stdint.h> #include "stm32f3xx.h" // delay loop without using a timer // for 48MHz, Latency 1, gcc optimizer enabled void delay_ms(uint32_t msec) { for (uint32_t j=0; j<6000UL*msec; j++) { __NOP(); } } // Change
in „STM32 läuft mit Debugger schneller als er soll“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
HCT595.c
************************ */ /* -------------- System Include Files ------------------ */ #include "stm32f10x_conf.h" #include "system_stm32f10x.h" /* -------------- Standard Include Files ---------------- */ #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> /* ----------
in „EmBitz Debugging Problem mit STM32F103“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
CAN2_1.txt
// -------------------------------------- Umbenenen der STM Pins // Bliotheken //------------------------------------------------------------------------------------------------------------Testweise auskommentiert #include <assert.h> #include "stm32f103.h" /
in „Arduino Blue Pill & CAN mit SN65HVD230“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
adc_test.c
/* ------------------------------------------------------- adc_test.c MCU : STM8S103F3 Takt : interner Takt 16 MHz 19.05.2016 R. Seelig ------------------------------------------------------ */ #include "stm8s.h" #define u_ref 331ul // gemessene Betriebsspg.: 3.31 V ( * 100 ) #
in „STM8 und ADC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <stm32f10x.h> #include <stdint.h> void delay(uint16_t msec) { for (uint32_t j=0; j<5000*msec; j++) { asm volatile ("nop"); } } void SystemInit(void) { // 64Mhz using the HSI Oscillator WRITE_REG(RCC->CFGR
in „STM32 falsche Taktfrequenz“ · Mikrocontroller und Digitale Elektronik ·