摘要://****读取中间值****// short GetMedianNum(short * bArray, short iFilterLen) { short i,j,bTemp;// 排序循环 for (j = 0; j < iFilterLen - 1; j ++) { for (i = 0; i
阅读全文
05 2020 档案
摘要:uint16_t uGetPCB_Temperature(void) { uint16_t x; float Adcn; float k; Adcn = userADC_var.ADCMeasureVals[num_PCB_ADC]; for(x=0;x<sizeof(NTC_PCB_D);x++)
阅读全文
摘要:#define FU_SAADC_RESOLUTION 1024 // 10bit#define FU_SAADC_REFERENCE 3600 // (in the unit of mV) uint16_t service_bas_voltage_get(void){ ret_code_t err
阅读全文
摘要:if(nrf_power_resetreas_get() & NRF_POWER_RESETREAS_OFF_MASK)//读取是掉电重启还是按键唤醒 {//按键唤醒 if(KEY_POWER_PRESSED) { key_smokekey_enable(); } eStateMachine = E
阅读全文
摘要:nrf52832(nrf52810)
阅读全文
浙公网安备 33010602011771号