-
Datei
main.c
#include "stm32f10x_gpio.h" #include "stm32f10x_rcc.h" #include "stm32f10x_spi.h" #include "stm32f10x_usart.h" #include "system_stm32f10x.h" void SPI_WriteByte(unsigned char ucByte) { while(SPI_I2S_GetFlagStatus(
in „STM32 - USART und SPI“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ws2812_test2.c
------------------------------------- ws2812_test.c Programm zum Ansprechen von WS2812 LED's MCU : STM8S103F3 Takt : interner Takt 16 MHz 28.04.2017 R. Seelig ------------------------------------------------------ */ /* ################################################################## STM8S103F3P6 Pinout
in „SDCC und struct“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
eeprom_24Cx_stm.c
/* * Lesen und Schreiben eines externen EEPROMs 24C02 per I2C (STM32) * * * Created: 02.02.2014 * Author: Nicolas */ #ifdef STM32F10x #elif STM32F4XX #warning "Routine has never been tested with STM32F4xx" #else #error "unknown MCU" #endif #include "../src_avrcom/delay.h
in „STM32 I2C mit EEPROM - funktioniert nur zuverlässig mit Bus-Sniffer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
Version : 1.0 // Autor : UB // EMail : mc-4u(@)t-online.de // Web : www.mikrocontroller-4u.de // CPU : STM32F4 // IDE : CooCox CoIDE 1.7.0 // Module : CMSIS_BOOT, M4_CMSIS_CORE // Funktion : Demo der IRSND-Library // Hinweis : Diese zwei Files muessen auf 8MHz stehen // "cmsis_boot/stm32f4xx.h" // "cmsis_boot/system_stm32f4xx.c" //-------------------------------------------------------------- #include "stm32f0xx.h" #include "stm32_ub_irsnd.h" #include "stm32f0308_discovery.h" #include <stdint.h> void Delay(volatile
in „IRSND auf STM32F0“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
pinouts.txt
/* ################################################################## STM8S103F3P6 Pinout ################################################################## ------------ UART1_CK / TIM2_CH1 / PD4 | 1 20 | PD3 / AIN4 / TIM2_CH2 / ADC_ETR UART1_TX / AIN5 / PD5 | 2 19 | PD2
in „STM8S Minimumboard + SSD1306 OLED Display“ · Projekte & Code ·
-
Datei
code_funktionsfaehig.txt
#include "stm32f0xx.h" #include "stm32f0xx_gpio.h" #include "stm32f0xx_rcc.h" #include "stm32f0xx_spi.h" void main() { /*Clock für die Peripherie einschalten*/ RCC_APB2PeriphClockCmd(RCC_APB2Periph_SPI1, ENABLE);
in „STM32F0 SPI - Funktioniert nicht.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#define STM32F10X_MD #include "stm32f10x.h" #include "misc.h" #include "stm32f10x_rcc.h" #include "stm32f10x_exti.h" #include "stm32f10x_gpio.h" #include "stm32f10x_flash.h" void RCC_Configuration(); void NVIC_Configuration
in „STM32 Interrupt Rücksprung ins Nirvana“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
STM_DEV.pdf
Title Size:A4 Number5. Revision: Date: 24.01.2010 Time: 18:35:05 Sheet 5 of 7 File:C:\Projekte\ALTIUM\STM-DEV\SD-Card.SchDoc 1 2 3 4 1 2 3 4 GND VCC VCC VCC VCC A A I2 R2 K2 02 P02 RK6K RK5K CRK7 RK8K RK9K 10K 10K 10K 10K 10K SS7 VCC I1 R1 K1 01 P01 1 PISS701 NLPB 2 PISS702 NLPA1P JTRST R S T VCC 3 PISS703
in „STM32 Development Board“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
zxkeyboard.diff
zxKeyboard.c (nonexistent) +++ zxkeyboard/zxKeyboard.c (working copy) @@ -0,0 +1,199 @@ + +#include "stm32f4xx_gpio.h" +#include "zxKeyboard.h" +#include "stm32f4xx.h" +#include "stm32f4xx_gpio.h" +#include "stm32f4xx_rcc.h" +#include "io.h" +#include "string.h" +#include "ps2key.h" + + +static uint8_t
in „STECCY - ZX-Spectrum-Emulator mit STM32“ · Projekte & Code ·
-
PDF
PitschLight_Doku_V1.2.pdf
gesetzt. Nach jedem Bestätigen einer dieser Tasten wird der neue Wert des Parameters angezeigt. Ca. 8 Sekunden nach der der letzten Änderung eines Parameters wird der aktuelle Stand der Parameter in den FLASH-Speicher des STM32F407 geschrieben, so dass die Parameter auch nach Abschalten der Versorgungsspannung
in „Ambilight mit STM32F4discovery und TVP5150AM1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
u8g_com_arm_stm32.h
/** \author Wojciech Domski */ #ifndef U8G_COM_ARM_STM32_SSD_I2C_HEADER #define U8G_COM_ARM_STM32_SSD_I2C_HEADER #include "u8g.h" #include "hw_config.h" #define SSD1306_I2C_ADDRESS 0x78 uint8_t ssd1306_i2c_init(I2C_HandleTypeDef *hi2c); uint8_t u8g_com_arm_stm32_ssd_i2c_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr); #endif
in „STM32 F103 - I2C Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
st-link_gdbserver_log.txt
$0000000000000000000000000000000010000000040000000a00000000000000#36 [2.063] read(): <676> Rx: $qRcmd,7265736574#37 [2.063] STM32_AppReset(): Enter STM32_AppReset() function [2.169] STM32_AppReset(): NVIC_DFSR_REG = 0x00000009 [2.171] STM32_AppReset(): NVIC_CFGFSR_REG = 0x00000000 [2.172] STM32_AppReset(): XPSR = 0x01000000
in „STM32 Cube IDE Inline Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
USB3320_STM32F4.pdf
PA0/USART2_CTS/USART4_TX/WKUP +3V VBAT CLKOUT 24 PA1/USART2_RTS/USART4_RX VDD33 25 PA2/USART2_TX +1V8 VDD18 REFCLK VDD18 STM32F407VX +3V VDDIO NC N GND U$1G$2 G 26 PA3/USART2_RX 27 VSS2 28 VDD2 29 PA4/SPI1_NSS/SPI3_NSS/USART2_CK 30 31 PA5/SPI1_SCK 32 PA6/SPI1_MISO 33 PA7/SPI1_MOSI 34 PC4 35 PC5 36 PB0 37 PB1 38 PB2/BOOT1 39 PE7 PE8 40 PE9 41 PE10 42 PE11 43 PE12 44 PE13 45 PE14 46 PE15 47 PB10/I2C2_SCL/SPI2_SCK/USART3_TX 48 PB11/I2C2_SDA/USART3_RX 49 VCAP_1 50 VDD3 STM32F407VX STM32F407VX 51 52 PB12/SPI2_NSS/I2C2_SMBA/USART3_CK
in „STM32F4 USB High Speed VCP mit USB3320 PHY“ · Projekte & Code ·
-
PDF
STM32F10xxx__20xxx__21xxx_L1xxxx_Cortex-M3_programming_manual.pdf
(SGI). The value to be written is Bits 8:0 the Interrupt ID of the required SGI, in the range 0-239. For example, a value of 0b000000011 specifies interrupt IRQ3. 4.3.9 Level-sensitive and pulse interrupts STM32 interrupts are both level-sensitive
in „Einstieg in STM32 : STM32F103C8T6 --> Kompilieren und Flashen?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
bootloader_105.asm
/* ----------------------------------------------------------------------- bootloader105_v03.as8 Serieller Bootloader fuer STM8S105 Bootloader belegt den Speicher ab Adresse 0x9E40 sodass fuer ein Userprogramm der Speicherplatz von 0x8000 . 0x9E3F zur Verfuegung steht (7744 Bytes = 121 * 64 Byte-Bloecke
in „Serial Bootloader für STM8S103F3P6 (Linux)“ · Projekte & Code ·
-
Datei
STM32F4_lcd.c
GPIOD->BSRRL = LCD_STROBE; warte_1us(); GPIOD->BSRRH = LCD_STROBE; warte_1us(); } void lcd_nibble(int8_t c) // 4-bit-Wert an PD12-PD15 ausgeben { GPIOD->BSRRH = ((c & 0xf0) << 8) ^ 0xf000; // inaktive Bits loeschen GPIOD->BSRRL = (c & 0xf0) << 8; // aktive Bits setzen lcd_impuls(); } void lcd_out(int8
in „Frequenz- und Pulsweitenmessung mit STM32F407“ · Projekte & Code ·
-
Bild
STM32 ST-LINK Utility Speicheranzeige
STM32 ST-LINK Utility Device STM32F411xC/E Device ID 0x431 Revision A Flash size 256KBytes Address: 0x08000000 Size: 0xD755 Data Width: 32 bits Device Memory @ 0x08000000 File: [wc12h-stm32f103-ws2812-grb.hex] 0x08000000 20050000 0800AA41 0800AA87 0800AA89 0x08000100 0800AA8B 0800AA8D 0800AA8F 00000000 0x08000200 00000000 00000000 00000000 0800AA91 0x08000300 0800AA93 00000000 08008EF9 0x08000400 0800AA9B 0800AA9D 0800AA9F 0800AA1 0x08000500 0800AAa3 0800AA5 0800AA7 0800AA9
in „WordClock mit WS2812“ · Projekte & Code · · Screenshots
-
Datei
main.c
/* Includes ------------------------------------------------------------------*/ #include "stm32f2xx.h" #include "stm32_eval.h" #include "stm322xg_eval_lcd.h" #include "stm32f2xx_spi.h" #include <stdio.h> GPIO_InitTypeDef GPIO_InitStruct; SPI_InitTypeDef SPI_InitStructure; static uint8_t key_state
in „STM32 SPI Mosi Pegel zu niedrig“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
----- */ #include <stdint.h> /* ------------ Special Include Files --------------- */ #include "tm_stm32f4_ili9341.h" #include "tm_stm32f4_adc.h" #include "tm_stm32f4_exti.h" #include "tm_stm32f4_disco.h" #include "tm_stm32f4_delay.h" #include "tm_stm32f4_low_power.h" #include "tm_stm32f4_nrf24l01_cj.h" #include "tm_stm32f4_hd44780.h" /* ------------ Projekt Include Files --------------- */ #include "config.h" #include "rtc_user.h" #include "init_system.h" #include "graphik.h" #include "eeprom.h" #include "tools.h"
in „Organisation der Header und Includes“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
one_wire.c
Groppe * pic-projekte.de/Download/1-Wire-Projekt-V1_3.pdf * * Umgeschrieben zur Verwendung auf dem STM32F4 Discovery * * von Malte Becker * Projekt-Seminar WS 12/13 */ // Includes #include "stm32f4xx.h" #include "stm32f4xx_gpio.h" #include "stm32f4xx_rcc.h" #include "global_variables.h" // Sensor-Konfiguration
in „1-Wire Stm32f4discovery“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
simple_server.c
} if (*str <0x3a && *str> 0x2f) { // is a ASCII number, return it return(*str - 0x30); } return((u8)-2); } // prepare the webpage by writing the data to the tcp send buffer /* buf on_off¿ª¹Ø */ u16 print_webpage_2(u8* buf, u8 on_off) { /* u16 plen; plen = fill_tcp_data_p(buf, 0, PSTR("HTTP/1.0 200
in „Webpage Webserver“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
irmp.c
GPIO_OType_PP; GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP; // TX-Pin GPIO_InitStructure.GPIO_Pin = STM32_GPIO_PIN; GPIO_Init(STM32_GPIO_PORT, &GPIO_InitStructure); // Oversampling USART_OverSampling8Cmd(STM32_UART_COM, ENABLE); // init mit Baudrate, 8Databits, 1Stopbit, keine Parität, kein RTS+CTS USART_InitStructure.USART_BaudRate
in „IRMP - Infrared Multi Protocol Decoder“ · Projekte & Code ·
-
Datei
stm32f0xx_it.c
** */ /* Includes ------------------------------------------------------------------*/ //#include "stm32f0xx_hal.h" //#include "stm32f0xx.h" //#include "stm32f0xx_it.h" /* USER CODE BEGIN 0 */ #include "definitions.h" #include "digitcommands.h" /* USER CODE END 0 */ /* External variables ------------
in „Interrupt wird ständig aufgerufen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SSD1963.h
#ifndef __SSD1963_H #define __SSD1963_H #include "stdint.h" #include "stm32f4xx.h" #include "stm32f4xx_gpio.h" #include "stm32f4xx_rcc.h" #include "stm32f4xx_fsmc.h" #include "stm32_ub_systick.h" //---------------------------------------------------------------- // FSMC Address
in „7 Zoll LCD Display“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
User_Guide_ETEMB043013XDHAL_Interface_Description_V1.0.pdf
V2/V3SET is also provided. For Electrical and Timing Specifications please consult the Datasheet of STM32F750 and the appropriate CAS. For Interface IC specifications we have included links to datasheets. 1.2 Block Diagram CN1: CHIN-TEK 2022-03/SMT CN2-CN8:JST SM06B-SRSS-TB(LF)(SN) CN9: MOLEX 47590-0001
in „EDT Display Interface mit STM32F7“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f4_sdio_sd.c
SDIO_CmdInitTypeDef SDIO_CmdInitStructure; SDIO_DataInitTypeDef SDIO_DataInitStructure; /** * @} */ /** @defgroup STM32F4_SDIO_SD_Private_Function_Prototypes * @{ */ static SD_Error CmdError(void); static SD_Error CmdResp1Error(uint8_t cmd); static SD_Error CmdResp7Error(void); static SD_Error CmdResp3Error(void);
in „Probleme bei SDIO mit STM32F4“ · 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
in „NRF24L01 SPI Problem bringt mich noch zum Wahnsinn!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
tools.c
stdint.h> #include <stdio.h> /* --------------- Special Include Files / Librarys ------ */ #include "tm_stm32f4_rtc.h" #include "tm_stm32f4_disco.h" #include "tm_stm32f4_nrf24l01_cj.h" #include "tm_stm32f4_rtc.h" #include "tm_stm32f4_delay.h" /* -------------- Projekt Include Files ---------------- */ #include
in „Organisation der Header und Includes“ · 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 „[STM32F4xx] NRF24L01+ Funkmodul Source Code“ · Projekte & Code ·
-
PDF
ArmAssemblerTutorial.pdf
it is recommended to use the same components. Mikrocontroller selection For the microcontroller, an STM32F103C8 or STM32F103RB by STMicroelectronics will be used. Both controllers are identical except for the flash size (64 KiB vs 128 KiB) and number of pins (48 vs 64). These controllers belong to ST’s
in „ARM-Assembler-Tutorial“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32_flash.ld
/* * STM32 Discovery Linker Script */ _estack = 0x20002000; /* global needed for startup_stm3210x_md_vl.S */ _minimum_stack_size = 0x100; /* 256 bytes miniumum stack size */ ENTRY(Reset_Handler) MEMORY { rom
in „STM32-Discoveryboard: FTDI Treiber/OpenOCD/Degugging“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usart_stm32f4xx.c
/* * usart_stm32f4xx.c * * USART/UART-Treiber * * $Date: 2019-03-24 09:25:14 +0100 (So, 24 Mrz 2019) $ * $Revision: 578 $ * * 15.05.2019 Nicolas */ #ifdef STM32F4XX #include "usart.h" #include "hw_config.h" #include "myassert.h" #include "stm32f4xx_usart.h" // Testbuffer #define DMA_BUFFERLEN 10 uint8_t dma_buffer[DMA_BUFFERLEN] = "Hallo!\n"; /** UART Initialisieren */ void usart_init(void) { USART_InitTypeDef USART_InitStructure; GPIO_InitTypeDef
in „STM32: Sendepuffer für USART“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
EclipseInstallation.txt
blog/workspace-preferences/ 4. Toolchain: GNU Tools for ARM Embedded Processors GCC ARM Embedded 4.8-2014-q2-update https://launchpad.net/gcc-arm-embedded/4.8/4.8-2014-q2-update/+download/gcc-arm-none-eabi-4_8-2014q2-20140609-win32.exe Wichtig: Toolchain NICHT zum PATH hinzufügen! 5. Build tools (make
in „Ambilight mit STM32F4discovery und TVP5150AM1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
spi1.c
-----------------------------------------------*/ #include "stdio.h" #include "stdint.h" #include "stm32f4xx.h" #include "stm32f4xx_gpio.h" #include "stm32f4xx_spi.h" #include "stm32f4xx_rcc.h" #include "stm32f4xx_dma.h" #include "spi1.h" /** @addtogroup SPI1 * @{ */ // these two bytes are dummy bytes
in „STM32 SPI Init“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MiniF4x1Cx_V31.pdf
PIU102 4 VDD VSS PIU1023 PI1PI0 0.1uF PIU103 6 PIU1035 3.3V PD 3.3V 48 VDD VSS 47 GND CSW22 P3 PIU104 8 VDD VSS PIU1047 3*4 按键 3.3V PID 101 PID102 VB P0 RR VREF+ 9PI U109 PIU108 RR 10K CD1 VDDA/VREF+ VSSA/VREF- GND 10K NC P4 P30 P3 BAT54C STM32F4X1CXU6 P0 SW33 1 3 PB2 PIW301 PSW303 3.3V LO1 PIW302 PSW3
in „was kommt nach dem Bluepill-Board?“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Fehlermeldungen in einer IDE beim Kompilieren
workspace 2.0.0 - STM32CubeIDE Problems Tasks Console Properties H723_LWIP STM32H723_GPIO.ax make -j8 .../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_gpio.c:221 #include "core_cm7.h" No such file or directory compilation terminated. .../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c:28 #include "core_cm7.h" No such file or directory compilation terminated.
in „CubeMX Probleme mit neuem STM32H723 Controller“ · Mikrocontroller und Digitale Elektronik · · Screenshots
-
PDF
HY-SmartSTM32_SCH.pdf
VDDA 21 VDDA VSSA 20 10P 32.768K 10P VREF+ VREF- VREF+ STM32F103VCT6 3V3 L1 VDDA 3V3 L2 VREF+ 3V3 R40 10uH 10uH 3V3 S2 510R C11 C27 C12 C28 1 4 BOOT0 BOOT0 A C6 C7 C8 C9 C10 2 3 KEYB BOOT1 A 104 104 104 104 104 104 106 104 106 BOOT R41 Title 510R Multi Media
in „STM32 can Message“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
tbasic.c
------------------------------------------------------------------- tbasic.c Basicinterpreter fuer STM8S Controller. Ausgangsdateien von T. Suzuki Modifikationen und Anpassungen an STM8 von R. Seelig "Wettstreit um den billigsten Basic-Computer" Hardware : STM8S103 / S105 19.12.2023 R. Seelig GNU General
-
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
make_d_ohne_shEXE.txt
/STM32F4_Edu.hex'. Pruning file `obj/STM32F4_Edu.elf'. Finished prerequisites of target file `obj/STM32F4_Edu.hex'. Prerequisite `obj/STM32F4_Edu.elf' is older than target `obj/STM32F4_Edu.hex'. No need
in „Makefile STM32 Discovery“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rs232.txt
#include "stm32h7xx_ll_gpio.h" #include "stm32h7xx_ll_usart.h" #include "stm32h7xx_ll_dma.h" #include "stm32h7xx_ll_tim.h" #include "AllgemeineFunktionen.h" #include "Rs232Kommunikation.h" #include "ModbusRtu.h"
in „STM32H7 USART geht nicht mehr mit Compiler V6.14“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32_ub_i2c1.c
Funktion : I2C-LoLevel-Funktionen (I2C-1) // // Hinweis : mögliche Pinbelegungen // I2C1 : SCL :[PB6, PB8] // SDA :[PB7, PB9] // externe PullUp-Widerstände an SCL+SDA notwendig //-------------------------------------------------------------- // Edited: 15.04.2015 // CPU STM32F1 // CoIDE 1.7.8 // GCC 4_9-
in „STM32F105 bei I2C Read ein Byte zu viel“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "stm32f10x_gpio.h" #include "stm32f10x_rcc.h" #include "stm32f10x_spi.h" #include "system_stm32f10x.h" #include "stm32f10x_lib.h" void SysTick_Configuration(); void Delay(vu32 nTime); void SPI_WriteByte(
in „STM32 SPI-Bus Probleme mit Prescaler und delay() Realisierung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dma.h
#ifndef STM32F1_DMA_H_ #define STM32F1_DMA_H_ /* ########################################################################################################################################################## */ /*
in „STM32F103 und ADC DMA mehrere Kanäle“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
LoRa-E5moduledatasheet_V10.pdf
.................................................................................................. 8 4.1 LoRa-E5-LF Performance Testing....................................................................................................... 8 4.2 LoRa-E5-HF Performance Testing ........................
in „Birulki: Linux am ESP32, Arduino-USB PD-Netzteil, ESP 32-Spielkonsole.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
irmp.c
GPIO_OType_PP; GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP; // TX-Pin GPIO_InitStructure.GPIO_Pin = STM32_GPIO_PIN; GPIO_Init(STM32_GPIO_PORT, &GPIO_InitStructure); // Oversampling USART_OverSampling8Cmd(STM32_UART_COM, ENABLE); // init baud rate, 8 data bits, 1 stop bit, no parity, no RTS+CTS USART_InitStructure.USART_BaudRate
in „IRMP - Infrared Multi Protocol Decoder“ · Projekte & Code ·
-
Datei
irmp.c
GPIO_OType_PP; GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP; // TX-Pin GPIO_InitStructure.GPIO_Pin = STM32_GPIO_PIN; GPIO_Init(STM32_GPIO_PORT, &GPIO_InitStructure); // Oversampling USART_OverSampling8Cmd(STM32_UART_COM, ENABLE); // init baud rate, 8 data bits, 1 stop bit, no parity, no RTS+CTS USART_InitStructure.USART_BaudRate
in „IRMP - Infrared Multi Protocol Decoder“ · Projekte & Code ·
-
Datei
tools.c
stdint.h> #include <stdio.h> /* --------------- Special Include Files / Librarys ------ */ #include "tm_stm32f4_rtc.h" #include "tm_stm32f4_disco.h" #include "tm_stm32f4_nrf24l01_cj.h" #include "tm_stm32f4_rtc.h" #include "tm_stm32f4_delay.h" /* -------------- Projekt Include Files ---------------- */ #include
in „Organisation der Header und Includes“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32mx_minimum_include_paths-symbols.xml
ProjDirPath}/Drivers/CMSIS/RTOS/</includepath> <includepath>${ProjDirPath}/Drivers/CMSIS/Device/ST/STM32F4xx/Include</includepath> <includepath>${ProjDirPath}/Drivers/STM32F4xx_HAL_Driver/Inc/</includepath> </language> <language name="C Source File"> <includepath>${ProjDirPath}/Inc</includepath> <includepath
in „STM32-Toolchain mit Eclipse CDT 4.3, GnuArmEclipse, OpenOCD 0.8.0, Gnu Arm GCC 4.8, STM32CubeMX“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usart_stm32f4xx.c
/* * usart_stm32f4xx.c * * USART/UART-Treiber * * $Date: 2019-03-24 09:25:14 +0100 (So, 24 Mrz 2019) $ * $Revision: 578 $ * * 15.05.2019 Nicolas */ #ifdef STM32F4XX #include "usart.h" #include "hw_config.h" #include "myassert.h" #include "stm32f4xx_usart.h" // Testbuffer #define DMA_BUFFERLEN 10 uint8_t dma_buffer[DMA_BUFFERLEN] = "Hallo!\n"; /** UART Initialisieren */ void usart_init(void) { USART_InitTypeDef USART_InitStructure; GPIO_InitTypeDef
in „STM32: Sendepuffer für USART“ · Mikrocontroller und Digitale Elektronik ·