|
STM32 core 3.0.1-dev
Arduino core for STM32 based boards: API reference
|
← STM32duino documentation
|
| ▼ cores | |
| ► arduino | |
| ► avr | |
| dtostrf.c | Emulation of the avr-libc dtostrf() function |
| ► stm32 | |
| startup_stm32yyxx.c | Includes the CMSIS startup file of the selected device when using the HAL v2 driver |
| stm32_def_build.h | Selects the CMSIS startup file (CMSIS_STARTUP_FILE) matching the STM32 device |
| stm32yyxx_hal_conf.h | Selects the HAL modules to enable, for the HAL v1 and HAL v2 drivers |
| abi.cpp | C++ ABI support: handlers for pure and deleted virtual function calls |
| Arduino.h | Main include file of the Arduino core for STM32 |
| board.c | Board-level initialization: init() |
| board.h | Aggregates the headers of the core and peripherals drivers (clock, analog, timer, uart, ...) |
| core_debug.c | Out-of-line definitions of the inline core_debug functions, needed for C code |
| core_debug.h | Debug message output helpers: core_debug() and vcore_debug() |
| hooks.c | Weak hooks overridable by libraries or sketches: yield() and dtr_togglingHook() |
| itoa.c | Integer to ASCII conversion: itoa(), utoa(), ltoa() and ultoa() |
| main.cpp | Entry point of Arduino sketches: early initialization and main loop |
| pins_arduino.c | Conversions between pin numbers, analog inputs and PinName |
| pins_arduino.h | Pin number conversion helpers, port register macros and default pin definitions |
| pins_arduino_analog.h | Analog pin numbering: Arduino analog pins (A0...), PIN_Ax and ADC internal channels |
| pins_arduino_digital.h | Digital pin numbering: Arduino digital pins alias (Dx) and PYn_ALT0 pin numbers |
| Serial.cpp | Hardware serial (Uart class) implementation and SerialN / SerialLPN instances |
| Serial.h | Hardware serial (Uart class) and the SerialN / SerialLPN instances |
| Tone.cpp | Tone generation: tone() and noTone(), based on a hardware timer |
| utils.h | Preprocessor helpers: string concatenation and stringification |
| variant.h | Includes the header of the selected variant (VARIANT_H) and the generic Serial selection |
| WInterrupts.cpp | External interrupt functions: attachInterrupt() and detachInterrupt() |
| wiring.h | STM32 wiring extensions: analog resolution and frequency, digitalToggle(), noTone(), attachInterrupt() and timing helper macros |
| wiring_analog.c | Analog input (ADC) and analog output (PWM or DAC) functions |
| wiring_digital.c | Digital I/O functions: pinMode(), digitalWrite(), digitalRead() and digitalToggle() |
| wiring_pulse.cpp | Pulse width measurement: pulseIn() and pulseInLong() |
| wiring_shift.c | Bit-banged serial shift functions: shiftIn() and shiftOut() |
| wiring_time.c | Time functions: millis(), micros(), delay(), delayMicroseconds() and _gettimeofday() |
| WMath.cpp | Pseudo-random number functions: randomSeed() and random() |
| WSerial.cpp | SerialEventRun(): dispatch of the serialEvent callbacks |
| WSerial.h | Selection of the generic 'Serial' object and of the matching serialEvent() callback |
| ▼ libraries | |
| ► EEPROM | |
| ► src | |
| ► utility | |
| stm32_eeprom.c | Provides emulated eeprom from flash |
| stm32_eeprom.h | Header for eeprom module |
| ► Servo | |
| ► src | |
| Servo.h | Interrupt driven Servo library using 16 bit timers - Version 2 |
| ► SrcWrapper | |
| ► inc | |
| analog.h | Header for analog module |
| backup.h | Header for backup domain driver |
| core_callback.h | Header for callback methods |
| digital_io.h | Header for digital_io module |
| dwt.h | Header for dwt.c module |
| hw_config.h | Header for hw_config module |
| interrupt.h | Header for interrupt module |
| uart.h | Header for uart module |
| ► src | |
| ► stm32 | |
| core_callback.c | Provides methods to add callback to call inside the main loop |
| dwt.c | Provide Data Watchpoint and Trace services |
| interrupt.cpp | Provide an interface to enable/disable interruptions |
| SrcWrapper.h | Placeholder header of the SrcWrapper library: it declares nothing, it only allows sketches to include the library to have its sources built |
| syscalls.c | Implementation of newlib syscall |
| ► SubGhz | |
| ► src | |
| SubGhz.h | Access to the SubGHz radio module: radio IRQ, internal NSS/RESET/BUSY signals and SPI |
| ► USBDevice | |
| ► inc | |
| cdc_queue.h | Header for cdc_queue.c module |
| usbd_cdc.h | Header file for the usbd_cdc.c file |
| usbd_cdc_if.h | Header for usbd_cdc_if.c file |
| usbd_conf.h | Header file for the usbd_conf.c file |
| usbd_desc.h | Header for usbd_desc.c module |
| usbd_ep_conf.h | USB Device endpoints configuration |
| usbd_hid_composite_if.h | Header for USB HID composite interface |
| usbd_if.h | Header file for the usbd_if.c file |
| ► src | |
| ► cdc | |
| cdc_queue.c | Provides methods to manipulate with CDC cyclic buffers |
| usbd_cdc.c | This file provides the high layer firmware functions to manage the following functionalities of the USB CDC Class: |
| usbd_cdc_if.c | Generic media access Layer |
| ► hid | |
| usbd_hid_composite.c | This file provides the HID core functions |
| usbd_hid_composite.h | Header file for the usbd_hid_core.c file |
| usbd_hid_composite_if.c | Provide the USB HID composite interface |
| usbd_conf.c | USB Device configuration and interface file |
| usbd_confv2.c | HAL v2 USB device low-level adapter |
| usbd_desc.c | This file provides the USBD descriptors and string formatting method |
| usbd_ep_conf.c | USB Device endpoints configuration |
| usbd_if.c | USB Device common interface file |
| ► VirtIO | |
| ► inc | |
| openamp.h | Header for openamp applications |
| openamp_conf.h | Configuration file for OpenAMP MW |
| virtio_buffer.h | Ring buffer used to store the data received through OpenAMP |
| virtio_config.h | Configuration of the OpenAMP rpmsg buffers and of the trace (log) buffer |
| virtio_log.h | Write to the OpenAMP trace (log) buffer readable from the Linux host |
| VirtIOSerial.h | Serial (Stream) over OpenAMP to communicate with the Linux host |
| ► src | |
| mbox_ipcc.c | This file provides code for the configuration of the mailbox_ipcc_if.c MiddleWare |
| mbox_ipcc.h | Header for mbox_ipcc.c module |
| openamp.c | Code for openamp applications |
| rsc_table.c | Resource table |
| rsc_table.h | Resource table for the BM remote, populated for use by the Linux Master |
| VirtIO.h | Library header of the VirtIO library |
| ► Wire | |
| ► src | |
| ► utility | |
| twi.c | Provide the TWI interface |
| twi.h | Header for twi module |
| Wire.h | TWI/I2C (Wire) library, master and slave, for Arduino and Wiring |
| ▼ system | |
| ► STM32C0xx | |
| stm32c0xx_hal_conf_default.h | HAL default configuration template file |
| system_stm32c0xx.c | CMSIS Cortex-M0+ Device Peripheral Access Layer System Source File |
| ► STM32C5xx | |
| stm32c5xx_hal_conf_default.h | HAL default configuration file |
| system_stm32c5xx.c | CMSIS Cortex-M33 Device Peripheral Access Layer System Source File |
| ► STM32F0xx | |
| stm32f0xx_hal_conf_default.h | HAL default configuration file |
| system_stm32f0xx.c | CMSIS Cortex-M0 Device Peripheral Access Layer System Source File |
| ► STM32F1xx | |
| stm32f1xx_hal_conf_default.h | HAL default configuration file |
| system_stm32f1xx.c | CMSIS Cortex-M3 Device Peripheral Access Layer System Source File |
| ► STM32F2xx | |
| stm32f2xx_hal_conf_default.h | HAL default configuration file |
| system_stm32f2xx.c | CMSIS Cortex-M3 Device Peripheral Access Layer System Source File |
| ► STM32F3xx | |
| stm32f3xx_hal_conf_default.h | HAL default configuration file |
| system_stm32f3xx.c | CMSIS Cortex-M4 Device Peripheral Access Layer System Source File |
| ► STM32F4xx | |
| stm32f4xx_hal_conf_default.h | HAL default configuration file |
| system_stm32f4xx.c | CMSIS Cortex-M4 Device Peripheral Access Layer System Source File |
| ► STM32F7xx | |
| stm32f7xx_hal_conf_default.h | HAL default configuration file |
| system_stm32f7xx.c | CMSIS Cortex-M7 Device Peripheral Access Layer System Source File |
| ► STM32G0xx | |
| stm32g0xx_hal_conf_default.h | HAL default configuration file |
| system_stm32g0xx.c | CMSIS Cortex-M0+ Device Peripheral Access Layer System Source File |
| ► STM32G4xx | |
| stm32g4xx_hal_conf.h | HAL default configuration file |
| system_stm32g4xx.c | CMSIS Cortex-M4 Device Peripheral Access Layer System Source File |
| ► STM32H5xx | |
| system_stm32h5xx.c | CMSIS Cortex-M33 Device Peripheral Access Layer System Source File |
| ► STM32H7xx | |
| stm32h7xx_hal_conf_default.h | HAL default configuration file |
| system_stm32h7xx.c | CMSIS Cortex-Mx Device Peripheral Access Layer System Source File |
| ► STM32L0xx | |
| stm32l0xx_hal_conf_default.h | HAL default configuration file |
| system_stm32l0xx.c | CMSIS Cortex-M0+ Device Peripheral Access Layer System Source File |
| ► STM32L1xx | |
| stm32l1xx_hal_conf_default.h | HAL default configuration file |
| system_stm32l1xx.c | CMSIS Cortex-M3 Device Peripheral Access Layer System Source File |
| ► STM32L4xx | |
| stm32l4xx_hal_conf_default.h | HAL default configuration file |
| system_stm32l4xx.c | CMSIS Cortex-M4 Device Peripheral Access Layer System Source File |
| ► STM32L5xx | |
| stm32l5xx_hal_conf_default.h | HAL default configuration file |
| system_stm32l5xx_ns.c | CMSIS Cortex-M33 Device Peripheral Access Layer System Source File to be used in non-secure application when the system implements the TrustZone-M security |
| ► STM32MP1xx | |
| stm32mp1xx_hal_conf.h | HAL configuration file |
| system_stm32mp1xx.c | CMSIS Cortex Device Peripheral Access Layer System Source File |
| ► STM32U0xx | |
| system_stm32u0xx.c | CMSIS Cortex-M0+ Device Peripheral Access Layer System Source File |
| ► STM32U3xx | |
| system_stm32u3xx.c | CMSIS Cortex-M33 Device Peripheral Access Layer System Source File |
| ► STM32U5xx | |
| system_stm32u5xx.c | CMSIS Cortex-M33 Device Peripheral Access Layer System Source File |
| ► STM32WB0x | |
| stm32wb0x_hal_conf_default.h | HAL default configuration file |
| system_stm32wb0x.c | CMSIS Cortex-M0+ Device Peripheral Access Layer System Source File |
| ► STM32WBAxx | |
| system_stm32wbaxx.c | CMSIS Cortex-M33 Device Peripheral Access Layer System Source File |
| ► STM32WBxx | |
| stm32wbxx_hal_conf.h | HAL configuration file |
| system_stm32wbxx.c | CMSIS Cortex Device Peripheral Access Layer System Source File |
| ► STM32WL3x | |
| stm32wl3x_hal_conf_default.h | HAL default configuration file |
| system_stm32wl3x.c | CMSIS Cortex Device Peripheral Access Layer System Source File |
| ► STM32WLxx | |
| stm32wlxx_hal_conf_default.h | HAL default configuration file |
| system_stm32wlxx.c | CMSIS Cortex Device Peripheral Access Layer System Source File |