gnupic: Thread: A few strange values in the help table for 18f2550


[<<] [<] Page 1 of 1 [>] [>>]
Subject: A few strange values in the help table for 18f2550
From: John Coppens ####@####.####
Date: 27 Jan 2014 05:58:14 -0000
Message-Id: <20140127025754.22a89029ff1533b2b2a8797e@jcoppens.com>

Hi all.

Not sure if I'm interpreting this correctly, but I suspect so.

In http://gputils.sourceforge.net/html-help/PIC18F2550-conf.html,

I'm deducing that the 'mask' value is marking the bits that can
possibly be set to 0 by setting the CONFIGxx values. Eg, CONFIG2L
mas a mask of 0x1f, which I suspect means that only bits 0-4 are
significant.

But this doesn't hold for some other values, like CONFIG1H, where
the mask is 0x05, but looks like it should be 0xCF... Or am I
mis-interpreting this?

John
Subject: Re: A few strange values in the help table for 18f2550
From: John Coppens ####@####.####
Date: 27 Jan 2014 17:46:11 -0000
Message-Id: <20140127144556.20e522d6d22401bff9635e39@jcoppens.com>

On Mon, 27 Jan 2014 10:31:32 -0700
Joe Pfeiffer ####@####.#### wrote:

> That doesn't appear to be the meaning of the mask bits -- look at
> CONFIG1L, for instance, where the mask is given as 0x00.
> 
> Comparing with the data sheet for the processor (p. 294), those
> "masks" (it isn't clear why the help page is even calling them that)
> appear to be the default/unset values in those configuration words.

Hello Joe,

That makes a lot of sense! The 'mask' had me completely confused (not
that that is difficult - just starting with the 18f2550, and there's
a lot to learn)

Thanks!
John
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.