PCWHD IDE COMPILER Custom Computer Services Inc (CCS), PCWHD IDE COMPILER Datasheet - Page 295
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
1.PCD_COMMAND_LINE_COMPILER.pdf
(373 pages)
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
- Current page: 295 of 373
- Download datasheet (4Mb)
setup_timerx( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
setup_timerX(mode)
setup_timerX(mode,period)
Mode is a bit-field comprised of the following configuration constants:
• TMR_DISABLED: Disables the timer operation.
• TMR_INTERNAL: Enables the timer operation using the system clock. Without
divisions, the timer will increment on every instruction cycle. On PCD, this is half
the oscillator frequency.
• TMR_EXTERNAL: Uses a clock source that is connected to the SOSCI/SOSCO
pins
• T1_EXTERNAL_SYNC: Uses a clock source that is connected to the
SOSCI/SOSCO pins. The timer will increment on the rising edge of the external
clock which is synchronized to the internal clock phases. This mode is available
only for Timer1.
• T1_EXTERNAL_RTC: Uses a low power clock source connected to the
SOSCI/SOSCO pins; suitable for use as a real time clock. If this mode is used,
the low power oscillator will be enabled by the setup_timer function. This mode is
available only for Timer1.
• TMR_DIV_BY_X: X is the number of input clock cycles to pass before the timer
is incremented. X may be 1, 8, 64 or 256.
• TMR_32_BIT: This configuration concatenates the timers into 32 bit mode. This
constant should be used with timers 2, 4, 6 and 8 only.
• Period is an optional 16 bit integer parameter that specifies the timer period. The
default value is 0xFFFF.
void
Sets up the timer specified by X (May be 1 – 9). X must be a valid timer on the
target device.
This function is available on all devices that have a valid timer X. Use getenv or
refer to the target datasheet to determine which timers are valid.
Configuration constants are defined in the device's header file.
281
Related parts for PCWHD IDE COMPILER
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
PROTOTYPING BOARD FOR PIC MCU
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
Extra CCS C Manual
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
MACH X Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PCD For 24-bit (PIC24/dsPIC)
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
LOAD-n-GO Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
EMBEDDED INTERNET DEVELOPMENT KIT W/PCWH
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24H Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24H Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC18F6722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC18F8722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
USB Master Prototyping Board
Manufacturer:
Custom Computer Services Inc (CCS)