SW500008 Microchip Technology, SW500008 Datasheet - Page 198
SW500008
Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Specifications of SW500008
Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015
778-1001
778-1001
778-1001
778-1001
- Current page: 198 of 486
- Download datasheet (4Mb)
config_read(), config_write()
Synopsis
Description
These functions allow access to the device configuration registers which determine many of the
behavioural aspects of the device itself.
value contained in the register is returned.
be written to the selected register.
Example
See Also
device_id_read(),idloc_read(),idloc_write()
184
config_read() accepts a single parameter to determine which config word will be read. The 16-Bit
config_write() doesn’t return any value. It accepts a second parameter which is a 16-Bit value to
#include <htc.h>
unsigned int config_read(void);
void config_write(unsigned char, unsigned int);
#include <htc.h>
void
main (void)
{
}
unsigned int
value = config_read(2); // read register 2
value |= WDTEN; // modify value
config_write(2, value);
value;
// update config register
Library Functions
Related parts for SW500008
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: