freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于arm的電阻電容電感測試儀論文(文件)

2024-12-01 03:21 上一頁面

下一頁面
 

【正文】 原理圖 圖 06 電感測試電路的 PCB 圖 26 附錄二 源程序如下: /****************************************Copyright (c)************************************************** ** jiangxiligongdaxue Development Co.,LTD. ** graduate school ** ** **File Info ** File name: ** Last modified Date: 20200115 ** Last Version: ** Descriptions: The main() function example template ** ** ** Created by: gongmingming ** Created date: 20200115 27 ** Version: ** Descriptions: The original version ** ** ** Modified by: ** Modified date: ** Version: ** Descriptions: ** ********************************************************************************************************/ include define LED1 117 define LED2 118 define LED3 119 define KEY1 116 define KEY2 114 define KEY3 115 define PIN_STR 18 28 uint8 const digitable[11]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x00}。 uint8 L = 0。 double C1 = 104。 uint32 HZ=100。 29 uint32 N = 0。 /********************************************************************************************************* ** Function name: Timer0_Init ** Descriptions: Timer0 的初始化 ** input parameters: 無 ** output parameters: 無 ** Returned value: 無 *********************************************************************************************************/ void Timer0_Init(void) //定時(shí)器 0用作捕獲加數(shù)碼管掃描頻率發(fā)出 { T0TC = 0。 //匹配寄存器設(shè)置 T0CCR = 0x05。 T1PR = 0X00。 //匹配值 T1MR1 = T1MR0/2。0X0FFFFFFF)|(0x0528)。 EXTINT = 0x07。 N++。 T1Flag++。 L = 0。 KEY1)==0)。 C = 0。 while((IO0PIN amp。 } /********************************************************************************************************* ** Function name: IRQ_EXIT2 ** Descriptions: EXIT2 中斷服務(wù)程序 ** input parameters: 無 ** output parameters: 無 ** Returned value: 無 *********************************************************************************************************/ void __irq IRQ_EXIT2(void) { L = 1。 IO0SET = LED1|LED2。 VICVectAddr = 0x00。 VICVectCntl2 = 0x20 | 14。 VICVectAddr1 = (uint32)IRQ_Timer1。 40 VICIntEnable = (14) | (15) | (114) | (115) | (116)。 // 8 分頻 41 SPI_SPCR = (0 3) | //因?yàn)槭前存I 所以數(shù)據(jù)輸入要在 SSEL 無效時(shí)結(jié)束 (1 4) | (1 5) | (0 6) | (1 7)。 0x80))。 for(n=0。 } } /********************************************************************************************************* ** Function name: main ** Descriptions: 主函數(shù) ** input parameters: 無 ** output parameters: 無 ** Returned value: 無 *********************************************************************************************************/ int main (void) { PINSEL1 amp。 // //PINSEL0 |= (0x0226)。 EXIT_Init()。 MSPI_Init()。 MSPI_SendData(digitable [x])。 CF = (int)Cx。 CF = (int)Rx。 Lx = 1/((1/C1)+(1/C2)+(1/C3))。 } NumAscii(CF)。 } } return 0。 N=0。 Lx = Lx*。 C2 = 。 Rx = Rx5040。 // 發(fā)送顯示位碼 if(N==400) { if(C==1) { Cx = 1/(T1Flag*(508+62)*)。 while(1) { if(T0Flag) { T0Flag=0。 Timer1_Init()。 IO0DIR |= LED1|LED2|LED3。 //LED1, LED2, LED3,LED4 GPIO 44 PINSEL0 = (PINSEL0 amp。 n++) { 43 DATA[n] = data%10。 return(SPI_SPDR)。 42 SPI_SPDR = data。 0XFFFF00FF)|0X00001500。 VICVectAddr3 = (uint32)IRQ_EXIT1。 VICVectCntl4 = 0x20 | 16。 39 VICVectCntl0 = 0x20 | 4 。 KEY3)==0)。 R = 0。 EXTINT = 0x07。 IO0CLR = LED2。 VICVectAddr = 0x00。 IO0SET = LED2|LED3。 } /********************************************************************************************************* ** Function name: IRQ_EXIT0 ** Descriptions: EXIT0 中斷服務(wù)程序 ** input parameters: 無 ** output parameters: 無 35 ** Returned value: 無 ************************************************************************************************
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1