6.3.1. View the SerialData protocol

Examine the default SerialData protocol that is used by the master and slave ports:

  1. Select the Protocols tab in the Component window.

  2. Double-click on the SerialData protocol.

  3. The protocol source is displayed 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;
  4. The following characteristics apply to the SerialData protocol:

    • All behaviors are slave behaviors.

    • None of the behavior statements contains the keyword optional. The slave must therefore implement all of the behaviors.

Copyright © 2007-2009 ARM Limited. All rights reserved.ARM DUI 0370H