![]() |
BLE5.2 1.0
开发文档说明
|
类 | |
| struct | PGA_InitCfg_t |
| CPR_OPA_CTRL_REG register definition 更多... | |
枚举 | |
| enum | PGA_MIC_GAIN2TypeDef_t { PGA_MIC_GAIN2_DISABLE = 0 , PGA_MIC_GAIN2_ENABLE = 1 } |
| enum | PGA_VOLR2TypeDef_t { PGA_VOLR2_GAIN_0_0DB = 0 , PGA_VOLR2_GAIN_1_6DB = 1 , PGA_VOLR2_GAIN_3_2DB = 2 , PGA_VOLR2_GAIN_4_8DB = 3 , PGA_VOLR2_GAIN_6_4DB = 4 , PGA_VOLR2_GAIN_8_0DB = 5 , PGA_VOLR2_GAIN_9_6DB = 6 , PGA_VOLR2_GAIN_11_2DB = 7 , PGA_VOLR2_GAIN_12_8DB = 8 , PGA_VOLR2_GAIN_14_4DB = 9 , PGA_VOLR2_GAIN_16_0DB = 10 , PGA_VOLR2_GAIN_17_6DB = 11 , PGA_VOLR2_GAIN_19_2DB = 12 , PGA_VOLR2_GAIN_20_8DB = 13 , PGA_VOLR2_GAIN_22_3DB = 14 } |
函数 | |
| void | xc_pga_init (PGA_InitCfg_t *pga_cfg) |
| xc_pga_init | |
| void | xc_pga_micgain_2_set (uint8_t micgain2) |
| xc_pga_micgain_2_set | |
| void | xc_pga_volr2_set (uint8_t volr2) |
| xc_pga_volr2_set | |
| void | xc_pga_resadj_set (uint8_t resadj) |
| xc_pga_resadj_set | |
| void | xc_pga_cmp_ctrl_set (uint8_t cmp_ctrl) |
| xc_pga_cmp_ctrl_set | |
| void | xc_pga_cmp_ibc_set (uint8_t cmp_ibc) |
| xc_pga_cmp_ibc_set | |
| void | xc_pga_temp_sensor_enable (uint8_t en_temp_sensor) |
| xc_pga_temp_sensor_enable | |
| void | xc_pga_volr_set (uint8_t volr) |
| xc_pga_volr_set | |
| void | xc_pga_pdbias_set (uint8_t pdbias) |
| xc_pga_pdbias_set | |
| void | xc_pga_opa_ctrl_set (uint8_t opa_ctrl) |
| xc_pga_opa_ctrl_set | |
| void | xc_pga_pdopa_set (uint8_t pdopa) |
| xc_pga_pdopa_set | |
| void | xc_pga_micgain_set (uint8_t micgain) |
| xc_pga_micgain_set | |
| 枚举值 | |
|---|---|
| PGA_MIC_GAIN2_DISABLE | |
| PGA_MIC_GAIN2_ENABLE | |
在文件 xc_drv_pga.h 第 88 行定义.
| enum PGA_VOLR2TypeDef_t |
在文件 xc_drv_pga.h 第 96 行定义.
| void xc_pga_cmp_ctrl_set | ( | uint8_t | cmp_ctrl | ) |
xc_pga_cmp_ctrl_set
| cmp_ctrl | : CMP_CTRL_VOLTAGE_LEVEL0 - CMP_CTRL_VOLTAGE_LEVEL3 |
| void |
在文件 xc_drv_pga.c 第 127 行定义.
| void xc_pga_cmp_ibc_set | ( | uint8_t | cmp_ibc | ) |
xc_pga_cmp_ibc_set
| cmp_ibc | : CMP_IBC_ELECTRICITY_LEVEL0 - CMP_IBC_ELECTRICITY_LEVEL3 |
| void |
在文件 xc_drv_pga.c 第 143 行定义.
| void xc_pga_init | ( | PGA_InitCfg_t * | pga_cfg | ) |
| void xc_pga_micgain_2_set | ( | uint8_t | micgain2 | ) |
xc_pga_micgain_2_set
| micgain2 | (BIT0) input First-order gain ( PGA_MIC_GAIN2_ENABLE - PGA_MIC_GAIN2_DISABLE) |
| void |
在文件 xc_drv_pga.c 第 81 行定义.
| void xc_pga_micgain_set | ( | uint8_t | micgain | ) |
| void xc_pga_opa_ctrl_set | ( | uint8_t | opa_ctrl | ) |
xc_pga_opa_ctrl_set
| opa_ctrl | (BIT0 - BIT2) BIT2:(pdopa signal : 1:pd 0:en) BIT1:(pdopa signal input swap: 1:enable 0:disable) BIT0:(pdopa CTRL ELECTRICITY: 1:min 0:max) |
| void |
在文件 xc_drv_pga.c 第 206 行定义.
| void xc_pga_pdbias_set | ( | uint8_t | pdbias | ) |
| void xc_pga_pdopa_set | ( | uint8_t | pdopa | ) |
| void xc_pga_resadj_set | ( | uint8_t | resadj | ) |
xc_pga_resadj_set
| resadj | (BIT0 - BIT4) BIT2 -BIT4 :ELECTRICITY (PGA_ELECTRICITY_LEVEL0 - PGA_ELECTRICITY_LEVEL7) BIT1:pga input (SINGLE or PGA_DIFFERENCE) BIT0:unused |
| void |
在文件 xc_drv_pga.c 第 112 行定义.
| void xc_pga_temp_sensor_enable | ( | uint8_t | en_temp_sensor | ) |
xc_pga_temp_sensor_enable
| en_temp_sensor | : TEMP_SENSOR_ENABLE / TEMP_SENSOR_DISABLE |
| void |
在文件 xc_drv_pga.c 第 158 行定义.
| void xc_pga_volr2_set | ( | uint8_t | volr2 | ) |
xc_pga_volr2_set
| volr2 | (BIT0 - BIT3) input Two-stage gain ( PGA_VOLR2_GAIN_0_0DB - PGA_VOLR2_GAIN_0_0DB) |
| void |
在文件 xc_drv_pga.c 第 95 行定义.
| void xc_pga_volr_set | ( | uint8_t | volr | ) |