Hi Rob!
Yes, the parity calculating examples you linked to do save half of the
instructions compared to my assembler solution :-)
While for the 18(L)FxxK42 chips a new set of USART libs might be helpful, still
the selection of the library group could be automated so that the user would
not always need to select the right group of libs himself.
Greets,Kiste
Von: Rob Hamerling <[email protected]>
An: 'Oliver Seitz' via jallib <[email protected]>
Gesendet: 13:24 Sonntag, 30.Juli 2017
Betreff: Re: [jallib] Serial 8 bits and parity BIT
Hi Kiste,
On 07/30/2017 11:47 AM, 'Oliver Seitz' via jallib wrote:
>
>
> the soon-to-come family of 18(L)FxxK42 chips does finally have
> hardware parity support.
I've given the datasheet of these a quick look and saw many new names
for USART-related registers and their bitfields (incl interrupt flags).
Aliases could help somewhat, but will not give support for new
functionality like built-in flow control and parity handling. And I
think the many required aliases will make the libraries (or device
files) virtually unmaintainable. So this group of PICs probably requires
new USART libraries anyway.
W.r.t. software parity-checking: the PIClist software collection
contains also some examples which might be more efficient than your
example. See http://www.piclist.com/techref/microchip/math/bit/parity.htm
Have a nice day,
Rob.
--
*Rob H*amerling - https://www.robh.nl
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.