LibDriver BH1750FVI  1.0.0
BH1750FVI full-featured driver
bh1750fvi link driver function

bh1750fvi link driver modules More...

Macros

#define DRIVER_BH1750FVI_LINK_INIT(HANDLE, STRUCTURE)   memset(HANDLE, 0, sizeof(STRUCTURE))
 initialize bh1750fvi_handle_t structure More...
 
#define DRIVER_BH1750FVI_LINK_IIC_INIT(HANDLE, FUC)   (HANDLE)->iic_init = FUC
 link iic_init function More...
 
#define DRIVER_BH1750FVI_LINK_IIC_DEINIT(HANDLE, FUC)   (HANDLE)->iic_deinit = FUC
 link iic_deinit function More...
 
#define DRIVER_BH1750FVI_LINK_IIC_READ_CMD(HANDLE, FUC)   (HANDLE)->iic_read_cmd = FUC
 link iic_read_cmd function More...
 
#define DRIVER_BH1750FVI_LINK_IIC_WRITE_CMD(HANDLE, FUC)   (HANDLE)->iic_write_cmd = FUC
 link iic_write_cmd function More...
 
#define DRIVER_BH1750FVI_LINK_DELAY_MS(HANDLE, FUC)   (HANDLE)->delay_ms = FUC
 link delay_ms function More...
 
#define DRIVER_BH1750FVI_LINK_DEBUG_PEINT(HANDLE, FUC)   (HANDLE)->debug_print = FUC
 link debug_print function More...
 

Detailed Description

bh1750fvi link driver modules

Macro Definition Documentation

◆ DRIVER_BH1750FVI_LINK_DEBUG_PEINT

#define DRIVER_BH1750FVI_LINK_DEBUG_PEINT (   HANDLE,
  FUC 
)    (HANDLE)->debug_print = FUC

link debug_print function

Parameters
[in]HANDLEpointer to a bh1750fvi handle structure
[in]FUCpointer to a debug_print function address
Note
none

Definition at line 176 of file driver_bh1750fvi.h.

◆ DRIVER_BH1750FVI_LINK_DELAY_MS

#define DRIVER_BH1750FVI_LINK_DELAY_MS (   HANDLE,
  FUC 
)    (HANDLE)->delay_ms = FUC

link delay_ms function

Parameters
[in]HANDLEpointer to a bh1750fvi handle structure
[in]FUCpointer to a delay_ms function address
Note
none

Definition at line 168 of file driver_bh1750fvi.h.

◆ DRIVER_BH1750FVI_LINK_IIC_DEINIT

#define DRIVER_BH1750FVI_LINK_IIC_DEINIT (   HANDLE,
  FUC 
)    (HANDLE)->iic_deinit = FUC

link iic_deinit function

Parameters
[in]HANDLEpointer to a bh1750fvi handle structure
[in]FUCpointer to an iic_deinit function address
Note
none

Definition at line 144 of file driver_bh1750fvi.h.

◆ DRIVER_BH1750FVI_LINK_IIC_INIT

#define DRIVER_BH1750FVI_LINK_IIC_INIT (   HANDLE,
  FUC 
)    (HANDLE)->iic_init = FUC

link iic_init function

Parameters
[in]HANDLEpointer to a bh1750fvi handle structure
[in]FUCpointer to an iic_init function address
Note
none

Definition at line 136 of file driver_bh1750fvi.h.

◆ DRIVER_BH1750FVI_LINK_IIC_READ_CMD

#define DRIVER_BH1750FVI_LINK_IIC_READ_CMD (   HANDLE,
  FUC 
)    (HANDLE)->iic_read_cmd = FUC

link iic_read_cmd function

Parameters
[in]HANDLEpointer to a bh1750fvi handle structure
[in]FUCpointer to an iic_read_cmd function address
Note
none

Definition at line 152 of file driver_bh1750fvi.h.

◆ DRIVER_BH1750FVI_LINK_IIC_WRITE_CMD

#define DRIVER_BH1750FVI_LINK_IIC_WRITE_CMD (   HANDLE,
  FUC 
)    (HANDLE)->iic_write_cmd = FUC

link iic_write_cmd function

Parameters
[in]HANDLEpointer to a bh1750fvi handle structure
[in]FUCpointer to an iic_write_cmd function address
Note
none

Definition at line 160 of file driver_bh1750fvi.h.

◆ DRIVER_BH1750FVI_LINK_INIT

#define DRIVER_BH1750FVI_LINK_INIT (   HANDLE,
  STRUCTURE 
)    memset(HANDLE, 0, sizeof(STRUCTURE))

initialize bh1750fvi_handle_t structure

Parameters
[in]HANDLEpointer to a bh1750fvi handle structure
[in]STRUCTUREbh1750fvi_handle_t
Note
none

Definition at line 128 of file driver_bh1750fvi.h.