> if defined(SPI_USE_MSSP2) then
>    alias _SSPBUF is SSP2BUF
>    etc...
> end if

Yes, this is what I was suggesting, but I see your issue. So, in this
case the best thing to do may be for the spi procedures can use other
names like:

spi_master_hw_buffer
spi_master_hw_buffer_status
spi_master_hw_ckp
spi_master_hw_cke
spi_master_hw_enable
spi_master_hw_rate

Maybe others. The above seem more readable anyways

if defined(SPI_USE_MSSP2) then
   alias spi_master_hw_buffer is SSP2BUF
   etc...
end if

Matt.

-- 
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