ltecat12 2.1.0.0
LTE Cat.1 2 Device Settings

Settings for registers of LTE Cat.1 2 Click driver. More...

Macros

#define LTECAT12_MAX9860_REG_INTR_STATS   0x00
 LTE Cat.1 2 MAX9860 registers.
 
#define LTECAT12_MAX9860_REG_MIC_NG_AGC   0x01
 
#define LTECAT12_MAX9860_REG_INTR_EN   0x02
 
#define LTECAT12_MAX9860_REG_SYS_CLK   0x03
 
#define LTECAT12_MAX9860_REG_STEREO_CLK_MSB   0x04
 
#define LTECAT12_MAX9860_REG_STEREO_CLK_LSB   0x05
 
#define LTECAT12_MAX9860_REG_AUDIO_INTERFACE_1   0x06
 
#define LTECAT12_MAX9860_REG_AUDIO_INTERFACE_2   0x07
 
#define LTECAT12_MAX9860_REG_VOICE_FILTER   0x08
 
#define LTECAT12_MAX9860_REG_DAC_ATTENUATION   0x09
 
#define LTECAT12_MAX9860_REG_ADC_OUTPUT_LEVELS   0x0A
 
#define LTECAT12_MAX9860_REG_DAC_GAIN   0x0B
 
#define LTECAT12_MAX9860_REG_MIC_GAIN   0x0C
 
#define LTECAT12_MAX9860_REG_MIC_AGC   0x0E
 
#define LTECAT12_MAX9860_REG_NOISE_GATE   0x0F
 
#define LTECAT12_MAX9860_REG_SYS_SHUTDOWN   0x10
 
#define LTECAT12_CMD_AT   "AT"
 LTE Cat.1 2 control commands.
 
#define LTECAT12_CMD_ATI   "ATI"
 
#define LTECAT12_CMD_CFUN   "AT+CFUN"
 
#define LTECAT12_CMD_CREG   "AT+CREG"
 
#define LTECAT12_CMD_CGDCONT   "AT+CGDCONT"
 
#define LTECAT12_CMD_CESQ   "AT+CESQ"
 
#define LTECAT12_CMD_COPS   "AT+COPS"
 
#define LTECAT12_CMD_CMGS   "AT+CMGS"
 
#define LTECAT12_CMD_CMGF   "AT+CMGF"
 
#define LTECAT12_CMD_CGPADDR   "AT+CGPADDR"
 
#define LTECAT12_CMD_SICA   "AT^SICA"
 
#define LTECAT12_CMD_SISS   "AT^SISS"
 
#define LTECAT12_CMD_SISO   "AT^SISO"
 
#define LTECAT12_CMD_SISW   "AT^SISW"
 
#define LTECAT12_CMD_SISR   "AT^SISR"
 
#define LTECAT12_CMD_SISC   "AT^SISC"
 
#define LTECAT12_CMD_SGPSC   "AT^SGPSC"
 
#define LTECAT12_CMD_CHUP   "AT+CHUP"
 
#define LTECAT12_CMD_SCFG   "AT^SCFG"
 
#define LTECAT12_CMD_SAIC   "AT^SAIC"
 
#define LTECAT12_CMD_SNFS   "AT^SNFS"
 
#define LTECAT12_CMD_ATD   "ATD"
 
#define LTECAT12_PSCLK_12MHZ   0x10
 LTE Cat.1 2 MAX9860 commands.
 
#define LTECAT12_LRCLK_8MHZ_MSB   0x10
 
#define LTECAT12_LRCLK_8MHZ_LSB   0x00
 
#define LTECAT12_DBCI_FALLING_EDGE   0x20
 
#define LTECAT12_HIZ_ENABLE   0x08
 
#define LTECAT12_TDM_ENABLE   0x04
 
#define LTECAT12_ABCI_FALLING_EDGE   0x20
 
#define LTECAT12_ADLY_ENABLE   0x10
 
#define LTECAT12_STEREO_ENABLE   0x08
 
