-
PDF
Verfuegbare_Teile.pdf
Siemens 3RT1017 - 1AP01 10 170 204 28 Siemens 3RH1131 - 1AP00 3 39 46.8 29 Siemens 3RH1122 - 1BB40 2 32 38.4 30 Siemens 3RH1131 - 1BB40 4 64 76.8 31 Siemens 3TX7014 - 1BM00 6 48 57.6 32 Siemens 3RN1012 - 1CB00 1 44 52.8 33 Siemens 3RP1505 - 1BP30 7 329 394.8 34 Siemens 3RA1921 - 1B 76 228 273.6 35 Siemens
in „[V] Diverses Elektromaterial. Lagerauflösung.“ · Markt ·
-
Datei
main.c
#include "stm32f10x_conf.h" #include "main.h" void eraseFlashPage(uint8_t page) { uint32_t addr = FLASH_ADDR + 0x400 * page; FLASH_Unlock(); FLASH_ClearFlag(FLASH_FLAG_PGERR | FLASH_FLAG_WRPRTERR | FLASH_FLAG_EOP
in „STM32F103 bootloader tool“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
blinky.c
software. */ /******************************************************************************/ #include "stm32f10x.h" #define LED_BLINK_RATE 50 /* rate = LED_BLINK_RATE * systick */ #define LED_NUM 2 /* Number of user LEDs */ const unsigned long led_mask[] = { 1UL<<8, 1UL<<9 }; // = PORTC 8,9 erkannt #define USER1 0x0001 /* PA0 : USER1 */ #define UNBOUNCE_CNT 10 /* unbounce the Push Button */ uint32_t ledVal = 1; uint32_t ledOn = 0; uint32_t ledBlink = 0; /*---------------------------------------------------------------------------- configer LED pins *--------------------------------------------
in „Suche etwas Hilfe bei ATM/STM32 Einstieg“ · Mikrocontroller und Digitale Elektronik ·
-
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, int8_t val)
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, int8_t val)
in „STm32Fxxx: I2C Hardware Experten gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rtc.h
__RTC_H /* Includes ------------------------------------------------------------------*/ #include "stm32f10x.h" typedef struct { uint16_t year; /* 1..4095 */ uint8_t month; /* 1..12 */ uint8_t mday; /* 1.. 31 */ uint8_t wday; /* 0..6, Sunday = 0*/ uint8_t hour; /* 0..23 */ uint8_t min; /* 0..59 */ uint8
in „STM32F1 RTC eine Sekunde generieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LinkerScript.ld
*************** ** ** File : LinkerScript.ld ** ** Author : Ac6 ** ** Abstract : Linker script for STM32F429ZI Device with ** 2048KByte FLASH, 192KByte 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 : System Workbench for MCU ** ** Distribution: The file is distributed as is, without any warranty ** of any kind. ** ************************************************************
in „STM32 linker script stack größe“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LinkerScript.ld
** ** ** File : LinkerScript.ld ** ** Author : Ac6, Benny Zinke ** ** Abstract : Linker script for STM32F746NG Device with ** 1024KByte FLASH, 320KByte 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 : System Workbench for MCU ** ** Distribution: The file is distributed as is, without any warranty ** of any kind. ** ************************************************************
in „STM32F7 & malloc“ · 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 ·
-
Datei
main.c
#include "stm32l0xx.h" // The current clock frequency uint32_t SystemCoreClock=2097000; // Change system clock to 32 MHz using 8 MHz crystal void init_clock() { // Wait until voltage regulator is stabilized while
in „STM32L073RZ läuft auf HSE nur halb so schnell wie erwartet“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Training_TC1796_2007-04-23_PWM.pdf
mid period interrupt in file MAIN.c before the forever loop at (Main,9): // USER CODE BEGIN (Main,9) STM_ICR_CMP0EN = 1; // enable the stm interrupt for(;;) // forever ; // USER CODE END In file STM.c define the *dutyU, *dutyV, *dutyW as extern and add to function STM_viSRN0 (SRN0,3): // USER CODE BEGIN (SRN0,3) STM_ICR_CMP0EN = 0; // disable the stm interrupt GPTA0_LTCCTR02_REN = 1; // enable mid period interrupt dutyU++; dutyV++; dutyW++; // circular step through the sinus lookup table // USER CODE END Release
in „Raumzeigermodulation auf Tricore“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mp3_audio.c
DMA_Init(AUDIO_MAL_DMA_STREAM, &DMA_InitStructure); /* Enable the selected DMA interrupts (selected in "stm32_eval_audio_codec.h" defines) */ #ifdef AUDIO_MAL_DMA_IT_TC_EN DMA_ITConfig(AUDIO_MAL_DMA_STREAM, DMA_IT_TC, ENABLE); #endif /* AUDIO_MAL_DMA_IT_TC_EN */ #ifdef AUDIO_MAL_DMA_IT_HT_EN DMA_ITConfig(
in „STM32F429 WM8789 MP3“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mp3_audio.c
DMA_Init(AUDIO_MAL_DMA_STREAM, &DMA_InitStructure); /* Enable the selected DMA interrupts (selected in "stm32_eval_audio_codec.h" defines) */ #ifdef AUDIO_MAL_DMA_IT_TC_EN DMA_ITConfig(AUDIO_MAL_DMA_STREAM, DMA_IT_TC, ENABLE); #endif /* AUDIO_MAL_DMA_IT_TC_EN */ #ifdef AUDIO_MAL_DMA_IT_HT_EN DMA_ITConfig(
in „STM32F429 WM8789 MP3“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mp3_audio_array.c
DMA_Init(AUDIO_MAL_DMA_STREAM, &DMA_InitStructure); /* Enable the selected DMA interrupts (selected in "stm32_eval_audio_codec.h" defines) */ #ifdef AUDIO_MAL_DMA_IT_TC_EN DMA_ITConfig(AUDIO_MAL_DMA_STREAM, DMA_IT_TC, ENABLE); #endif /* AUDIO_MAL_DMA_IT_TC_EN */ #ifdef AUDIO_MAL_DMA_IT_HT_EN DMA_ITConfig(
in „STM32F429 WM8789 MP3“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SPI_Setup.c
#include "stm32f4xx.h" #include "stm32f4xx_spi.h" #include "gDef.h" #include "gVar.h" #include "gType.h" #include "gFunc.h" void SPI_Setup(void) { GPIO_InitTypeDef GPIO_InitStruct; SPI_InitTypeDef SPI_InitStruct;
in „STM32F4: Flash Speicher Zugriff über SPI“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
hd44780.h
Displayanschluss an den Controller ---------------------------------------------------------- o +5V | Display STM32F030F4P6 (TSSOP20) _ Funktion PIN PIN Funktion | | |_| GND 1 ------------ | +5V 2 ------------ o----o Kontrast --- Kontrast 3 ------------ _|_ RS 4 ------------ 11 PA5 \ / rd /wr 5 ------------ GND
in „Live-Linux: Anleitung schreiben“ · PC Hard- und Software ·
-
Datei
lwipopts.h
based on Utilities\lwip-1.3.1\src\include\lwip\opt.h * and contains the lwIP configuration for the STM32F107 demonstration. ****************************************************************************** * @copy * * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING
in „lwIP 1.4.1 + freeRTOS 8.2.3 + stm32f107vb“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lwipopts.h
based on Utilities\lwip_v1.4.1\src\include\lwip\opt.h * and contains the lwIP 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
lwipopts.h
based on Utilities\lwip_v1.3.2\src\include\lwip\opt.h * and contains the lwIP configuration for the STM32F4x7 demonstration. ****************************************************************************** * @attention * * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH
in „Olimex STM32E407, FreeRTOS und lwip“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
code implements a TCP Echo Server application based on * Raw API of LwIP stack. This application uses STM32F4xx the * ETH HAL API to transmit and receive data. * The communication is done with a web browser of a remote PC. ****************************************************************************** *
in „lwIP STM32f4 kontiuierlich senden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/ #include "main.h" //#include "RGB565_480x272.h" uint16_t RGB565_480x272[130560]; /** @addtogroup STM32F7xx_HAL_Examples * @{ */ /** @addtogroup LTDC_Display_1Layer * @{ */ /* Private typedef -----------------------------------------------------------*/ /* Private define ----------------------------
in „STM32F7 Discovery Board“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
cc-fft-out.txt
leo@cb:~/Projekte/STM32F103C8-gen-board/philips-vfd$ ./cc-fft.sh + ./cc-fft.sh Using built-in specs. COLLECT_GCC=arm-none-eabi-gcc Target: arm-none-eabi Configured with: ../src/configure --build=x86_64-linux-gnu --prefix
in „STM32 Arduino“ · 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
rtc.c
*-------------------------------------------------------------------------- */ /* RTC controls for STM32 */ /* collected by Pappnase (Lötlackl) 2012 */ /* heavily based on code from Martin Thomas, STMicroelectronics, */ /* Peter Dannegger, "LaLaDumm", Werner B. and some code */ /* from http://www.nord-com.net
in „STM32F1 RTC eine Sekunde generieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
eeprom.h
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 /* Page size = 16KByte */ /* Device voltage range supposed to be
in „FLASH speicher Lebensdauer Beeinflussung?“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Elektronikkomponenten und Module auf weißem Untergrund
ESP32+Wroom-32 Bluetooth + WLAN Pinleiste MCU STM32 F401 CNL-Shield Arduino Clone LDR SS28
in „Wanderkiste Widlar VIII“ · Markt · · Fotos
-
Datei
usart_nrf.h
#ifndef __USART_NRF_H #define __USART_NRF_H #ifdef DTU3PRO #include "stm32f4xx.h" #define UsartNrf USART3 #else #include "stm32f10x.h" #define UsartNrf USART2 #endif #include <math.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <stdbool.h> #include
in „Wechselrichter Hoymiles HM-xxxx 2,4 GhZ Nordic Protokoll?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
eeprom.h
EEPROM_H /* Includes ------------------------------------------------------------------*/ #include "stm32f3xx_hal.h" /* Exported constants --------------------------------------------------------*/ /* EEPROM emulation firmware error codes */ #define EE_OK (uint32_t)HAL_OK #define EE_ERROR (uint32_t)HAL_ERROR
in „STM32F3 Virtual EEPROM für große Look Up“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
eeprom.h
EEPROM_H /* Includes ------------------------------------------------------------------*/ #include "stm32f3xx_hal.h" /* Exported constants --------------------------------------------------------*/ /* EEPROM emulation firmware error codes */ #define EE_OK (uint32_t)HAL_OK #define EE_ERROR (uint32_t)HAL_ERROR
in „STM32F3 Virtual EEPROM für große Look Up“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
delay.c
#include "delay.h" #include "stm32f0xx_hal.h" // For store tick counts in us static __IO uint32_t usTicks; /** System Clock Configuration */ void SystemClock_Config(uint32_t sysTickDevider) { RCC_OscInitTypeDef RCC_OscInitStruct; RCC_ClkInitTypeDef
in „Interrupt wird ständig aufgerufen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ds18b20.h
DS18B20_H_ /* Includes ------------------------------------------------------------------*/ #include "stm32f10x_lib.h" /* #define DS18B20_BIT GPIO_Pin_0 #define DS18B20_PORT GPIOC #define READ_DS18B20() GPIO_ReadInputDataBit(GPIOB, DS18B20_BIT) #define DIR_1WIRE_IN() {DS18B20_PORT->CRL &= 0xFF0FFFFF;DS18B20
in „STM32 DS1820“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f10x.h" uint32_t CRC32(uint8_t* buf, int len) { uint32_t crc = 0xFFFFFFFF; for(int i=0; i<len; i++) { uint32_t byte = buf[i]; crc = crc^byte; for(int j=7; j>=0; j--) { uint32_t mask = -(crc & 1); crc
in „STM32F103C8T6 - Fälschung von ST bestätigt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
processing.c
stdint.h> #include <stdbool.h> /* --------------- Special Include Files / Librarys ------ */ #include "tm_stm32f4_adc.h" #include "tm_stm32f4_hd44780.h" /* -------------- Projekt Include Files ---------------- */ #include "processing.h" #include "config.h" #include "tools.h" #include "rtc_user.h" #include "
in „Organisation der Header und Includes“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Blockschaltbild des STSPIN32G0A1
Figure 1. STSPIN32G0A1 block diagram STM32G031x STSPIN32G0A1 Power stage Control logic 12V Reg. Buck reg control circuit To motor To OpAmp OUTU OUTV OUTW HSU LSU HSV LSV HSU LSW OUTW OC_SEL OC_COMP_INT TESTMODE GPIOx To
in „TI TMS320F28P55x, STSPIN32G0 und Informationen zur Elektronik militärischer Flugkörper“ · Mikrocontroller und Digitale Elektronik · · Diagramme
-
Datei
gfx_pictures.h
, 5 Bit fuer blau) Verfuegbare Formate sind: PCX 256 Farben BMP s/w, 4, 16, 256 Farben MCU : AVR / STM32 / STM8 25.01.2019 R. Seelig ------------------------------------------------------ */ #ifndef in_gfxpictures #define in_gfxpictures // Fuer Verwendung mit einer Atmel AVR MCU ist hier eine 1 anzugeben
-
PDF
SAM3X.pdf
x 256 Kbytes 2 x 256 Kbytes 2 x 128 Kbytes 2 x 128 Kbytes 2 x 256 Kbytes 2 x 128 Kbytes SRAM 64 + 32 Kbytes 64 + 32 Kbytes 32 + 32 Kbytes 32 + 32 Kbytes 64 + 32 Kbytes 32 + 32 Kbytes Nand Flash Controller (NFC) Yes - Yes - - - NFC SRAM (1) 4K bytes - 4K bytes - - - LQFP144 LQFP100 LQFP144 LQFP100 LQFP100
in „ARM SAM3x Zähleingang“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SAM3X.pdf
x 256 Kbytes 2 x 256 Kbytes 2 x 128 Kbytes 2 x 128 Kbytes 2 x 256 Kbytes 2 x 128 Kbytes SRAM 64 + 32 Kbytes 64 + 32 Kbytes 32 + 32 Kbytes 32 + 32 Kbytes 64 + 32 Kbytes 32 + 32 Kbytes Nand Flash Controller (NFC) Yes - Yes - - - NFC SRAM (1) 4K bytes - 4K bytes - - - LQFP144 LQFP100 LQFP144 LQFP100 LQFP100
in „Arduino Due: Programmierung ohne 16U2“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usart3.c
20 www.mino-elektronik.de */ #define _USART3 #define PRIO_USART3 10 // mittlere Priorität #include "stm32f4xx.h" #define BIT(x) (1<<x) enum gpio_modus {IN, OUT, AF, ANALOG}; enum gpio_speed {LOW_SPEED, MEDIUM_SPEED, HIGH_SPEED, V_HIGH_SPEED}; enum gpio_pullup {NO_PULL, PULL_UP, PULL_DOWN}; // PortB #define
in „stm32f411 USART2 will nicht wie er soll“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f10x.h" #include "math.h" #define PI 3.1415926535897932384626433832795 #define rLDC 250.0 #define ARMLENGTH 500.0 #define ARMLENGTH2 250000.0 uint32_t readings[16]; uint8_t index = 0; uint32_t avg = 0; volatile uint32_t cnt = 0; void InitTimer(); int main(void) { double x=0,y=0,z=0; double x1=-rLDC; double y1=0; double z1=0; double x2=150.0; //ToDo double y2=sin(60.0 / 180.0 * PI) * rLDC; double z2=0; double x3=150.0
in „Mikrocontroller Rechenleistung reicht für aktuelles Projekt nicht?“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Tabelle der aktivsten Library Maintainer 2024
momizi: 44 Jofel Batutay: 41 Larry Bank: 41 Xose Pérez: 41 Lee Leahy: 38 Ricardo Lima Caratti: 36 stm32duino: 35 Joshua Phelps: 34 Abhijit Bose (aka. Boseij): 33 Ayush Sharma: 33 Dejwk: 33 Digital Codesign: 32 Rei Vilo: 32 Data source: Arduino Library Index
in „ARM-AI-Assistent final, RP2040 mit 200 MHz Maximaltakt uvm“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Datei
main.c
#include "stm32f10x.h" #include <stdbool.h> #include <stdio.h> #include "ov7670-regs.h" #include "main.h" // ---------------------------------------------------------------------------- /* * Timelapse Camera Project
in „OV7670 an STM32F102“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Ethernet.c
ETH_InitStructure.ETH_FixedBurst = ETH_FixedBurst_Enable; ETH_InitStructure.ETH_RxDMABurstLength = ETH_RxDMABurstLength_32Beat; ETH_InitStructure.ETH_TxDMABurstLength = ETH_TxDMABurstLength_32Beat; ETH_InitStructure.ETH_DMAArbitration = ETH_DMAArbitration_RoundRobin_RxTx_2_1; } void ETH_GPIO_Config(void) { GPIO_InitTypeDef
in „STM32F207 + KS8721 (Ethernet Phy)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main_tidy1.c
void main(void) { int i; SystemInit(); // Initialize STM32F429 clock tree printf("OV7670+FIFO Test Program\n"); InitializeLEDs(); // Delay() function needs that: SysTick_Config(SystemCoreClock / 1000); // Set SysTick to 1ms. // TIM1_Setup(); Delay(100); I2C_Config
in „Brauche Unterstützung beim OV7670 (bzw. SCCB)“ · 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 ·
-
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
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(void) { systick_count++; } // Delay some milliseconds void delay_ms(int ms) { uint32_t start=systick_count; while (systick_count-start<ms); } // Change system clock to 48 MHz using 8 MHz crystal // Called by Assembler startup code void SystemInit(void) { // Flash latency 2 wait states
in „STM32 läuft mit Debugger schneller als er soll“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Windows Systeminformationen und ST-Link Debugger Terminal
specifications Device name BUREAU Processor AMD Ryzen 9 3900X 12-Core Processor 3.60 GHz Installed RAM 32.0 GB Windows specifications Edition Windows 10 Pro Version 20H2 f:\software\ELink\win32\ELink.exe Interface USB# : 0671FF343537424257231318 Interface type : STlink/V2.1 STlink connect : Under reset Target
in „STM32F103 Bluepill mit 128kb lässt sich nicht flashen“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Datei
swd_analyzer.c
chris http://www.mikrocontroller.net/topic/309185 Based on: http://sourceforge.net/apps/mediawiki/stm32primer2swd/index.php?title=Main_Page#SWD_Packet_Construction */ #include <stdio.h> typedef unsigned char byte; typedef unsigned short word; typedef unsigned int dword; typedef unsigned long long qword
in „Hackbarer(?) 21 EUR Quadcopter“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
can_interface.c
mode) { ci_controll = mode; } CAN_Data_t ci_data[CAN_TABLE_SIZE]; void CAN1_RX0_IRQHandler() { uint32_t id; CAN_Data_t* pdata; STM32vldiscovery_LEDToggle(LED4); /* Check the parameters */ assert_param(IS_CAN_ALL_PERIPH(CAN1)); assert_param(IS_CAN_FIFO(CAN_FIFO0)); /* Get the Id */ id = (uint32_t) 0x000007FF
in „Interruptroutine Timer Cotex M3“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
quelltext.c
#include <stdint.h> #include "stm32f3xx.h" // The current clock frequency uint32_t SystemCoreClock=8000000; // Counts milliseconds volatile uint32_t systick_count=0; // Interrupt handler void SysTick_Handler(void) { systick_count++; } // Delay some milliseconds void delay_ms(int ms) { uint32_t start=systick_count; while (systick_count-start<ms); } // Change system clock to 48Mhz using 8Mhz crystal // Called by Assembler startup code void SystemInit(void) { // Flash latency 1 wait state MODIFY_REG
in „STM32 läuft mit Debugger schneller als er soll“ · Mikrocontroller und Digitale Elektronik ·