• slider image 71
  • slider image 72
  • slider image 73
:::


Browsing this Thread:   1 Anonymous Users






PIC32MX795F512L #pragma config FNOSC = PRIPLL 說明
#1
高級會員
高級會員


查看用戶資訊
寫了一段時間的程式了, 突然發現以下這些設定都是抄來的, 找了好久都找不到詳細的說明, 請問哪邊有正確詳細的說明?

#pragma config FNOSC = PRIPLL // Oscillator Selection Bits: Primary Osc w/PLL (XT+,HS+,EC+PLL)
#pragma config POSCMOD = HS // Primary Oscillator Configuration: HS osc mode
#pragma config FWDTEN = OFF // Watchdog Timer Enable: WDT Disabled (SWDTEN Bit Controls)
#pragma config ICESEL = ICS_PGx2 // ICE/ICD Comm Channel Select: ICE EMUC2/EMUD2 pins shared with PGC2/PGD2
#pragma config FPLLIDIV = DIV_2 , FPLLMUL = MUL_16 , FPLLODIV = DIV_1 // System Clock = 8MHz / 2 * 16 / 1 = 64 MHz
#pragma config FPBDIV = DIV_2 // Peripheral Clock Divisor: Pb_Clk is Sys_Clk/2 // 64M / 2 = 32M
#pragma config UPLLEN = ON // USB PLL Enabled
#pragma config UPLLIDIV = DIV_2 // USB PLL Input Divider

發表於: 2014/7/18 17:22
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC32MX795F512L #pragma config FNOSC = PRIPLL 說明
#2
高級會員
高級會員


查看用戶資訊
怎麼大家都在睡了.... 只好再努力的找一找!

在這個檔案裡有, 但未詳加說明!
C:/ProgramFiles(x86)/Microchip/xc32/v1.32/docs/config_docs/32mx795f512l.html
再配合這個檔案說明, 雖然還不盡詳細, 但總比沒有好多了!
61156H PIC32MX_5XX_6XX_7XX.pdf

MicroChip 啊! 你的說明文件實在是.......!!!

發表於: 2014/7/18 18:07
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]