#define LTECAT12_AVFLT_DISABLE   0x00
 
#define LTECAT12_DVFLT_DISABLE   0x00
 
#define LTECAT12_DVA_GAIN_0   0x06
 
#define LTECAT12_ADC_GAIN_3   0x00
 
#define LTECAT12_DAC_GAIN_0   0x00
 
#define LTECAT12_DVST_GAIN_0   0x01
 
#define LTECAT12_MIC_GAIN_0   0x20
 
#define LTECAT12_PGAM_GAIN_0   0x14
 
#define LTECAT12_AGCSRC_ENABLE   0x80
 
#define LTECAT12_ANTH_DISABLE   0x00
 
#define LTECAT12_AGCTH_MINUS_3   0x00
 
#define LTECAT12_POWER_ON   0x80
 
#define LTECAT12_DAC_ENABLE   0x08
 
#define LTECAT12_ADCL_ADCR_ENABLE   0x03
 
#define LTECAT12_PIN_STATE_HIGH   0x01
 LTE Cat.1 2 pin state.
 
#define LTECAT12_PIN_STATE_LOW   0x00
 
#define LTECAT12_RSP_OK   "OK"
 LTE Cat.1 2 device response for AT commands.
 
#define LTECAT12_RSP_ERROR   "ERROR"
 
#define LTECAT12_RSP_SYSSTART   "^SYSSTART"
 
#define LTECAT12_POWER_STATE_SWITCH   0
 LTE Cat.1 2 power state settings.
 
#define LTECAT12_POWER_STATE_ON   1
 
#define LTECAT12_POWER_STATE_REBOOT   2
 
#define LTECAT12_TX_DRV_BUFFER_SIZE   300
 LTE Cat.1 2 driver buffer size.
 
#define LTECAT12_RX_DRV_BUFFER_SIZE   300
 
#define LTECAT12_ADDRESS   0x10
 LTE Cat.1 2 device address setting.
 

Detailed Description

Settings for registers of LTE Cat.1 2 Click driver.

Macro Definition Documentation

◆ LTECAT12_ABCI_FALLING_EDGE

#define LTECAT12_ABCI_FALLING_EDGE   0x20

◆ LTECAT12_ADC_GAIN_3

#define LTECAT12_ADC_GAIN_3   0x00

◆ LTECAT12_ADCL_ADCR_ENABLE

#define LTECAT12_ADCL_ADCR_ENABLE   0x03

◆ LTECAT12_ADDRESS

#define LTECAT12_ADDRESS   0x10

LTE Cat.1 2 device address setting.

Specified setting for device slave address selection of LTE Cat.1 2 Click driver.

◆ LTECAT12_ADLY_ENABLE

#define LTECAT12_ADLY_ENABLE   0x10

◆ LTECAT12_AGCSRC_ENABLE

#define LTECAT12_AGCSRC_ENABLE   0x80

◆ LTECAT12_AGCTH_MINUS_3

#define LTECAT12_AGCTH_MINUS_3   0x00

◆ LTECAT12_ANTH_DISABLE

#define LTECAT12_ANTH_DISABLE   0x00

◆ LTECAT12_AVFLT_DISABLE

#define LTECAT12_AVFLT_DISABLE   0x00

◆ LTECAT12_CMD_AT

#define LTECAT12_CMD_AT   "AT"

LTE Cat.1 2 control commands.

Specified setting for control commands of LTE Cat.1 2 Click driver.

◆ LTECAT12_CMD_ATD

#define LTECAT12_CMD_ATD   "ATD"

◆ LTECAT12_CMD_ATI

#define LTECAT12_CMD_ATI   "ATI"

◆ LTECAT12_CMD_CESQ

#define LTECAT12_CMD_CESQ   "AT+CESQ"

◆ LTECAT12_CMD_CFUN

#define LTECAT12_CMD_CFUN   "AT+CFUN"

◆ LTECAT12_CMD_CGDCONT

#define LTECAT12_CMD_CGDCONT   "AT+CGDCONT"

