Embedded Target for Motorola MPC555    

Data Type Support and Scaling for
Device Driver Blocks

The following table summarizes the input and output data types supported by the device driver blocks in the Embedded Target for Motorola MPC555 library, and the scaling applied to block inputs and outputs.

I/O Data Types and Scaling for MPC555 Device Driver Blocks
Block
Input
Data
Type

Input
Scaling

Output
Data
Type

Output
Scaling/
Units

MIOS Digital In
Any Simulink supported datatype
logic 1 if input > 0, logic 0 if input <= 0
Boolean
0 or 1 only
MIOS Digital Out
Any Simulink supported datatype
logic 1 if input > 0, logic 0 if input <= 0
Any Simulink supported datatype
0 or 1 only
MIOS Digital Out (MPWMSM)
Any Simulink supported datatype
logic 1 if input > 0, logic 0 if input <= 0
Any Simulink supported datatype
0 or 1 only
MIOS Pulse Width Modulation Out
double or single
0 to 1
double or single (must be same as input data type)
0 to 1
MIOS Waveform Measurement
double or single
seconds
double or single (must be same as input data type)
Seconds
QADC Analog In
double or single
0 to 1
uint16 or int16 (defined by Justification parameter)
(defined by Justification parameter)
QADC Digital In
Any Simulink supported datatype
logic 1 if input > 0, logic 0 if input <= 1
Boolean
0 or 1 only
TouCAN Receive
CAN_MESSAGE_STANDARD or CAN_MESSAGE_EXTENDED (must be same as output)
N/A
CAN_MESSAGE_STANDARD
or CAN_MESSAGE_EXTENDED
N/A
TouCAN Transmit
CAN_MESSAGE_STANDARD or CAN_MESSAGE_EXTENDED
N/A
CAN_MESSAGE_STANDARD
or CAN_MESSAGE_EXTENDED
(must be same as input)
N/A
TouCAN Warnings
Boolean
N/A
Boolean
N/A
TouCAN Error Count
uint8
N/A
uint8
N/A
TouCAN Fault Confinement State
uint16
N/A
uint16
N/A


  Blocks Organized by Libraries Configuration Class Blocks