Joep, are you saying serial_hw_write_word() it should not be in
serial_hardware.jal? Should the software version's procedures match
the hardware version?

In SPI, Serial & I2C, bits get send MSB first, so when dealing with
bytes, it should be sent most significant byte first.

I mostly use a serial_hw_write_DWORD for sending dwords to another
PIC, and for sending dwords to my pc for troubleshooting.

If it is added, others will have a choice weather to use it or not, if
they don't use it, it does not take any more code space.

Would any of you use a procedure like this? I do not NEED a
serial_hw_write_dword procedure, but it would be nice to have if
others will use it as well.



On Oct 31, 3:35 am, Joep Suijs <[email protected]> wrote:
> Serial is generally used for chars and there is no standard sequence for
> multi-bytes to be send (little or big endian). So other then byte parameters
> make no sense.
> The only reason for this function is backward compatability IMHO.
>
> So please don't add others to the libraries!
>
> Joep
>
> 2009/10/31 mattschinkel <[email protected]>
>
>
>
>
>
> > Seb??
>
> > also, can you put my tutorial_blink_a_led.xml into the main ditamap.
> > i'm not sure what topic you want it under.
>
> > On Oct 30, 12:58 am, mattschinkel <[email protected]> wrote:
> > > Seb, I noticed serial_hw lib has a serial_hw_write_word() procedure.
> > > Can we ad a serial_hw_write_dword() procedure?
>
> > > and I suppose these 2 procedures should be in the software version as
> > > well?
>
> > > Thanks,
> > > Matt.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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