SW006010 Microchip Technology, SW006010 Datasheet - Page 57
SW006010
Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
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
- Current page: 57 of 136
- Download datasheet (2Mb)
2002 Microchip Technology Inc.
}
unsigned char status_read (void)
{
}
void status_write (unsigned char data)
{
}
void busy_polling (void)
{
}
SPI_CS = 1;
return (var);
SPI_CS = 0;
var = putcSPI(RDSR); //send read status command
var = getcSPI();
SPI_CS = 1;
return (var);
SPI_CS = 0;
var = putcSPI(WRSR); //write status command
var = putcSPI(data); //status byte to write
SPI_CS = 1;
do
{
SPI_CS = 0;
var = putcSPI(RDSR);
var = fetcSPI();
SPI_CS = 1;
} while (var & 0x01); //stay in loop until notbusy
//assert chip select
//read data byte
//negate chip select
//negate chip select
//assert chip select
//send read status command
//read data byte
//negate chip select
Hardware Peripheral Library
apRNOVS^-page 53
Related parts for SW006010
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: