29.11.2014 Views

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Signaling and Clocking Protocols<br />

3.2 Signaling Protocols<br />

This section describes the common signaling protocols within the <strong>Fast</strong> <strong>Models</strong> Portfolio. It<br />

contains the following sections:<br />

• Signal protocol<br />

• StateSignal protocol<br />

• Value protocol<br />

• ValueState protocol.<br />

3.2.1 Signal protocol<br />

The Signal protocol has the following behavior:<br />

setValue(enum sg::Signal::State) : void<br />

indicates a state change.<br />

Legal values for sg::Signal::State are:<br />

• sg::Signal::Set<br />

• sg::Signal::Clear<br />

3.2.2 StateSignal protocol<br />

The StateSignal protocol has two behaviors:<br />

setValue(enum sg::Signal::State) : void<br />

indicates a value change<br />

getValue() : sg::Signal::State<br />

reads the current value.<br />

3.2.3 Value protocol<br />

The Value protocol has the following behavior:<br />

setValue(uint32_t value)<br />

indicates a state change.<br />

3.2.4 ValueState protocol<br />

The ValueState protocol has the following behaviors:<br />

setValue(uint32_t value) : void<br />

indicates a value change<br />

getValue() : uint32_t<br />

read the current value state.<br />

<strong>ARM</strong> DUI 0423J Copyright © 2008-2011 <strong>ARM</strong>. All rights reserved. 3-3<br />

ID051811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!