spi_master_hw2

SPI Master, driving MSSP2 module

Author Sebastien Lelong Copyright © 2011, all rights reserved.
Adapted-by
Compiler 2.4n

Description

SPI Master hardware control.
Routines for sending and receiving through the SPI in master mode, using MSSP2


Sources

good overview of SPI at http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus
also at: http://elm-chan.org/docs/spi_e.html


Notes

this is a rough duplication of spi_master_hw.jal at rev 1537,
(http://code.google.com/p/jallib/source/browse/trunk/include/peripheral/spi/spi_master_hw.jal?r=1537)
originally written by William Welch, from which MSSP1 registers were modified to match MSSP2 names.


Dependencies


Summary

Global variables/contants

Procedures

Functions


API details

Global variables/contants

Procedures

Functions


Related samples

Here are the list of samples which use this library:

18f27j5318f27j53_sd_card_minix_demo.jal
18f27j5318f27j53_sd_card_minix_readi.jal
18f27j5318f27j53_sd_card_minix_read.jal