6.3.2 Viewing the SerialData protocol
How to view the default SerialData protocol, which the master and slave ports use.
Procedure
- Select the Protocols tab in the Component
window.
- Double-click on the
SerialData
protocol.
The protocol source appears in the Workspace
window.protocol SerialData{
...
slave behavior dataTransmit(unit16_t data);
slave behavior dataReceive():unit16_t;
slave behavior signalsSet(uint8_t signal);
slave behavior signalsGet():uint8_t;
}
Postrequisites
The following characteristics apply to the
SerialData
protocol: