7 months ago | Paul Boddie | file changeset files shortlog | Introduced support for the SPI peripheral on the JZ4780. Removed DMA buffer handling from the AIC/I2S peripheral support, changing the transfer operation to use an arbitrary physical address. Changed the hw_info test program to support use of the SPI peripheral and GPIO-driven SPI communication in the same session. Added a test picture in RGB16 format for use with the hw_info program. | cpm-library-improvements |
paul@105 | 1 | #include <l4/devices/protocols.h> |
paul@105 | 2 | |
paul@105 | 3 | [protocol(LANDFALL_SPI)] |
paul@105 | 4 | interface SPI |
paul@105 | 5 | { |
paul@105 | 6 | void send(in int bits, in int data); |
paul@105 | 7 | }; |