Home
last modified time | relevance | path

Searched refs:REFER_VOLTAGE (Results 1 – 7 of 7) sorted by relevance

/bsp/hc32/tests/
A Dtest_dac.c24 #define REFER_VOLTAGE 330 /* 参考电压 3.3V,数据精度乘以100保留2位小数*/ macro
104 vol = value * REFER_VOLTAGE / convertBits; in dac_vol_sample()
A Dtest_adc.c25 #define REFER_VOLTAGE 3300 /* 参考电压 3.3V,单位mv */ macro
145 vol = value * REFER_VOLTAGE / CONVERT_BITS; in adc_vol_sample()
/bsp/stm32/stm32mp157a-st-ev1/board/ports/
A Dtimer_sample.c20 #define REFER_VOLTAGE 330 /* voltage reference */ macro
34 vol = value * REFER_VOLTAGE / CONVERT_BITS; in timeout_cb()
/bsp/stm32/stm32mp157a-st-discovery/board/ports/
A Dtimer_sample.c20 #define REFER_VOLTAGE 330 /* voltage reference */ macro
34 vol = value * REFER_VOLTAGE / CONVERT_BITS; in timeout_cb()
/bsp/synwit/swm341-mini/applications/
A Dmain.c53 #define REFER_VOLTAGE 330 macro
72 vol = value * REFER_VOLTAGE / CONVERT_BITS; in adc_vol_sample()
87 #define REFER_VOLTAGE 330 /* 参考电压 3.3V,数据精度乘以100保留2位小数*/ macro
113 vol = value * REFER_VOLTAGE / CONVERT_BITS; in dac_vol_sample()
/bsp/synwit/swm320-mini/applications/
A Dmain.c52 #define REFER_VOLTAGE 330 macro
73 vol = value * REFER_VOLTAGE / CONVERT_BITS; in adc_vol_sample()
/bsp/n32g452xx/n32g452xx-mini-system/board/msp/
A Dn32_msp.c855 #define REFER_VOLTAGE 3300 in MSH_CMD_EXPORT() macro
875 vol = value * REFER_VOLTAGE / CONVERT_BITS; in MSH_CMD_EXPORT()

Completed in 18 milliseconds