Updates:
        Status: Accepted

Comment #3 on issue 156 by robhamerling: Peripheral Pin Select and device files
http://code.google.com/p/jallib/issues/detail?id=156

Apart from more mappable pins with the j13 and j53 the differences are only in the output numbering for TX2/CK2 and DT2. And there are currently only 2 groups. So it looks to me that it would be most practical to add a PPS group indication in the device files and handle the differences between groups in the PPS library. This will have minimal impact on device files and maximum freedom for the implementation of the PPS

Consequences for the device files generation:

1. define PPS groups in constants_jallib.jal, e.g.:
   const   PPS_0   = 0      -- device does not support pin mapping
   const   PPS_1   = 1      -- PPS group 1  18[L]FxxJ11, 18[L]FxxJ50
   const   PPS_2   = 2      -- PPS group 2  18[L]FxxJ13, 18[L}FxxJ53

2. The dev2jal script has to add to the device files a statement like:
   const PPSGROUP = PPS_x

3. Since the PPS-group cannot be derived from the MPLAB .dev files it will have to be added to devicespecific.json (similar to ADC group), to be handled by the dev2jal script.







--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to