ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcdcsFACTORY.hpp File Reference

Go to the source code of this file.

Classes

struct  ngcdcs_system_t
 
class  ngcdcsFACTORY
 

Macros

#define ngcdcsEDRV_SIGNATURE
 
#define NGCDCS_REGISTER_DRV(type, name)
 
#define NGCDCS_REGISTER_LIB(name, ...)
 

Typedefs

typedef ngcdcsFACTORY *(* ngcdcs_fmkr_t) ()
 

Detailed Description

Macro Definition Documentation

◆ NGCDCS_REGISTER_DRV

#define NGCDCS_REGISTER_DRV ( type,
name )
Value:
extern "C" { type name; \
volatile unsigned long int _ngcdcs_expdrv_ ## name = ngcdcsEDRV_SIGNATURE; }
#define ngcdcsEDRV_SIGNATURE
Definition ngcdcsFACTORY.hpp:122

Driver factory registration macro

◆ NGCDCS_REGISTER_LIB

#define NGCDCS_REGISTER_LIB ( name,
... )
Value:
extern "C" { \
volatile unsigned long int _ngcdcs_expdrv_ ## name = ngcdcsEDRV_SIGNATURE; \
ngcb_str64_t name ## _LIST[] = {__VA_ARGS__, ""}; }
char ngcb_str64_t[64]
Definition ngcb.h:151

Driver library registration macro

◆ ngcdcsEDRV_SIGNATURE

#define ngcdcsEDRV_SIGNATURE
Value:
((sizeof(ngcdcsEXPDRV) & 0xffff) | \
(sizeof(ngcdcsFACTORY) & 0xffff) << 16)
Definition ngcdcsEXPDRV.hpp:31
Definition ngcdcsFACTORY.hpp:46

Driver signature value

Typedef Documentation

◆ ngcdcs_fmkr_t

typedef ngcdcsFACTORY *(* ngcdcs_fmkr_t) ()

The exposure driver factory maker