주요 콘텐츠

이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

모델링

하드웨어 연결을 위한 모델 준비, 하드웨어 프로토콜 지원을 위한 블록 추가

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.

시스템 코어

Audio InputRead audio sample from audio devices on STMicroelectronics STM32F746G/STM32F769I–Discovery board
Analog InputMeasure voltage of analog input pin
Digital ReadRead logical state of digital input pin
Digital WriteSet logical state of digital output pin
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
External InterruptTrigger the downstream function-call subsystem from an Interrupt Service Routine (R2021a 이후)

멀티미디어

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

통신

I2C Controller ReadRead data from I2C Peripheral devices or I2C Peripheral devices register
I2C Controller WriteWrite data to I2C peripheral devices or I2C peripheral devices register
SPI Controller TransferWrite data to and read data from SPI peripheral devices
SPI Register ReadRead data from SPI peripheral devices register
SPI Register WriteWrite data to registers of SPI peripheral devices
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 이후)

네트워크

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

시스템 코어

Audio InputRead audio sample from audio devices on STMicroelectronics STM32F746G/STM32F769I–Discovery board
Analog InputMeasure voltage of analog input pin
Digital ReadRead logical state of digital input pin
Digital WriteSet logical state of digital output pin
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
External InterruptTrigger the downstream function-call subsystem from an Interrupt Service Routine (R2021a 이후)

멀티미디어

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

통신

I2C Controller ReadRead data from I2C Peripheral devices or I2C Peripheral devices register
I2C Controller WriteWrite data to I2C peripheral devices or I2C peripheral devices register
SPI Controller TransferWrite data to and read data from SPI peripheral devices
SPI Register ReadRead data from SPI peripheral devices register
SPI Register WriteWrite data to registers of SPI peripheral devices
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 이후)

네트워크

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

사물 인터넷

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 이후)

센서

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 PackConvert input signals to uint8 vector
Byte Unpack Convert uint8 vector to input signals
Byte ReversalReverse order of bytes in input word
Memory CopyCopy data from and to memory section

도움말 항목

추천 예제