dac_mcp4922

MCP4922.jal

Author Peter Lankreijer
Adapted-by
Compiler 2.4o

Description

This library controls a MCP4922 via the SPI protocol.


Sources

delay.jal
             spi_master_sw.jal or spi_master_hw.jal
             http://ww1.microchip.com/downloads/en/DeviceDoc/22250A.pdf


Notes

The following should be defined in the main program:
             setup SPI for software SPI or none for hardware SPI
             include spi_master_sw
             define directions
             spi_master_sw_init(SPI_MODE_11)
             alias spi_master is spi_master_sw
             alias spi_master_exchange is spi_master_sw_exchange


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_mcp4922.jal