Go to the source code of this file.
◆ EMUL_STUB_DEVICE
      
        
          | #define EMUL_STUB_DEVICE | 
          ( | 
            | 
          n | ) | 
           | 
        
      
 
Value:        __maybe_unused 
static int emul_init_stub_##n(
const struct device *dev)                     \
 
        {                                                                                          \
                ARG_UNUSED(dev);                                                                   \
                return 0;                                                                          \
        }                                                                                          \
                                                                                                   \
        DEVICE_DT_INST_DEFINE(n, &emul_init_stub_##n, NULL, &stub_data_##n, &stub_config_##n,      \
                              POST_KERNEL, 1, &stub_api_##n);
Runtime device structure (in ROM) per driver instance.
Definition: device.h:378
 
Definition: emul_stub_device.h:23
 
Definition: emul_stub_device.h:20
 
Definition: emul_stub_device.h:17