Searching \ for '[PIC]: MCLR vs GP3, how to configure' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'MCLR vs GP3, how to configure'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: MCLR vs GP3, how to configure'
2001\02\13@170823 by Barry Gershenfeld

picon face
The smaller PICs (12c508, 12c671) have a pin that can be
set up as MCLR or an input.  What I'm looking for is
a directive to CCS C to tell the compiler I want to
use it as MCLR.

The datasheet tells which bit in which register to use
but I'm looking for the high-level language equivalent
of the same thing.   I'm not even sure how I'd specify
this if I were assembling from MPASM.

The broader question of course is where I would look
this up -- I have lots of books and I can search for
"configure" "MCLR" "GP3" and "PIN_A3" but every hit
I get is talking about something else.

(And Deja News is down because they were assimilated
by Google and they're "Improving" the interface(!)

(And the piclist archive search and I still haven't
formed a meaningful relationship)

Barry

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\02\13@175223 by imenez Yamasaki

flavicon
face
   Hi Barry:

   Well, I use it in MPLAB, like this:

__CONFIG B'11111101100100'

   I4m not sure but I guess in C you can use a ASM directive to tell
compiler you are writing an asm code...

   I hope this helps

   Gonzalo

----- Mensaje original -----
De: "Barry Gershenfeld" <spam_OUTbarryTakeThisOuTspamZMICRO.COM>
Para: <.....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU>
Enviado: Martes 13 de Febrero de 2001 5:04 PM
Asunto: [PIC]: MCLR vs GP3, how to configure


| The smaller PICs (12c508, 12c671) have a pin that can be
| set up as MCLR or an input.  What I'm looking for is
| a directive to CCS C to tell the compiler I want to
| use it as MCLR.
|
| The datasheet tells which bit in which register to use
| but I'm looking for the high-level language equivalent
| of the same thing.   I'm not even sure how I'd specify
| this if I were assembling from MPASM.
|
| The broader question of course is where I would look
| this up -- I have lots of books and I can search for
| "configure" "MCLR" "GP3" and "PIN_A3" but every hit
| I get is talking about something else.
|
| (And Deja News is down because they were assimilated
| by Google and they're "Improving" the interface(!)
|
| (And the piclist archive search and I still haven't
| formed a meaningful relationship)
|
| Barry
|
| --
| http://www.piclist.com hint: The PICList is archived three different
| ways.  See http://www.piclist.com/#archives for details.
|
|
|

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\02\14@172415 by Peter L. Peres

picon face
The information you seek appears in the 12Cxx programming manual (data
sheet ?). It is and opion selected in the fuses so it must be specified as
a parameter to the fuses setting word. In MPASM you can DW the fuses at
the specified address for the fuses for your device. This will earn you a
warning about the address range of the device being exceeded. Ignore the
warning. The fuses address location is also best taken from the
programming manual for your device (Microchip .pdf document).

hope this helps,

Peter

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservspamKILLspammitvma.mit.edu with SET PICList DIGEST in the body


More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...