Built-in Functions
Examples:
Example
set_open_drain_b(0x0001); //enables open-drain output on
PIN_B0, disable on all //other port B pins.
None.
Files:
set_power_pwm_override( )
Syntax:
set_power_pwm_override( pwm , override , value )
Parameters: pwm is a constant between 0 and 7
Override is true or false
Value is 0 or 1
Returns:
Function:
undefined
pwm selects which module will be affected.
Override determines whether the output is to be determined by the OVDCONS
register or the PDC registers. When override is false, the PDC registers determine
the output.
When override is true, the output is determined by the value stored in OVDCONS.
value determines if pin is driven to it's active staet or if pin will be inactive. I will be
driven to its active state, 0 pin will be inactive.
Availability: All devices equipped with PWM.
Requires:
None
Examples:
set_power_pwm_override(1, true, 1);
//PWM1 will be
//overridden to active
//state
set_power_pwm_override(1, false, 0); //PMW1 will not be
//overidden
Example
Files:
Also See:
None
setup_power_pwm(), setup_power_pwm_pins(), set_power_pwmX_duty()
set_power_pwmx_duty( )
Syntax:
set_power_pwm X _duty( duty )
Parameters: X is 0, 2, 4, or 6
Duty is an integer between 0 and 16383.
Returns:
undefined
251
相关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