ms1553_terminal nand_flash
API Reference Manual  /  4 Model-to-Model Interfaces  / 

multi_level_signal

Description
Interface to model a signal with multiple levels, such as an analog signal.

Note: Obsoleted by the uint64_state interface.
The signal initiator (i.e. the object producing the signal) should call signal_level_change when the level changes. Multiple calls with the same level should be accepted by the signal receiver.

The optional function signal_current_level can be called when a new target is connected.

SIM_INTERFACE(multi_level_signal) {
        void (*signal_level_change)(conf_object_t *NOTNULL obj, uint64 level);
        void (*signal_current_level)(conf_object_t *NOTNULL obj, uint64 level);
};
#define MULTI_LEVEL_SIGNAL_INTERFACE "multi_level_signal"

Execution Context
Cell Context for all methods.

ms1553_terminal nand_flash