Main Content

モデル化

ハードウェア接続用のモデルの準備、およびハードウェア プロトコルをサポートするためのブロックの追加

STMicroelectronics Discovery ボードを使用したハードウェア接続用のモデルの準備、ハードウェア プロトコルをサポートするためのブロックの追加

ブロック

すべて展開する

GPIO ReadRead GPIO pin status
GPIO WriteSet GPIO pin status
Analog to Digital ConverterConvert analog signal on ADC input pin to digital signal
Audio OutSend processed audio samples to audio devices
Mic InRead audio sample from MEMS microphone available on the STMicroelectronics STM32F4–Discovery board
Hardware InterruptTrigger the downstream function-call subsystem from an interrupt service routine.
Analog InputMeasure voltage of analog input pin
Digital ReadRead logical state of digital input pin
Digital WriteSet logical state of digital output pin
I2C Controller ReadRead data from I2C Peripheral device or I2C Peripheral device register
I2C Controller WriteWrite data to I2C peripheral device or I2C peripheral device register
PWM OutputGenerate square wave on the specified output pin
SCI ReadRead N-by-1 array of data on UART
SCI WriteSend N-by-1 array of data to UART
SPI Controller TransferWrite data to and read data from SPI peripheral device
SPI Register ReadRead data from SPI peripheral device register
SPI Register WriteWrite data to registers of SPI peripheral device
Audio InputRead audio sample from audio devices on STMicroelectronics STM32F746G/STM32F769I–Discovery board
Audio OutputSend processed audio samples to audio devices on STMicroelectronics STM32F746G/STM32F769I–Discovery board
TCP ReceiveReceive data over TCP/IP network from remote host
TCP SendSend data over TCP/IP network to remote host
UDP ReceiveReceive UDP packets from UDP host
UDP SendSend UDP packets to UDP host
External InterruptTrigger the downstream function-call subsystem from an Interrupt Service Routine (R2021a 以降)
Modbus RS485 Client ReadClient device reads data from server device register(s) over RS485 network (R2021b 以降)
Modbus RS485 Client WriteClient device writes data to server device register(s) over RS485 network (R2021b 以降)
Modbus RS485 Server WriteServer device writes data to server device register over RS485 network (R2021b 以降)
Modbus RS485 Server ReadServer device reads data from the server device register over RS485 network (R2021b 以降)
Analog InputMeasure voltage of analog input pin
Digital ReadRead logical state of digital input pin
Digital WriteSet logical state of digital output pin
I2C Controller ReadRead data from I2C Peripheral device or I2C Peripheral device register
I2C Controller WriteWrite data to I2C peripheral device or I2C peripheral device register
PWM OutputGenerate square wave on the specified output pin
SCI ReadRead N-by-1 array of data on UART
SCI WriteSend N-by-1 array of data to UART
SPI Controller TransferWrite data to and read data from SPI peripheral device
SPI Register ReadRead data from SPI peripheral device register
SPI Register WriteWrite data to registers of SPI peripheral device
External InterruptTrigger the downstream function-call subsystem from an Interrupt Service Routine (R2021a 以降)
WiFi TCP ReceiveReceive TCP/IP packets from another TCP/IP host on internet network (R2021a 以降)
WiFi TCP SendSend TCP/IP packets to another TCP/IP host on internet network (R2021a 以降)
ThingSpeak ReadRead data stored in ThingSpeak channel (R2021a 以降)
ThingSpeak WritePublish data to Internet of Things using ThingSpeak (R2021a 以降)
Modbus RS485 Client ReadClient device reads data from server device register(s) over RS485 network (R2021b 以降)
Modbus RS485 Client WriteClient device writes data to server device register(s) over RS485 network (R2021b 以降)
Modbus RS485 Server ReadServer device reads data from the server device register over RS485 network (R2021b 以降)
Modbus RS485 Server WriteServer device writes data to server device register over RS485 network (R2021b 以降)
HTS221 Humidity SensorMeasure relative humidity and temperature from HTS221 sensor (R2021b 以降)
LIS3MDL Magnetometer SensorMeasure magnetic field strength and temperature from LIS3MDL Magnetometer sensor (R2021b 以降)
LPS22HB Pressure SensorMeasure barometric air pressure and temperature from LPS22HB sensor (R2021b 以降)
LSM6DSL IMU SensorMeasure linear acceleration, angular rate, and temperature from LSM6DSL sensor (R2021b 以降)
Byte Pack入力信号を uint8 ベクトルに変換
Byte Unpack uint8 ベクトルを入力信号に変換
Byte Reversal入力語のバイト順を反転
Memory CopyCopy data from and to memory section

トピック