PCWHD IDE COMPILER Custom Computer Services Inc (CCS), PCWHD IDE COMPILER Datasheet - Page 293

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
setup_rtc( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
setup_rtc_alarm( )
Syntax:
Parameters:
Returns:
Function:
setup_rtc (options, calibration);
Options- The mode of the RTCC module. See the devices .h file for all options
Calibration- This parameter is optional and the user can specify an 8 bit value that
will get written to the calibration configuration register.
void
Configures the Real Time Clock and Calendar module. The module requires an
external 32.768 kHz Clock Crystal for operation.
Devices that have the RTCC module.
Nothing.
setup_rtc(RTC_ENABLE | RTC_OUTPUT_SECONDS, 0x00);
// Enable RTCC module with seconds clock and no calibration
None
rtc_read(), rtc_alarm_read(), rtc_alarm_write(), setup_rtc_alarm(), rtc_write(),
setup_rtc_alarm(options, mask, repeat);
options- The mode of the RTCC module. See the devices .h file for all options
mask- This parameter is optional and the user can specify the alarm mask bits for
the alarm configuration.
repeat- This will specify the number of times the alarm will repeat. It can have a
max value of 255.
void
Configures the alarm of the RTCC module. The mask and repeat parameters are
optional, and allow the use to configure the alarm settings on the RTCC module.
setup_rtc()
279

Related parts for PCWHD IDE COMPILER