STCubeMX翻譯.docx_第1頁
STCubeMX翻譯.docx_第2頁
STCubeMX翻譯.docx_第3頁
STCubeMX翻譯.docx_第4頁
STCubeMX翻譯.docx_第5頁
全文預(yù)覽已結(jié)束

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

ADC Configuration ADC配置Parameter Settings 參數(shù)設(shè)置NVIC Settings 中斷優(yōu)先級設(shè)置DMA Settings DMA模式設(shè)置GPIO Settings GPIO設(shè)置Configure the below parameters: 配置以下參數(shù)ADC Settings ADC設(shè)置Clock Prescaler 時鐘分頻 Asynchronous clock mode 不同步時鐘模式 Synchronous clock mode divided by 2 同步時鐘模式除以2Synchronous clock mode divided by 4 同步時鐘模式除以4Resolution ADC采樣分辨率 ADC 12-bit resolution ADC 12位采樣分辨率ADC 10-bit resolution ADC 10位采樣分辨率ADC 8-bit resolution ADC 8位采樣分辨率ADC 6-bit resolution ADC 6位采樣分辨率Data Alignment 數(shù)據(jù)對齊Right alignment 數(shù)據(jù)右對齊模式Left alignment 數(shù)據(jù)左對齊模式Scan Conversion Mode掃描轉(zhuǎn)換模式 Forward 掃描通道從第一個通道到最后一個通道Backward 掃描通道從最后一個通道到第一個通道Continuous Conversion Mode連續(xù)轉(zhuǎn)換模式Disabled 關(guān)閉Enabled 打開Discontinuous Conversion Mode間斷轉(zhuǎn)換模式Disabled 關(guān)閉Enabled 打開DMA Continuous RequestsDMA連續(xù)請求Disabled 關(guān)閉Enabled 打開End of Conversion Selection轉(zhuǎn)換結(jié)束選擇End of single conversion 單通道轉(zhuǎn)換結(jié)束End of sequence of conversion 序列轉(zhuǎn)換結(jié)束End of single or sequence of conversion單通道或序列結(jié)束Overrun behaviourOverrun data preservedOverrun data overwrittenLow Power Auto Wait低電壓自動等待Disabled 關(guān)閉Enabled 打開Low Power Auto Power Off低電壓ADC自動關(guān)閉Disabled 關(guān)閉Enabled 打開ADC_Regular_ConversionMode ADC規(guī)則通道轉(zhuǎn)換模式Number Of Conversion 轉(zhuǎn)換的通道個數(shù)External Trigger Conversion Edge外部觸發(fā)轉(zhuǎn)換邊沿None 沒有外部觸發(fā)Trigger detection on the rising edge 上升沿觸發(fā)檢測Trigger detection on the rising edge 下降沿觸發(fā)檢測Trigger detection on the rising or fallings 上升沿和下降沿觸發(fā)External Trigger Conversion Source 外部觸發(fā)轉(zhuǎn)換源Timer1 Trigger Out event 定時器1觸發(fā)Timer1 Capture Compare4 event 定時器1輸出比較4事件Timer3 Trigger Out event 定時器3觸發(fā)輸出事件Timer15 Trigger Out event 定時器15觸發(fā)輸出事件Software Trigger 軟件觸發(fā)轉(zhuǎn)換Rank 轉(zhuǎn)換序列號Watchdog 看門狗Enable Analog WatchDog Mode 打開模擬看門狗Watchdog Mode Single regular channel 單一規(guī)則通道上打開看門狗All regular channel 所有規(guī)則通道上打開看門狗None 關(guān)閉看門狗High Threshold 看門狗高臨界值Low Threshold 看門狗低臨界值Interrupt Mode 中斷模式Disabled 關(guān)閉Enabled 打開ADC global interrupt ADC 全局中斷TIM1 Configuration TIM1 配置Prescaler 時鐘分頻數(shù)Counter Mode計數(shù)模式 UP 向上計數(shù)Down 向下計數(shù)Center Aligned mode1 中間對齊模式1Center Aligned mode2 中間對齊模式2Center Aligned mode3 中間對齊模式3Counter Period 計數(shù)周期Internal Clock Division (CKD) 內(nèi)部時鐘分割No Division 內(nèi)部時鐘不分頻Division by 2 時鐘除以2Division by 4 時鐘除以4Repetition Counter 重復(fù)計數(shù)Slave Mode Controller 從模式控制器 Slave mode disable 關(guān)閉從模式Trigger Output(TRGO) Parameters 觸發(fā)輸出參數(shù)設(shè)置Master/Slave Mode 主從模式Disable(no sync between this TIM(Master)and its slaves)Enable(sync between this TIM(Master)and its slaves)Trigger Event Selection 觸發(fā)事件選擇Reset(UG bit from TIMx_EGR)復(fù)位Enable(CNT_EN) 使能從定時器Update Event 更新事件Compare Pulse(OC1) 比較脈沖Output Compare(OC1REF) 輸出比較1Output Compare (OC2REF) 輸出比較2Output Compare (OC3REF) 輸出比較3Output Compare (OC4REF) 輸出比較4Break and dead time management 剎車死區(qū)時間管理BRK State 剎車狀態(tài)Disable 關(guān)閉Enable 打開BRK Polarity 剎車極性High 高電平Low 低電平Automatic Output State 自動輸出狀態(tài)Disabled 關(guān)閉Enabled 打開Off State Selection for Run Mode (OSSR) Disabled 關(guān)閉Enabled 打開Off State Selection for Idle Mode (OSSI) Disabled 關(guān)閉Enabled 打開Lock Configuration 定時器鎖定配置Off 關(guān)閉Lock Level 1 鎖定1Lock Level 2 鎖定2Lock Level 3 鎖定3Output compare no output channel 2 輸出比較輸出通道2NMode 模式Frozen(used for Timing base) 凍結(jié)Active Level on match 匹配輸出高電平Inactive Level on match 匹配輸出低電平Toggle Level on match 匹配翻轉(zhuǎn)電平Forced Active 強制輸出高電平Forced Inactive 強制輸出低電平Pulse (16 bits value) 脈沖寬度(16位)CH Polarity 輸出通道極性High 高Low 低CH Idle State 輸出通道閑置狀態(tài)Set 置高Reset 復(fù)位低Output compare channel 3 輸出比較通道3Mode 模式Frozen(used for Timing base) 凍結(jié)Active Level on match 匹配輸出高電平 Inactive Level on match 匹配輸出低電平Toggle on match 匹配翻轉(zhuǎn)電平Forced Active 強制輸出高電平Forced Inactive 強制輸出低電平Pulse (16 bits value) 脈沖寬度(16位)CH Polarity輸出通道極性High 高Low 低CH Idle State輸出通道閑置狀態(tài)Set 置高Reset 復(fù)位低USART1 Configuration 串口1 配置Baud Rate 波特率Word Length 數(shù)據(jù)長度8bits(including parity) 8位(包含校驗位)9bits(including parity)9位(包含校驗位)Parity 檢驗位None 沒有校驗Even 偶校驗Odd 奇校驗Stop Bits 停止位1 1個停止位2 2個停止位Advanced Parameters 高級參數(shù)設(shè)置Data Direction 數(shù)據(jù)傳輸方向Receive and Transmit 接收和發(fā)送Receive Only 僅接收Transmit Only 僅發(fā)送Over Sampling 過采樣16 Samples 采樣16次8 Samples 采樣8次Single Sample Disable 關(guān)閉Enable 打開Advanced Features 高級特性Auto Baudrate 自動波特率Disabled 關(guān)閉Enabled 打開TX Pin Active Level Is Inverted Disabled 關(guān)閉Enabled 打開RX Pin Active Level Is Inverted Disabled 關(guān)閉Enabled 打開Data Are Inverted Disabled 關(guān)閉Enabled 打開TX and RX Pins Are Swapped 發(fā)送和接收引腳交換Disabled 關(guān)閉Enabled 打開Overrun Disable 關(guān)閉數(shù)據(jù)覆蓋Disabled 關(guān)閉Enabled 打開DMA Disable on RX Error RX腳錯誤關(guān)閉DMADisabled 關(guān)閉Enabled 打開MSB Is Sent First 最高位先發(fā)送Disabled 關(guān)閉Enabled 打開SPI1 Configuration SPI1 配置Frame Format 幀格式 MotorolaData Size 傳輸數(shù)據(jù)大小4 Bits 4位5 Bits 5位6 Bits 6位7 Bits 7位8 Bits 8位9 Bits 9位10 Bits 10位11 Bits 11位Clock Parameters(時鐘參數(shù) )Prescaler (for Baud Rate) 分頻(針對波特率)2 2分頻4 4分頻8 8分頻16 16分頻Baud Rate 波特率Clock Polarity (CPOL) 數(shù)據(jù)采樣時時鐘極性Low 低High 高Clock Phase (CPHA)數(shù)據(jù)采樣時時鐘相位1 Edge 第一個邊沿2 Edge 第二個邊沿Advanced Parameters 高級參數(shù)設(shè)置CRC Calculation CRC 計算Disabled 關(guān)閉Enabled 打開I2C1 Configuration I2C1 配置I2C Speed Mode Standard Mode 標準模式Fast Mode 快速模式Fast Mode Plus 快速模式+I2C Speed Frequency (KHz) I2C速度Rise Time (ns) 上升時間 Fall Time (ns) 下降時間Coefficient of Digital Filter Analog Filter 模擬濾波器Disabled 關(guān)閉Enabled 打開Slave features 從模式特性Clock No Stretch Mode時鐘沒有擴展模式 Clock Stretch Disabled 關(guān)閉時鐘擴展Clock Stretch Enabled 打開時鐘擴展General Call Address Detection通用呼叫檢測Disabled 關(guān)閉Enabled 打開Primary Address Length selection原始地址長度檢測7-bit 7位10-bit 10位Primary slave address 原始從地址Dual Address Acknowledged雙地址確認Disabled 關(guān)閉Enabled 打開IWDG Configuration 獨立看門狗設(shè)置IWDG counter clock prescaler獨立看門狗計數(shù)時鐘分頻器 48163264128256I

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論