# spi_common

SPI Master common definition

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

Description

    SPI Master common constant definition, used both by MSSP1 and MSSP2

Notes

    content was extracted from 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

Dependencies

No dependency found

## Summary

### Global variables/contants

- `const SPI_RATE_FOSC_64 = 2`
- `const SPI_MODE_01 = 1`
- `const SPI_MODE_11 = 3`
- `const SPI_RATE_FOSC_4 = 0`
- `const SPI_RATE_TMR = 3`
- `const SPI_RATE_FOSC_16 = 1`
- `const SPI_MODE_00 = 0`
- `const SPI_MODE_10 = 2`

### Procedures

### Functions

## API details

### Global variables/contants

- `const SPI_RATE_FOSC_64 = 2`

  No documentation found

- `const SPI_MODE_01 = 1`

  No documentation found

- `const SPI_MODE_11 = 3`

  No documentation found

- `const SPI_RATE_FOSC_4 = 0`

      Use these when calling the spi_init() routine below ( SPI clock frequency )

- `const SPI_RATE_TMR = 3`

  No documentation found

- `const SPI_RATE_FOSC_16 = 1`

  No documentation found

- `const SPI_MODE_00 = 0`

      Use these when calling the spi_init() routine below ( SPI master mode )

- `const SPI_MODE_10 = 2`

  No documentation found

### Procedures

### Functions

## Related samples

No sample found