1.2.1.16 SYS_MODULE_INIT Union

C

typedef union
{
    uint8_t value;

    struct
    {
        // Module-definable field, module-specific usage
        uint8_t reserved : 4;
    }sys;

} SYS_MODULE_INIT;

Summary

Initializes a module (including device drivers) as requested by the system.

Description

This structure provides the necessary data to initialize or reinitialize a module (including device drivers). The structure can be extended in a module specific way as to carry module specific initialization data.

Remarks

This structure is used in the device driver routines DRV_Initialize and DRV_Reinitialize that are defined by each device driver.