◆ LTECAT12_CMD_CGPADDR

#define LTECAT12_CMD_CGPADDR   "AT+CGPADDR"

◆ LTECAT12_CMD_CHUP

#define LTECAT12_CMD_CHUP   "AT+CHUP"

◆ LTECAT12_CMD_CMGF

#define LTECAT12_CMD_CMGF   "AT+CMGF"

◆ LTECAT12_CMD_CMGS

#define LTECAT12_CMD_CMGS   "AT+CMGS"

◆ LTECAT12_CMD_COPS

#define LTECAT12_CMD_COPS   "AT+COPS"

◆ LTECAT12_CMD_CREG

#define LTECAT12_CMD_CREG   "AT+CREG"

◆ LTECAT12_CMD_SAIC

#define LTECAT12_CMD_SAIC   "AT^SAIC"

◆ LTECAT12_CMD_SCFG

#define LTECAT12_CMD_SCFG   "AT^SCFG"

◆ LTECAT12_CMD_SGPSC

#define LTECAT12_CMD_SGPSC   "AT^SGPSC"

◆ LTECAT12_CMD_SICA

#define LTECAT12_CMD_SICA   "AT^SICA"

◆ LTECAT12_CMD_SISC

#define LTECAT12_CMD_SISC   "AT^SISC"

◆ LTECAT12_CMD_SISO

#define LTECAT12_CMD_SISO   "AT^SISO"

◆ LTECAT12_CMD_SISR

#define LTECAT12_CMD_SISR   "AT^SISR"

◆ LTECAT12_CMD_SISS

#define LTECAT12_CMD_SISS   "AT^SISS"

◆ LTECAT12_CMD_SISW

#define LTECAT12_CMD_SISW   "AT^SISW"

◆ LTECAT12_CMD_SNFS

#define LTECAT12_CMD_SNFS   "AT^SNFS"

◆ LTECAT12_DAC_ENABLE

#define LTECAT12_DAC_ENABLE   0x08

◆ LTECAT12_DAC_GAIN_0

#define LTECAT12_DAC_GAIN_0   0x00

◆ LTECAT12_DBCI_FALLING_EDGE

#define LTECAT12_DBCI_FALLING_EDGE   0x20

◆ LTECAT12_DVA_GAIN_0

#define LTECAT12_DVA_GAIN_0   0x06

◆ LTECAT12_DVFLT_DISABLE

#define LTECAT12_DVFLT_DISABLE   0x00

◆ LTECAT12_DVST_GAIN_0

#define LTECAT12_DVST_GAIN_0   0x01

◆ LTECAT12_HIZ_ENABLE

#define LTECAT12_HIZ_ENABLE   0x08

◆ LTECAT12_LRCLK_8MHZ_LSB

#define LTECAT12_LRCLK_8MHZ_LSB   0x00

◆ LTECAT12_LRCLK_8MHZ_MSB

#define LTECAT12_LRCLK_8MHZ_MSB   0x10

◆ LTECAT12_MAX9860_REG_ADC_OUTPUT_LEVELS

#define LTECAT12_MAX9860_REG_ADC_OUTPUT_LEVELS   0x0A

◆ LTECAT12_MAX9860_REG_AUDIO_INTERFACE_1

#define LTECAT12_MAX9860_REG_AUDIO_INTERFACE_1   0x06

◆ LTECAT12_MAX9860_REG_AUDIO_INTERFACE_2

#define LTECAT12_MAX9860_REG_AUDIO_INTERFACE_2   0x07

◆ LTECAT12_MAX9860_REG_DAC_ATTENUATION

#define LTECAT12_MAX9860_REG_DAC_ATTENUATION   0x09

◆ LTECAT12_MAX9860_REG_DAC_GAIN

#define LTECAT12_MAX9860_REG_DAC_GAIN   0x0B

◆ LTECAT12_MAX9860_REG_INTR_EN

#define LTECAT12_MAX9860_REG_INTR_EN   0x02

◆ LTECAT12_MAX9860_REG_INTR_STATS

