Quantcast
Channel: MPLAB XC16
Viewing all articles
Browse latest Browse all 1508

H and L SPI Registers (dekk______0)

$
0
0
Forum, Pulled the following read/write examples from another post:void SPIPut(unsigned char v) { while(!SPI2STATbits.SPITBE); // wait for TX buffer to empty SPI2BUF=v; // write byte to TX buffer while(!SPI2STATbits.SPIRBF); // wait for RX buffer to fill i..

Viewing all articles
Browse latest Browse all 1508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>