主要内容

建模

为硬件连接准备模型,添加模块以支持硬件协议

准备 Simulink® 模型以进行硬件连接,添加模块以支持硬件协议,提供各种应用情形的参考示例。

模块

Analog InputMeasure the voltage of analog input pin
Analog OutputSend analog output signal to DAC0_OUT pin
Digital ReadRead the logical value of digital input pin
Digital WriteSet the logical value of a digital output pin
FXOS8700 6-Axes SensorGet measurement of linear acceleration and magnetic field along the X, Y, and Z axes of the FXOS8700 6-Axes chip
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
Push ButtonRead logical state of Push button
PWM OutputGenerate pulse waveform on specified output pin
Quadrature EncoderMeasure rotation of encoder in ticks
Serial ReceiveRead data from UART port
Serial TransmitSend serial data to UART port
TCP ReceiveReceive data over TCP/IP network from remote host
TCP SendSend data over TCP/IP network to remote host
UDP ReceiveReceive UDP message from UDP host
UDP SendSend UDP message to UDP host

主题