Settings for registers of GainAMP Click driver.
More...
Settings for registers of GainAMP Click driver.
◆ GAINAMP_CHANNEL_A_SHUTDOWN
#define GAINAMP_CHANNEL_A_SHUTDOWN 0x08 |
◆ GAINAMP_CHANNEL_A_x0
#define GAINAMP_CHANNEL_A_x0 0x00 |
GainAMP description setting.
Specified setting for description of GainAMP Click driver.
◆ GAINAMP_CHANNEL_A_x1
#define GAINAMP_CHANNEL_A_x1 0x01 |
◆ GAINAMP_CHANNEL_A_x10
#define GAINAMP_CHANNEL_A_x10 0x04 |
◆ GAINAMP_CHANNEL_A_x100
#define GAINAMP_CHANNEL_A_x100 0x07 |
◆ GAINAMP_CHANNEL_A_x2
#define GAINAMP_CHANNEL_A_x2 0x02 |
◆ GAINAMP_CHANNEL_A_x20
#define GAINAMP_CHANNEL_A_x20 0x05 |
◆ GAINAMP_CHANNEL_A_x5
#define GAINAMP_CHANNEL_A_x5 0x03 |
◆ GAINAMP_CHANNEL_A_x50
#define GAINAMP_CHANNEL_A_x50 0x06 |
◆ GAINAMP_CHANNEL_B_SHUTDOWN
#define GAINAMP_CHANNEL_B_SHUTDOWN 0x80 |
◆ GAINAMP_CHANNEL_B_x0
#define GAINAMP_CHANNEL_B_x0 0x00 |
◆ GAINAMP_CHANNEL_B_x1
#define GAINAMP_CHANNEL_B_x1 0x10 |
◆ GAINAMP_CHANNEL_B_x10
#define GAINAMP_CHANNEL_B_x10 0x40 |
◆ GAINAMP_CHANNEL_B_x100
#define GAINAMP_CHANNEL_B_x100 0x70 |
◆ GAINAMP_CHANNEL_B_x2
#define GAINAMP_CHANNEL_B_x2 0x20 |
◆ GAINAMP_CHANNEL_B_x20
#define GAINAMP_CHANNEL_B_x20 0x50 |
◆ GAINAMP_CHANNEL_B_x5
#define GAINAMP_CHANNEL_B_x5 0x30 |
◆ GAINAMP_CHANNEL_B_x50
#define GAINAMP_CHANNEL_B_x50 0x60 |
◆ GAINAMP_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 gainamp_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ GAINAMP_SET_DATA_SAMPLE_MIDDLE