v5.00 SPI help could be more accurate

Beta Testing discussion on mikroPascal PRO for PIC.
Post Reply
Author
Message
Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

v5.00 SPI help could be more accurate

#1 Post by Dany » 23 Jul 2011 19:45

Hi, in the SPI help, the following is stated:
procedure SPIx_Init();
Returns Nothing.
Description This routine configures and enables SPI module with the following settings:
master mode
clock Fosc/4
clock idle state low
data transimtted on low to high edge <---- this line
input data sampled at the middle of interval
..
..
..
Transmit edge:
Data transmit on low to high edge _SPI_LOW_2_HIGH <---- this line
Data transmit on high to low edge _SPI_HIGH_2_LOW <---- this line
Better would be, for the marked lines, to use the terminology used in the dsPIC SPI help, e.g.
procedure SPIx_Init();
Returns Nothing.
Description This routine configures and enables SPI module with the following settings:
master mode
clock Fosc/4
clock idle state low
output data is valid on low to high edge <---- this line
input data sampled at the middle of interval
..
..
..
Transmit edge:
Output data valid on low to high edge _SPI_LOW_2_HIGH <---- this line
Output data valid on high to low edge _SPI_HIGH_2_LOW <---- this line
Thanks in advance!
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: v5.00 SPI help could be more accurate

#2 Post by filip » 25 Jul 2011 10:16

Hi,

This is a nice idea, we will put this in consideration ;).

Regards,
Filip.

Post Reply

Return to “mikroPascal PRO for PIC Beta Testing”