spi_host_hw2

SPI host, driving MSSP2 module

Author Sebastien Lelong Copyright © 2011..2025, all rights reserved.
Adapted-by Rob Jansen
Compiler 2.5r9

Description

SPI host hardware control.
             Routines for sending and receiving through the SPI in host 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_host_hw.jal at rev 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:

16f182916f1829_nrf24l01.jal
18f15q4018f15q40_mcp23s08.jal
18f15q4018f15q40_spi2.jal