rs232_device scale_factor_listener
API Reference Manual  /  4 Model-to-Model Interfaces  / 

sata

Description
SIM_INTERFACE(sata) {
        void (*receive_fis)(conf_object_t *obj, const bytes_t fis);
};

#define SATA_INTERFACE "sata"

This interface is implemented by SATA objects that provide an interface for serial data delivery.

This interface can be used in both direction in SATA communication. The receive_fis function is used by a device to send a SATA FIS to the SATA controller(HBA). The same function is used when sending a SATA FIS from HBA to SATA device. The FIS should be a bytes_t containing a complete SATA FIS. Different types of FIS may have different length. Please follow SATA specification when determine the length and content of the FIS.

Execution Context
Cell Context for all methods.

rs232_device scale_factor_listener