PDA

View Full Version : @ Device Parameters



Randy_Suwanee
- 10th August 2004, 22:30
Hello all-

This is my first time on the board, and I have gleaned quite a bit of information concerning the "@ DEVICE" commands, but cannot seem to find a list of what can be set, and to what they can be set. Some of the ones I found here are:

@ DEVICE PIC16F72
' PIC Selection (PIC Name)
@ DEVICE EC_OSC
' System Clock Options (External)
@ DEVICE INTRC_OSC_NOCLKOUT
' System Clock Options (Internal)
@ DEVICE XT_OSC
' System Clock Options (XT)
@ DEVICE HS_OSC
' System Clock Options (HS)
@ DEVICE WDT_OFF
' Watchdog Timer (_ON, _OFF)
@ DEVICE PWRT_OFF
' Power-On Timer (_ON, _OFF)
@ DEVICE MCLR_ON
' Master Clear Options (_ON - External, _OFF - Internal)
@ DEVICE BOD_OFF
' Brown-Out Detect (_ON, _OFF)
@ DEVICE CPD_OFF
' Data Memory Code Protect (_ON, _OFF)
@ DEVICE PROTECT_OFF
' Program Code Protection (_ON, _OFF)

If there are any more (and I'm sure there are), or if there are errors in the above, please let me know.

Thanks-

-Randy

Darrel Taylor
- 10th August 2004, 23:46
Hi Randy,

Check out Melanie's FAQ on this subject at

http://www.picbasic.co.uk/forum/showthread.php?s=&threadid=543

Randy_Suwanee
- 11th August 2004, 15:40
I could have sworn I had read through all of those! Just chalk it up to old age and sanility!!

Thanks for pointing me in the right direction...

-Randy