monoZ docs
|
Go to the source code of this file.
Macros | |
#define | SI1133_I2C_ADDRESS (0xAA) /** Hardcoded address for Si1133 sensor */ |
#define | SLAVE_ADD (SI1133_I2C_ADDRESS) |
#define | MZ_ADDONUV_INSTANCE (I2C2) |
#define | MZ_ADDONUV_INIT_TIMING (0x10909CEC) |
#define | MZ_ADDONUV_INIT_OWNADDRESS1 (SLAVE_ADD) |
#define | MZ_ADDONUV_INIT_ADDRESSINGMODE (I2C_ADDRESSINGMODE_7BIT) |
#define | MZ_ADDONUV_INIT_DUALADDRESSMODE (I2C_DUALADDRESS_DISABLE) |
#define | MZ_ADDONUV_INIT_OWNADDRESS2 (0) |
#define | MZ_ADDONUV_INIT_OWNADDRESS2MASKS (I2C_OA2_NOMASK) |
#define | MZ_ADDONUV_INIT_GENERALCALLMODE (I2C_GENERALCALL_DISABLE) |
#define | MZ_ADDONUV_INIT_NOSTRETCHMODE (I2C_NOSTRETCH_DISABLE) |
#define | MZ_ADDONUV_I2C_INSTANCE (_I2C2) |
Functions | |
mz_error_t | UV_I2C_init (void) |
#define SI1133_I2C_ADDRESS (0xAA) /** Hardcoded address for Si1133 sensor */ |
Definition at line 14 of file MZ_Addon_board_Si1133_i2c.h.
#define SLAVE_ADD (SI1133_I2C_ADDRESS) |
Definition at line 16 of file MZ_Addon_board_Si1133_i2c.h.
#define MZ_ADDONUV_INSTANCE (I2C2) |
Definition at line 18 of file MZ_Addon_board_Si1133_i2c.h.
#define MZ_ADDONUV_INIT_TIMING (0x10909CEC) |
Definition at line 19 of file MZ_Addon_board_Si1133_i2c.h.
#define MZ_ADDONUV_INIT_OWNADDRESS1 (SLAVE_ADD) |
Definition at line 20 of file MZ_Addon_board_Si1133_i2c.h.
#define MZ_ADDONUV_INIT_ADDRESSINGMODE (I2C_ADDRESSINGMODE_7BIT) |
Definition at line 21 of file MZ_Addon_board_Si1133_i2c.h.
#define MZ_ADDONUV_INIT_DUALADDRESSMODE (I2C_DUALADDRESS_DISABLE) |
Definition at line 22 of file MZ_Addon_board_Si1133_i2c.h.
#define MZ_ADDONUV_INIT_OWNADDRESS2 (0) |
Definition at line 23 of file MZ_Addon_board_Si1133_i2c.h.
#define MZ_ADDONUV_INIT_OWNADDRESS2MASKS (I2C_OA2_NOMASK) |
Definition at line 24 of file MZ_Addon_board_Si1133_i2c.h.
#define MZ_ADDONUV_INIT_GENERALCALLMODE (I2C_GENERALCALL_DISABLE) |
Definition at line 25 of file MZ_Addon_board_Si1133_i2c.h.
#define MZ_ADDONUV_INIT_NOSTRETCHMODE (I2C_NOSTRETCH_DISABLE) |
Definition at line 26 of file MZ_Addon_board_Si1133_i2c.h.
#define MZ_ADDONUV_I2C_INSTANCE (_I2C2) |
Definition at line 27 of file MZ_Addon_board_Si1133_i2c.h.
mz_error_t UV_I2C_init | ( | void | ) |