sumikchakka / jallib

Automatically exported from code.google.com/p/jallib
0 stars 0 forks source link

Missing pin_E3 in device file of 18f25k22 #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When MCLR is set to 'internal', pin_E3 is usable (as input only) pin.
However pin_E3 doesn't appear in the device file (of the 18f25k22).

Original issue reported on code.google.com by robhamerling on 24 Jun 2011 at 6:36

GoogleCodeExporter commented 9 years ago

The missing pin_E3 and pin_E3_direction in the Jallib device files is
more common than only for the 18f25k22: probably for about 100 device
files of the 18F series (and also about 50 of the midrange).
Reason: pin_E3 is generated when the bit is defined in the LATE
register and pin_E3_direction is generated when defined in the TRISE
register of the MPLAB files. But when E3 is input-only is needs not be
defined in LATE and TRISE and is missing in most cases in the MPLAB
files.

So pin_E3 needs to be added to the Jallib device file when RE3 is
present in PORTE even when the bit is not defined in LATE.

I think pin_E3_direction needs not be added.

Original comment by robhamerling on 24 Jun 2011 at 6:38

GoogleCodeExporter commented 9 years ago
Fixed with revision 2710.

Original comment by robhamerling on 24 Jun 2011 at 1:01

GoogleCodeExporter commented 9 years ago
Hi Rob, the same applies PIC18F4550 ... I have to modify my library manually?

Original comment by lmtre...@gmail.com on 6 Jul 2011 at 4:38