Settings for registers of Magneto 13 Click driver.
More...
Settings for registers of Magneto 13 Click driver.
◆ MAGNETO13_CMD_BIT_MASK
#define MAGNETO13_CMD_BIT_MASK 0x07 |
Magneto 13 descriptions of the command and register bit masks.
Specified command and register bit masks of Magneto 13 Click driver.
◆ MAGNETO13_FLD_ST_BIT_MASK
#define MAGNETO13_FLD_ST_BIT_MASK 0x03 |
◆ MAGNETO13_FLD_ST_MGH
#define MAGNETO13_FLD_ST_MGH 0x02 |
◆ MAGNETO13_FLD_ST_MGL
#define MAGNETO13_FLD_ST_MGL 0x01 |
◆ MAGNETO13_FLD_ST_OK
#define MAGNETO13_FLD_ST_OK 0x00 |
Magneto 13 description of field strength level.
Specified field strength level of Magneto 13 Click driver.
◆ MAGNETO13_MG_BIT_MASK
#define MAGNETO13_MG_BIT_MASK 0xF0 |
◆ MAGNETO13_MG_FLD_THD_DIS
#define MAGNETO13_MG_FLD_THD_DIS 0x00 |
◆ MAGNETO13_MG_FLD_THD_EN
#define MAGNETO13_MG_FLD_THD_EN 0x01 |
◆ MAGNETO13_MG_HT_LVL_0
#define MAGNETO13_MG_HT_LVL_0 0x00 |
◆ MAGNETO13_MG_HT_LVL_1
#define MAGNETO13_MG_HT_LVL_1 0x10 |
◆ MAGNETO13_MG_HT_LVL_2
#define MAGNETO13_MG_HT_LVL_2 0x20 |
◆ MAGNETO13_MG_HT_LVL_3
#define MAGNETO13_MG_HT_LVL_3 0x30 |
◆ MAGNETO13_MG_LT_LVL_0
#define MAGNETO13_MG_LT_LVL_0 0x00 |
Magneto 13 description of magnetic field threshold settings.
Specified trimming and magnetic settings of Magneto 13 Click driver.
◆ MAGNETO13_MG_LT_LVL_1
#define MAGNETO13_MG_LT_LVL_1 0x40 |
◆ MAGNETO13_MG_LT_LVL_2
#define MAGNETO13_MG_LT_LVL_2 0x80 |
◆ MAGNETO13_MG_LT_LVL_3
#define MAGNETO13_MG_LT_LVL_3 0xC0 |
◆ MAGNETO13_REG_BIT_MASK
#define MAGNETO13_REG_BIT_MASK 0x1F |
◆ MAGNETO13_SET_DATA_SAMPLE_EDGE
Data sample selection.
This macro sets data samples for SPI modules.
- Note
- Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with magneto13_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ MAGNETO13_SET_DATA_SAMPLE_MIDDLE
◆ MAGNETO13_TRIMMING_X_DIS
#define MAGNETO13_TRIMMING_X_DIS 0x00 |
Magneto 13 description of trimming settings.
Specified trimming settings of Magneto 13 Click driver.
◆ MAGNETO13_TRIMMING_X_EN
#define MAGNETO13_TRIMMING_X_EN 0x01 |
◆ MAGNETO13_TRIMMING_Y_DIS
#define MAGNETO13_TRIMMING_Y_DIS 0x00 |
◆ MAGNETO13_TRIMMING_Y_EN
#define MAGNETO13_TRIMMING_Y_EN 0x02 |