SW006010 Microchip Technology, SW006010 Datasheet - Page 87

no-image

SW006010

Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
Datasheets

Specifications of SW006010

Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC17C
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
MPLAB®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
 2002 Microchip Technology Inc.
3.5.2
#include <p17c756.h>
#include <swspi16.h>
#include <delays.h>
void main(void)
{
}
char address;
// configure software SPI
OpenSWSPI();
for(address=0;address<0x10;address++)
{
}
return;
ClearCSSWSPI();
WriteSWSPI(0x02);
WriteSWSPI(address); //send address h
WriteSWSPI(address); //send address low
SetCSSWSPI();
Delay10KTCYx(50);
Example of Use
//clear CS pin
//send write cmd
//set CS pin
//wait 5000,000TCY
Software Peripheral Library
apRNOVS^-page 83

Related parts for SW006010