#define LTECAT12_MAX9860_REG_INTR_STATS   0x00

LTE Cat.1 2 MAX9860 registers.

Specified MAX9860 registers for control commands of LTE Cat.1 2 Click driver.

◆ LTECAT12_MAX9860_REG_MIC_AGC

#define LTECAT12_MAX9860_REG_MIC_AGC   0x0E

◆ LTECAT12_MAX9860_REG_MIC_GAIN

#define LTECAT12_MAX9860_REG_MIC_GAIN   0x0C

◆ LTECAT12_MAX9860_REG_MIC_NG_AGC

#define LTECAT12_MAX9860_REG_MIC_NG_AGC   0x01

◆ LTECAT12_MAX9860_REG_NOISE_GATE

#define LTECAT12_MAX9860_REG_NOISE_GATE   0x0F

◆ LTECAT12_MAX9860_REG_STEREO_CLK_LSB

#define LTECAT12_MAX9860_REG_STEREO_CLK_LSB   0x05

◆ LTECAT12_MAX9860_REG_STEREO_CLK_MSB

#define LTECAT12_MAX9860_REG_STEREO_CLK_MSB   0x04

◆ LTECAT12_MAX9860_REG_SYS_CLK

#define LTECAT12_MAX9860_REG_SYS_CLK   0x03

◆ LTECAT12_MAX9860_REG_SYS_SHUTDOWN

#define LTECAT12_MAX9860_REG_SYS_SHUTDOWN   0x10

◆ LTECAT12_MAX9860_REG_VOICE_FILTER

#define LTECAT12_MAX9860_REG_VOICE_FILTER   0x08

◆ LTECAT12_MIC_GAIN_0

#define LTECAT12_MIC_GAIN_0   0x20

◆ LTECAT12_PGAM_GAIN_0

#define LTECAT12_PGAM_GAIN_0   0x14

◆ LTECAT12_PIN_STATE_HIGH

#define LTECAT12_PIN_STATE_HIGH   0x01

LTE Cat.1 2 pin state.

Specified setting for pin state of LTE Cat.1 2 Click driver.

◆ LTECAT12_PIN_STATE_LOW

#define LTECAT12_PIN_STATE_LOW   0x00

◆ LTECAT12_POWER_ON

#define LTECAT12_POWER_ON   0x80

◆ LTECAT12_POWER_STATE_ON

#define LTECAT12_POWER_STATE_ON   1

◆ LTECAT12_POWER_STATE_REBOOT

#define LTECAT12_POWER_STATE_REBOOT   2

◆ LTECAT12_POWER_STATE_SWITCH

#define LTECAT12_POWER_STATE_SWITCH   0

LTE Cat.1 2 power state settings.

Specified power state settings of LTE Cat.1 2 Click driver.

◆ LTECAT12_PSCLK_12MHZ

#define LTECAT12_PSCLK_12MHZ   0x10

LTE Cat.1 2 MAX9860 commands.

Specified setting for MAX9860 configuration of LTE Cat.1 2 Click driver.

◆ LTECAT12_RSP_ERROR

#define LTECAT12_RSP_ERROR   "ERROR"

◆ LTECAT12_RSP_OK

#define LTECAT12_RSP_OK   "OK"

LTE Cat.1 2 device response for AT commands.

Device response after commands.

◆ LTECAT12_RSP_SYSSTART

#define LTECAT12_RSP_SYSSTART   "^SYSSTART"

◆ LTECAT12_RX_DRV_BUFFER_SIZE

#define LTECAT12_RX_DRV_BUFFER_SIZE   300

◆ LTECAT12_STEREO_ENABLE

#define LTECAT12_STEREO_ENABLE   0x08

◆ LTECAT12_TDM_ENABLE

#define LTECAT12_TDM_ENABLE   0x04

◆ LTECAT12_TX_DRV_BUFFER_SIZE

#define LTECAT12_TX_DRV_BUFFER_SIZE   300

LTE Cat.1 2 driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.