> > >> And a question: >> It is somewhat difficult to see if all PICs (of which we have device >> files) are supported in ADC_channels.jal. Do you (have to) regenerate >> this library after new device files arrive? >> > > To help finding an answer to my question I've added some statistical > information to the FindJANSEL wiki: a list of PICs for the different cases. > If you need more or better info (I'm thinking of listing the PICs in groups > using the same dataset), shouldn't be to difficult. Suggestions are welcome.
This is interesting, users may refer to this list, at least to know when ADC pins are dependent or not. Could you split this information and put in an another page, so they won't get flooded by too much data ? I'll then add a link in headers. To answer your question, if a new PIC is added: - if ADC pins are dependent (case 1, controlled by PCFG bits), ADC libs must be re-generated, PIC must be added to pinmap.py and pcfg.py (see http://code.google.com/p/jallib/wiki/UpdatingPinmap) - if ADC pins are independent (case 2 & 3, controlled by either PCFG or ANSEL bits), there's usually no need to re-generate ADC libs, as configuration setting is probably already handled. Exception: eg. PIC has more ADC pins than declared in libs (22 => 28), or if there's an exception for this PIC that needs to be handled in the lib. Cheers, Seb -- 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.
