Built-in Functions
Returns:
Function:
undefined
Configures the pins of the Pulse Width Modulation (PWM)
device.
Availability: All devices equipped with a power control PWM.
Requires:
None
Examples: setup_power_pwm_pins(PWM_OFF, PWM_OFF, PWM_OFF,
PWM_OFF);
setup_power_pwm_pins(PWM_COMPLEMENTARY,
PWM_COMPLEMENTARY, PWM_OFF, PWM_OFF);
Example
Files:
Also See:
None
setup_power_pwm(),
set_power_pwm_override(),set_power_pwmX_duty()
setup_psp(option,address_mask)
Syntax:
setup_psp ( options,address_mask );
setup_psp( options );
Parameters: Option - The mode of the Parallel slave port. This allows to set the slave port
mode, read-write strobe options and other functionality of the PMP/EPMP
module. See the devices .h file for all options. Some typical options include:
·
·
PAR_PSP_AUTO_INC
PAR_CONTINUE_IN_IDLE
·
·
PAR_INTR_ON_RW
PAR_INC_ADDR
//Interrupt on read write
//Increment address by 1 every
//read/write cycle
· PAR_WAITE4
//4 Tcy Wait for data hold after
//strobe
address_mask - This allows the user to setup the address enable register with a
16 bit or 32 bit (EPMP) value. This value determines which address lines are
active from the available 16 address lines PMA0: PMA15 or 32 address lines
PMAO:PMA31 (EPMP only).
Returns:
Function:
Undefined.
Configures various options in the PMP/EPMP module. The options are present in
the device.h file and they are used to setup the module. The PMP/EPMP module is
highly configurable and this function allows users to setup configurations like the
Slave mode, Interrupt options, address increment/decrement options, Address
273
相关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