本页面提供的是上一版软件的文档。当前版本中已删除对应的英文页面。
建模
模块
基于 STM32F4xx 的板
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal (自 R2021b 起) |
CAN Read | Read message from CAN network (自 R2023a 起) |
CAN Write | Write data to the CAN Bus (自 R2023a 起) |
Digital Port Read | Read GPIO pin status (自 R2021b 起) |
Digital Port Write | Set GPIO pin status (自 R2021b 起) |
Digital to Analog Converter | Configures the DAC to generate an analog voltage on the specified DAC channel (自 R2023a 起) |
Encoder | Measure rotation of encoder in counts (自 R2022b 起) |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine (自 R2021b 起) |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
I2S Audio Out | Send processed audio samples to audio devices (自 R2023a 起) |
I2S Mic In | Read audio sample from MEMS microphone available on the STM32F4xx based board (自 R2023a 起) |
PWM Output | Generate square waveform on enabled channels using timer module (自 R2021b 起) |
SPI Receive | Receive data through Serial Peripheral Interface (SPI) on target (自 R2023a 起) |
SPI Transmit | Transmit data through Serial Peripheral Interface (SPI) on target (自 R2023a 起) |
SPI Controller Transfer | Write data to and read data from SPI peripheral device (自 R2023a 起) |
TCP Receive | Receive data over TCP/IP network from remote host (自 R2022b 起) |
TCP Send | Send data over TCP/IP network to remote host (自 R2022b 起) |
Timer | Starts timer counter and provides current counter value (自 R2022b 起) |
Timer Capture | Output the capture compare register value (自 R2022b 起) |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
UDP Receive | Receive UDP packets from UDP host (自 R2022b 起) |
UDP Send | Send UDP packets to UDP host (自 R2022b 起) |
基于 STM32F7xx 的板
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal (自 R2021b 起) |
CAN Read | Read message from CAN network (自 R2023a 起) |
CAN Write | Write data to the CAN Bus (自 R2023a 起) |
Digital Port Read | Read GPIO pin status (自 R2021b 起) |
Digital Port Write | Set GPIO pin status (自 R2021b 起) |
Digital to Analog Converter | Configures the DAC to generate an analog voltage on the specified DAC channel (自 R2023a 起) |
Encoder | Measure rotation of encoder in counts (自 R2022b 起) |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine (自 R2021b 起) |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
I2S Audio Out | Send processed audio samples to audio devices (自 R2023a 起) |
I2S Mic In | Read audio sample from MEMS microphone available on the STM32F4xx based board (自 R2023a 起) |
PWM Output | Generate square waveform on enabled channels using timer module (自 R2021b 起) |
SPI Receive | Receive data through Serial Peripheral Interface (SPI) on target (自 R2023a 起) |
SPI Transmit | Transmit data through Serial Peripheral Interface (SPI) on target (自 R2023a 起) |
SPI Controller Transfer | Write data to and read data from SPI peripheral device (自 R2023a 起) |
TCP Receive | Receive data over TCP/IP network from remote host (自 R2022b 起) |
TCP Send | Send data over TCP/IP network to remote host (自 R2022b 起) |
Timer | Starts timer counter and provides current counter value (自 R2022b 起) |
Timer Capture | Output the capture compare register value (自 R2022b 起) |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
UDP Receive | Receive UDP packets from UDP host (自 R2022b 起) |
UDP Send | Send UDP packets to UDP host (自 R2022b 起) |
基于 STM32G4xx 的板
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal (自 R2021b 起) |
Comparator | Compare two analog inputs on peripheral and provide results (自 R2023b 起) |
CORDIC | Enable hardware acceleration of trigonometric and hyperbolic mathematical functions (自 R2023b 起) |
Digital to Analog Converter | Configures the DAC to generate an analog voltage on the specified DAC channel (自 R2023a 起) |
Digital Port Read | Read GPIO pin status (自 R2021b 起) |
Digital Port Write | Set GPIO pin status (自 R2021b 起) |
Encoder | Measure rotation of encoder in counts (自 R2022b 起) |
FDCAN Read | Read data from CAN FD Bus (自 R2023a 起) |
FDCAN Write | Write data to the FDCAN Bus (自 R2023a 起) |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine (自 R2021b 起) |
Higher Resolution Timer | Generate high resolution pulse width modulated waveforms (自 R2022b 起) |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
I2S Audio Out | Send processed audio samples to audio devices (自 R2023a 起) |
I2S Mic In | Read audio sample from MEMS microphone available on the STM32F4xx based board (自 R2023a 起) |
PWM Output | Generate square waveform on enabled channels using timer module (自 R2021b 起) |
SPI Receive | Receive data through Serial Peripheral Interface (SPI) on target (自 R2023a 起) |
SPI Transmit | Transmit data through Serial Peripheral Interface (SPI) on target (自 R2023a 起) |
SPI Controller Transfer | Write data to and read data from SPI peripheral device (自 R2023a 起) |
Timer | Starts timer counter and provides current counter value (自 R2022b 起) |
Timer Capture | Output the capture compare register value (自 R2022b 起) |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
基于 STM32H7xx 的板
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal (自 R2021b 起) |
Comparator | Compare two analog inputs on peripheral and provide results (自 R2023b 起) |
CORDIC | Enable hardware acceleration of trigonometric and hyperbolic mathematical functions (自 R2023b 起) |
Digital Port Read | Read GPIO pin status (自 R2021b 起) |
Digital Port Write | Set GPIO pin status (自 R2021b 起) |
Digital to Analog Converter | Configures the DAC to generate an analog voltage on the specified DAC channel (自 R2023a 起) |
Encoder | Measure rotation of encoder in counts (自 R2022b 起) |
FDCAN Read | Read data from CAN FD Bus (自 R2023a 起) |
FDCAN Write | Write data to the FDCAN Bus (自 R2023a 起) |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine (自 R2021b 起) |
Higher Resolution Timer | Generate high resolution pulse width modulated waveforms (自 R2022b 起) |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
PWM Output | Generate square waveform on enabled channels using timer module (自 R2021b 起) |
SPI Receive | Receive data through Serial Peripheral Interface (SPI) on target (自 R2023a 起) |
SPI Transmit | Transmit data through Serial Peripheral Interface (SPI) on target (自 R2023a 起) |
SPI Controller Transfer | Write data to and read data from SPI peripheral device (自 R2023a 起) |
TCP Receive | Receive data over TCP/IP network from remote host (自 R2022b 起) |
TCP Send | Send data over TCP/IP network to remote host (自 R2022b 起) |
Timer | Starts timer counter and provides current counter value (自 R2022b 起) |
Timer Capture | Output the capture compare register value (自 R2022b 起) |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
UDP Receive | Receive UDP packets from UDP host (自 R2022b 起) |
UDP Send | Send UDP packets to UDP host (自 R2022b 起) |
基于 STM32L4xx 的板
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal (自 R2021b 起) |
CAN Read | Read message from CAN network (自 R2023a 起) |
CAN Write | Write data to the CAN Bus (自 R2023a 起) |
Comparator | Compare two analog inputs on peripheral and provide results (自 R2023b 起) |
Digital Port Read | Read GPIO pin status (自 R2021b 起) |
Digital Port Write | Set GPIO pin status (自 R2021b 起) |
Digital to Analog Converter | Configures the DAC to generate an analog voltage on the specified DAC channel (自 R2023a 起) |
Encoder | Measure rotation of encoder in counts (自 R2022b 起) |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine (自 R2021b 起) |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
PWM Output | Generate square waveform on enabled channels using timer module (自 R2021b 起) |
Timer | Starts timer counter and provides current counter value (自 R2022b 起) |
Timer Capture | Output the capture compare register value (自 R2022b 起) |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
基于 STM32L5xx 的板
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal (自 R2021b 起) |
Comparator | Compare two analog inputs on peripheral and provide results (自 R2023b 起) |
Digital Port Read | Read GPIO pin status (自 R2021b 起) |
Digital Port Write | Set GPIO pin status (自 R2021b 起) |
Digital to Analog Converter | Configures the DAC to generate an analog voltage on the specified DAC channel (自 R2023a 起) |
Encoder | Measure rotation of encoder in counts (自 R2022b 起) |
FDCAN Read | Read data from CAN FD Bus (自 R2023a 起) |
FDCAN Write | Write data to the FDCAN Bus (自 R2023a 起) |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine (自 R2021b 起) |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
PWM Output | Generate square waveform on enabled channels using timer module (自 R2021b 起) |
Timer | Starts timer counter and provides current counter value (自 R2022b 起) |
Timer Capture | Output the capture compare register value (自 R2022b 起) |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
基于 STM32WBxx 的板
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal (自 R2021b 起) |
Digital Port Read | Read GPIO pin status (自 R2021b 起) |
Digital Port Write | Set GPIO pin status (自 R2021b 起) |
Encoder | Measure rotation of encoder in counts (自 R2022b 起) |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine (自 R2021b 起) |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
PWM Output | Generate square waveform on enabled channels using timer module (自 R2021b 起) |
Timer | Starts timer counter and provides current counter value (自 R2022b 起) |
Timer Capture | Output the capture compare register value (自 R2022b 起) |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
基于 STM32U5xx 的板
Analog to Digital Converter | Convert analog signal on ADC input pin to digital signal (自 R2021b 起) |
Digital Port Read | Read GPIO pin status (自 R2021b 起) |
Digital Port Write | Set GPIO pin status (自 R2021b 起) |
Encoder | Measure rotation of encoder in counts (自 R2022b 起) |
FDCAN Read | Read data from CAN FD Bus (自 R2023a 起) |
FDCAN Write | Write data to the FDCAN Bus (自 R2023a 起) |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine (自 R2021b 起) |
I2C Controller Read | Read data from I2C peripheral device or I2C peripheral device register |
I2C Controller Write | Write data to I2C peripheral device or I2C peripheral device register |
PWM Output | Generate square waveform on enabled channels using timer module (自 R2021b 起) |
Timer | Starts timer counter and provides current counter value (自 R2022b 起) |
Timer Capture | Output the capture compare register value (自 R2022b 起) |
UART/USART Read | Read data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
UART/USART Write | Write serial data from the Universal Asynchronous Receiver Transmitter (UART/USART) port (自 R2022a 起) |
实用工具模块
Byte Pack | 将输入信号转换为 uint8 向量 |
Byte Unpack | 将 uint8 向量转换为输入信号 |
Byte Reversal | 反转输入字中的字节顺序 |
Memory Copy | Copy data from and to memory section |
Protocol Encoder | Encode input data into a uint8 byte stream by specifying the packet structure (自 R2023a 起) |
Protocol Decoder | Decode a uint8 byte stream by specifying the packet structure (自 R2023a 起) |
主题
- Configure STM32 Processor-Based Boards using STM32CubeMX with Simulink
Configure the STM32 Processors-Based Boards to use STM32CubeMX project with Simulink.
- Configure Ethernet Options in STM32CubeMX for STM32 Processor Based Boards
Ethernet configuration in STM32CubeMX project.
- Set Up Scheduling Options for STM32 Processor-Based Boards
Setting up scheduling options for STM32 processor based boards.
- Use SoC Blockset Pass-Through Block Simulation
Use the SoC Blockset™ block pass through to add simulation to STM blocks.
精选示例
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)