-
Datei
max7219.c
Treibers Autor : Christian Julius 12.2015 ******************************************** */ #include "stm32f4xx.h" #include "stm32f4xx_spi.h" #include "stm32f4xx_rcc.h" #include "stm32f4xx_gpio.h" /* -------------- Standard Include Files ----------------- */ #include <stdio.h> #include <stdint.h> #include
in „NRF24L01: Handauflegen hilft?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
irmp.c.logging.F30x.diff
IRMP_N_PROTOCOLS + 1 # define STM32_UART_COM USART2 # define STM32_UART_BAUD 115200 // 115200 Baud # include "stm32f4xx_usart.h" -#elif defined(ARM_STM32F10X) +#elif defined(ARM_STM32F10X) || defined(ARM_STM32F30X) # define STM32_UART_COM USART3 // UART3 on PB10 #elif defined(ARDUINO) // Arduino Serial implementation
in „IRMP - Infrared Multi Protocol Decoder“ · Projekte & Code ·
-
Datei
stm32_ub_uart.h
--------------------- //-------------------------------------------------------------- #ifndef __STM32F4_UB_UART_H #define __STM32F4_UB_UART_H //-------------------------------------------------------------- // Includes //-------------------------------------------------------------- #define STM32_F0
in „STM32F030F4P6 und USART1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f4xx.h" #include "stm32f4xx_tim.h" #include "stm32f4xx_dma.h" uint16_t LED_PIN_SET[10] = { GPIO_Pin_5, 0x0000, GPIO_Pin_5, 0x0000 ,GPIO_Pin_5, 0x0000 ,GPIO_Pin_5, 0x0000 ,GPIO_Pin_5, 0x0000 }; uint16
in „STM32F4 + Timer 3 + DMA1 schreibt nicht ins ODR => TEIF“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Main.c
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 ·
-
PDF
UM1052_PMSM_singledual_FOC_SDK_v3.3.pdf
) $\Libraries\STM32F2xx_StdPeriph_Driver\src\ (standard peripheral driver sources as needed) for STM32F4xx projects $\Libraries\CMSIS\CMSIS_2_x\Device\ST\STM32F4xx\Source\Template system_stm32f4xx.c $\Libraries\CMSIS\CMSIS_2_x\Device\ST\STM32F4xx\Source\Template s\XXX\startup_stm32f4xx.s (XXX according to IDE) $\Project\stm32f4xx_it.c (removing conditional compilation, can be modified) $\Project\System & Drive Params\stm32f4xx_MC_it.c (GUI generated according to system parameters) $\Libraries\STM32F4xx_StdPeriph_Driver\src
in „BLDC Sinuskommutierung Ansteuerung H-Brücke“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
EclipseInstallation.txt
copy und paste in das Feld eingefügt werden!) USE_STDPERIPH_DRIVER USE_FULL_ASSERT USE_ULPI_PHY STM32F4XX USE_USB_OTG_FS HSE_VALUE=8000000 - Includes: (kann per copy und paste in das Feld eingefügt werden! mit den Anführungszeichen) "${workspace_loc:/${ProjName}}" "${workspace_loc:/${ProjName}/CMSIS}" "${workspace_loc:/${ProjName}/CMSIS/Include}" "${workspace_loc:/${ProjName}/STM32F4xx_StdPeriph_Driver}" "${workspace_loc:/${ProjName}/STM32F4xx_StdPeriph_Driver/inc}" "${workspace_loc:/${ProjName}/usb_vcp}" "${workspace_loc:/${ProjName}/usb_vcp/usb_cdc_lolevel}" - Optimization:
in „Ambilight mit STM32F4discovery und TVP5150AM1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
settings.xml
stm32f0discovery file="board/stm32f0discovery.cfg" /> <stm32f3discovery file="board/stm32f3discovery.cfg" /> <stm32f4discovery file="board/stm32f4discovery.cfg" /> <stm32f429discovery file="board/stm32f429discovery.cfg" /> <stm32ldiscovery file="board/stm32ldiscovery.cfg" /> <stm32vldiscovery file="board/stm32vldiscovery.cfg
in „STM32 - Code-Blocks + GCC + GDB“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
USER CODE BEGIN Includes */ #include "ff.h" #include "ff_gen_drv.h" #include <stdio.h> #include "stm32f4xx_hal.h" #include "stm32f4xx_ll_dma.h" #include "stm32f4xx_ll_dac.h" #include "stm32f4xx_hal_conf.h" //#include "stm32f4xx_ll_cortex.h" /* USER CODE END Includes */ /* Private typedef ------------
in „ARM Cortex M4 mit LL Treiber DAC DMA Wave SD Card Playback“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PitschLight_Doku_V1.2.pdf
Ein Full-Screen AmbiLight mit bis zu 312 LEDs auf Basis des TVP5150AM1 Video Prozessors und eines STM32F4discovery boards Stand: Version 1.2, November 2014 Das Foto stammt von Pat Wat (frankp) So sieht‘s aus wenn es funktioniert Disclaimer /***************************************************** * * Control
in „Ambilight mit STM32F4discovery und TVP5150AM1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
myfirst168.s
.syntax unified .cpu cortex-m4 .thumb .set LSE_fitted,0 @ GPIO register map is similiar to STM32F4 chips. @ -> register boundary address pp. 65 in DM00031020.pdf .equ BIT0, 0x00000001 .equ BIT1, 0x00000002 .equ BIT2, 0x00000004 .equ BIT3, 0x00000008 .equ BIT4, 0x00000010 .equ BIT5, 0x00000020 .
in „STM32CubeIDE - kann man dem gdb server einen Schalter mitgeben?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
20.txt
#include <stdio.h> #include "stm32f4xx_rcc.h" #include "stm32f4xx_gpio.h" #include "stm32f4xx_can.h" #include "misc.h" //Declaration of the Variables CanRxMsg RxMsg; CanTxMsg TxMsg; CanTxMsg TxMsg2; uint32_t counter1 = 0; // counter
in „CAN bus message, stm32f407“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
nrf24l01.c
pragma GCC optimize ("O0") /* -------------- System Include Files ----------------- */ #include "stm32f4xx.h" #include "stm32f4xx_rcc.h" #include "stm32f4xx_spi.h" #include "stm32f4xx_gpio.h" /* -------------- Standard Include Files ----------------- */ #include <stdint.h> /* --------------- Special Include Files / Librarys ------ */ #include "tm_stm32f4_disco.h" /* -------------- Projekt Include Files ---------------- */ #include "nrf24l01.h" #include "config.h" /* -------------- Typen Deklarationen--------------------- */ #define PAYLOAD_SIZE 20
in „STM32F4 und NRF24L01: Frage zu Interrupts“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
f_mess_lcd.c
// reziproke Frequenzmessung mit STM32F4-Discovery-Board // Ausgabe der Ergebnisse auf LCD 2x16 /* Beispielprogramm für Frequenzmessung an PE5 mit Timer9. Das Ergebnis wird 7-stellig mit max. 5 Mess./s oder minimal 1 Periodendauer angezeigt
in „reziproker Frequenzzähler mit STM32F4Discovery“ · Projekte & Code ·
-
Datei
myfirst168.s
.syntax unified .cpu cortex-m4 .thumb .set LSE_fitted,0 @ GPIO register map is similiar to STM32F4 chips. @ -> register boundary address pp. 65 in DM00031020.pdf .equ BIT0, 0x00000001 .equ BIT1, 0x00000002 .equ BIT2, 0x00000004 .equ BIT3, 0x00000008 .equ BIT4, 0x00000010 .equ BIT5, 0x00000020 .
in „STM32CubeIDE - kann man dem gdb server einen Schalter mitgeben?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
myfirst168.s
.syntax unified .cpu cortex-m4 .thumb .set LSE_fitted,0 @ GPIO register map is similiar to STM32F4 chips. @ -> register boundary address pp. 65 in DM00031020.pdf .equ BIT0, 0x00000001 .equ BIT1, 0x00000002 .equ BIT2, 0x00000004 .equ BIT3, 0x00000008 .equ BIT4, 0x00000010 .equ BIT5, 0x00000020 .
in „Break auf 0xfffffffe in STM32CubeIDE“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MB997.pdf
R28 Fitted. PCB label MB997 B-02 Rev B.1 --> PCB label MB997 B-01 D D STMicroelectronics Title: STM32F4DISCOVERY Number: Rev: Date: Sheet of MB997 B.2(PCB.SCH) 1/9/2012 1 6 1 2 3 4 1 2 3 4 TCK/SWCLK TMS/SWDIO POPA13 T_NRSTPISB1PISB10PONRST SWD R6R 10K R7R Not Fitted T_SWOPISB1212SB120211 POPB3 A PIR60PIR602
in „Mit STM32F4 einen Laser ansteuern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
STMPE811QTR.c
-----------------------------------------------------------*/ #include "STMPE811QTR.h" #include "stm32f4xx_exti.h" #include "stm32f4xx_gpio.h" #include "stm32f4xx_rcc.h" #include "misc.h" /** @defgroup STM32F4xx_StdPeriph_Examples * @{ */ #define TIMEOUT_MAX 0x3000 /*<! The value of the maximal timeout
in „STM32F4 Touch Display Interrupt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
irmpsystem.h
stm32f10x.h> # define ARM_STM32 # define ARM_STM32F10X # define F_CPU (SysCtlClockGet()) #elif defined(STM32F4XX) // ARM STM32 # include <stm32f4xx.h> # define ARM_STM32 # define ARM_STM32F4XX #elif defined(USE_HAL_DRIVER) // ARM STM32 with HAL Library # include "gpio.h" # if defined(_IRSND_H_) # include"tim.h
in „IRMP - Infrared Multi Protocol Decoder“ · Projekte & Code ·
-
Datei
irmpsystem.h
stm32f10x.h> # define ARM_STM32 # define ARM_STM32F10X # define F_CPU (SysCtlClockGet()) #elif defined(STM32F4XX) // ARM STM32 # include <stm32f4xx.h> # define ARM_STM32 # define ARM_STM32F4XX #elif defined(USE_HAL_DRIVER) // ARM STM32 with HAL Library # include "gpio.h" # if defined(_IRSND_H_) # include"tim.h
in „IRMP - Infrared Multi Protocol Decoder“ · Projekte & Code ·
-
Datei
Endlosschleife.txt
------------------------------------------*/ 00029 #include "main.h" 00030 00031 /** @addtogroup STM32F4xx_StdPeriph_Examples 00032 * @{ 00033 */ 00034 00035 /** @addtogroup RTC_Timer 00036 * @{ 00037 */ 00038 00039 /* Private typedef -----------------------------------------------------------*/ 00040
in „Endlosschleife in RTC Beispiel“ · Mikrocontroller und Digitale Elektronik ·
-
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 - 2,5MHz
in „reziproker Frequenzzähler mit STM32F4Discovery“ · Projekte & Code ·
-
Datei
irmpsystem.h
stm32f30x.h> # define ARM_STM32 # define ARM_STM32F30X # define F_CPU (SysCtlClockGet()) #elif defined(STM32F4XX) // ARM STM32 # include <stm32f4xx.h> # define ARM_STM32 # define ARM_STM32F4XX #elif defined(USE_HAL_DRIVER) // ARM STM32 with HAL Library # include "gpio.h" # if defined(_IRSND_H_) # include"tim.h
in „IR Fernbedienung mit IRSND“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
NF-Generator-407.c
www.mino-elektronik.de 2016-11-08 */ #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <stm32f4xx.h> #include <stm32f4xx_gpio.h> #include <stm32f4xx_rcc.h> // LCD-Routinen in anderem Programmteil extern void lcd_zeile1(char *s); extern void lcd_zeile2(char *s); extern void lcd_zeile3(char *s
in „Frequenz Erzeugung mit avr“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
nrf24l01.c
pragma GCC optimize ("O0") /* -------------- System Include Files ----------------- */ #include "stm32f4xx.h" #include "stm32f4xx_rcc.h" #include "stm32f4xx_spi.h" #include "stm32f4xx_gpio.h" /* -------------- Standard Include Files ----------------- */ #include <stdint.h> /* --------------- Special Include Files / Librarys ------ */ #include "tm_stm32f4_disco.h" /* -------------- Projekt Include Files ---------------- */ #include "nrf24l01.h" #include "config.h" /* -------------- Typen Deklarationen--------------------- */ #define PAYLOAD_SIZE 20
in „[STM32F4xx] NRF24L01+ Funkmodul Source Code“ · Projekte & Code ·
-
Bild
STM32F429 Evaluation Board Details
STM32F4 MCU, HIGH PERFORMANCE WITH CORTEX®-M4 AND CHROM-ART ACCELERATOR™ Evaluation board with STM32F429ZIT6 MCU (180 MHz/225 DMIPS execution performance from Flash memory) 3-axis* sensors MEMS Embedded ST-LINK
in „[V] STM32F4 Evalboard, Neu und OVP“ · Markt · · Fotos
-
Bild
STM32F429I-DISC1 Discovery Board in Verpackung
STM32 F4 Discovery ST life.augmented STM32F429 MCU, HIGH PERFORMANCE WITH CORTEX-M4 AND CHROM-ART ACCELERATOR™ Evaluation board with STM32F429ZIT6 MCU (180 MHz/225 DMIPS execution performance from Flash memory
in „[V] STM32F4 Evalboard, Neu und OVP“ · Markt · · Fotos
-
Datei
main.c
#include "stm32f4xx.h" #include "main.h" int main(void) { SystemInit(); StartClock(); PortConfig(); Test(); while(1) { TestLoop(); } } //#include "tm_stm32f4_usb_vcp.h" //#include "defines.h" //int main(void){ // uint8
in „Datenerfassung, Analog -> USB / RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f4xx.h" #include "stm32f4xx_conf.h" #include "stm32_ub_usb_cdc.h" #include "stm32_ub_led.h" #include "stm32_ub_adc1_single.h" #include <stdio.h> int main(void){ char buf[APP_TX_BUF_SIZE]; USB_CDC_RXSTATUS_t
in „STM32F4 sprintf mit float“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Text über CircuitPython Port-Status und Implementierungen
ESP32-C3, ESP32-C6 nordic : Nordic nRF52840, nRF52833 raspberrypi : Raspberry Pi RP2040 stm : ST STM32F4 chip family These ports are considered alpha and will have bugs and missing functionality: broadcom : Raspberry Pi boards such as RPi 4, RPi Zero 2W litex : fomu mimxrt10xx : NXP i.MX RT10xxx renode : hardware simulator silabs : Silicon Labs MG24 family stm : ST non-STM32F4 chip families
in „Neue Chips, Ubuntu Server für RISC-V, Nachrichten im Hause CircuitPython uvam“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
Datei
main.c
#include "stm32f4xx_gpio.h" #include "stm32f4xx_rcc.h" #include "lcd_routines.h" #include "time.h" #define DELAY_TIME 100 int main(void) { GPIO_InitTypeDef GPIO_InitStructure; RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD
in „Anag Vision gibt keine Zeichen aus“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
BLDCMotorControlTimer.c
#include "stm32f4xx.h" #include "stm32f4xx_rcc.h" #include "stm32f4xx_tim.h" #include "misc.h" #include "stm32f4xx_gpio.h" #include <stdbool.h> void enableHallCommutateSignal(); void configMotorBridgeTimer(void) {
in „STM32F4 BLDC mit Hall Sensoren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
nrf24l01.c
Prescaler 64 => Fspi = 1.3 Mhz */ /* -------------- System Include Files ----------------- */ #include "stm32f4xx.h" #include "stm32f4xx_rcc.h" #include "stm32f4xx_spi.h" #include "stm32f4xx_gpio.h" /* -------------- Standard Include Files ----------------- */ #include <stdint.h> /* --------------- Special
in „Wer hat noch Ärger mit NRF24L01+ Funkmodulen?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
f_mess.c
ohne Gewähr! www.mino-elektronik.de 2012-11-26 */ #include <stdio.h> #include "stdint.h" #include "stm32f4xx.h" #include "stm32f4xx_gpio.h" #include "stm32f4xx_rcc.h" // LCD-Routinen in anderem Programmteil extern void lcd_zeile1(char *s); extern void lcd_zeile2(char *s); extern void lcd_zeile3(char *s
in „Frequenz- und Pulsweitenmessung mit STM32F407“ · Projekte & Code ·
-
Datei
console.txt
Temp\make434023.sh: readlink: command not found C:\DOKUME~1\test\LOKALE~1\Temp\make434025.sh: cd: /STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Source/Templates: No such file or directory make: *** [libstm32.a] Error 1 Building libstm32.a ...
in „Billiges Cortex-M4-Board STM32F4DISCOVERY jetzt erhältlich“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f4xx.h" #include "stm32f4xx_conf.h" void Delay(__IO uint32_t nCount){ while(nCount--){ } } int main(void){ unsigned int _btn_count = 0; RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD, ENABLE); RCC_AHB1PeriphClockCmd
in „STM32F4 Timer und GPIO Fragen.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Project_STM32F407_Main.c
// // Main.cpp // #include <Compiler.h> #include <Cortex-M.h> #include <Debug.h> #include "STM32F4xx_Init.h" #include <RB_GPIO.h> #include <RB_RCC.h> #include <RB.h> #include <RB_TIM.h> #include <RB_NVIC.h> #include <LED.h> #include <Timer2.h> #include <Sensor.h> static bool volatile runMainLoop
in „Timer UIF beim Cortex M4“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Tabelle mit Pinbelegungen verschiedener Mikrocontroller-Boards
Device | STM32F4x1 Nucleo | STM32F4x1 Blackpill | STM32F103C8T6 BluePill | Remarks User button | GPIO: PC13 (on board) | GPIO: PA0 (on board) | GPIO: PA6 | on board Board LED | GPIO: PA5 | GPIO: PC13 | GPIO: PC13
in „WordClock mit WS2812“ · Projekte & Code · · Screenshots
-
Datei
nrf24l01.c
Prescaler 64 => Fspi = 1.3 Mhz */ /* -------------- System Include Files ----------------- */ #include "stm32f4xx.h" #include "stm32f4xx_rcc.h" #include "stm32f4xx_spi.h" #include "stm32f4xx_gpio.h" /* -------------- Standard Include Files ----------------- */ #include <stdint.h> /* --------------- Special Include Files / Librarys ------ */ #include "tm_stm32f4_rtc.h" /* -------------- Projekt Include Files ---------------- */ #include "nrf24l01.h" #include "config.h" #include "tools.h" /* -------------- Defintionen ---------------------------- */ /* Grundeinstellungen
in „NRF24L01: Handauflegen hilft?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Minimalbeschaltung_MCU.pdf
U2A PA0 STM32F4X5RG U2B STM32F4X5RG 14 PA0/WKUP PC0 8 15 9 18 19 PA1 16 PA1 PC1 10 63 VSS_2 VDD_2 32 V33 U_TX 17 PA2 PC2 11 PC2 VSS VDD_3 48 U_RX PA3 PC3 T_1 VDD_4 20 PA4 PC4 24 INH_M 12 VSSA VDD 64 21 PA5 PC5 25
in „Kontrollblick Minimalbeschaltung STM32F405RGT7“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
iirBenchmark.ino
// print with manual made software serial the // STM32F4 Discovery #include "softwareSerial.h" //#define SOFTSERIALPIN_TX PC1 // STM32F4_DISCOVRERY //#define SOFTSERIALPIN_TX PA9// STM32F103 BluePill #define SOFTSERIALPIN_TX PD1 // ARDUINO_UNO // https:
in „STM32 Arduino“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/* * Libraries */ #include "stm32f4xx_conf.h" #include "stm32f4xx.h" #include "usart.h" /* * Variables */ uint8_t Rx = 0, tmp; /* * Interrupt routines */ void DMA1_Stream4_IRQHandler(void) { DMA_ClearITPendingBit(DMA1_Stream4, DMA_IT_TCIF4
in „STM32F4 - USART3 Rx und DMA will nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ipaddr.h
endif /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx.h" // #include "stm32f4x7_eth_bsp.h" /* Exported types ------------------------------------------------------------*/ /* Exported constants ------------------------------------------------------
in „STM32-E407 Ethernet / UDP“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f4xx.h" ///* Clock Ports */// void StartClock() { RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD | RCC_AHB1Periph_GPIOA | RCC_AHB1Periph_GPIOC, ENABLE); } ///* Port Configuration */// void PortConfig()
in „Datenerfassung, Analog -> USB / RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LUHE_AD9650.h
endif /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx.h" /** @addtogroup Utilities * @{ */ /** @addtogroup STM32F4_DISCOVERY * @{ */ /** @addtogroup STM32F429I_DISCOVERY * @{ */ /** @addtogroup STM32F429I_DISCOVERY_LOW_LEVEL * @{ */ /** @defgroup STM32F429I_DISCOVERY_LOW_LEVEL_Exported_Types
in „AD9850 Steuerwort,Berechnung richtig?“ · HF, Funk und Felder ·
-
Datei
iirBench2.c
// print with manual made software serial the // STM32F4 Discovery //#include "softwareSerial.h" //#define SOFTSERIALPIN_TX PC1 // STM32F4_DISCOVRERY //#define SOFTSERIALPIN_TX PA9// STM32F103 BluePill #define SOFTSERIALPIN_TX PD1 // ARDUINO_UNO // https
in „Wofür Propeller von Parallax ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
IOTaskSTestSPI.cpp
sn */ /* Kernel includes. */ #include "FreeRTOS.h" #include "task.h" #include "mbed.h" #include "stm32f4xx_conf.h" #include "stm32f4xx_spi.h" #include "IOTask.h" inline FlagStatus __attribute__((optimize("Os"))) SPI_I2S_GetFlagStatus(SPI_TypeDef* SPIx, uint16_t SPI_I2S_FLAG) { FlagStatus bitstatus =
in „STM32F4xx: Kann mal jemand die SPI testen?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rfm22b.c
#include "rfm22b.h" #ifndef __STM32F4_DISCOVERY_RFM22B_H #define __STM32F4_DISCOVERY_RFM22B_H #ifdef __cplusplus extern "C" { #endif #include "stm32f4xx.h" #include "stm32f429i_discovery.h" #include "rfm22b.h" #include "systick.h" //#
in „STM32 und RFM22B“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
: $ 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 ·
-
Datei
serialAccelerometer.ino
// read accelaration sensor and print serial // TX pin is PD8 // STM32F4 Discovery // accelerometer: LIS203DL ( included in STM32F4, some boards may have the LIS3DSH ) // example from http://stm32duino.com/viewtopic.php?t=282 /* // serial interfaces // the serial interface
in „STM32F4 Discovery Arduino“ · Mikrocontroller und Digitale Elektronik ·