Built-in Functions
WDT_36MS, WDT_72MS, WDT_144MS, WDT_288MS,
WDT_576MS, WDT_1152MS, WDT_2304MS
Returns:
Function:
Availability:
Requires:
Examples:
Example
Files:
Also See:
undefined
Sets up the RTCC or WDT. The rtcc_state determines what
drives the RTCC. The PS state sets a prescaler for either the
RTCC or WDT. The prescaler will lengthen the cycle of the
indicated counter. If the RTCC prescaler is set the WDT will
be set to WDT_18MS. If the WDT prescaler is set the RTCC is
set to RTCC_DIV_1.
This function is provided for compatibility with older
versions. setup_timer_0 and setup_WDT are the
recommended replacements when possible. For PCB devices
if an external RTCC clock is used and a WDT prescaler is
used then this function must be used.
All devices
Constants are defined in the devices .h file.
setup_counters (RTCC_INTERNAL, WDT_2304MS);
None
setup wdt(), setup_timer 0(), see header file for device
selected
setup_cwg( )
Syntax:
Parameters:
setup_cwg( mode , shutdown , dead_time_rising , dead_time_falling )
mode - the setup of the CWG module. See the device's .h file for al l options.
Some typical options include:
?
?
?
?
CWG_ENABLED
CWG_DISABLED
CWG_OUTPUT_B
CWG_OUTPUT_A
shutdown - the setup for the auto-shutdown feature of CWG module.
See the device's .h file for all the options. Some typical options include:
CWG_AUTO_RESTART
CWG_SHUTDOWN_ON)COMP1
CWG_SHUTDOWN_ON_FLT
263
相关PDF资料
PCI-EXP-T42G5-N1 IP CORE PCI EXPRESS ORCA 4
PCM18XH2 PROCESSOR MODULE MPLAB-ICE 2000
PCM18XN0 PROCESSOR MODULE FOR ICE2000
PDA-B-24-615-E-2B1-1-C CIRCUIT BREAKER MAG 1P 15A
PFMF.260.2 PFMF PTC FUSE SMT 2.6A 1812
PFNF.200.2 PFNF PTC FUSE SMT 2A 1206
PFRY.375 PTC-FUSE RADIAL 72 VDC
PFSM.150.33.2 FUSE PTC 8A 15V FST-TRIP SMD
相关代理商/技术参数
PCD_09 制造商:MACOM 制造商全称:Tyco Electronics 功能描述:Low Profile PCB Relay PCD
PCD-00173-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0E 制造商:Molex 功能描述:Ethernet Cable Assembly
PCD-00173-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0K 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00174-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Red; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet ;RoHS Compliant: NA
PCD-00174-0E 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Grey; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet;RoHS Compliant: NA
PCD-00174-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY