Built-in Functions
Availability: On device with remappable peripheral pins.
Requires:
Examples:
Example
Files:
Also See:
Pin defines in device's header file.
pin_select(“U2TX”,PIN_B0);
//Maps PIN_B0 to U2TX //peripheral pin, performs unlock //and lock
sequences.
pin_select(“U2TX”,PIN_B0,TRUE,FALSE);
//Maps PIN_B0 to U2TX //peripheral pin and performs //unlock
sequence.
pin_select(“U2RX”,PIN_B1,FALSE,TRUE);
//Maps PIN_B1 to U2RX //peripheral pin and performs lock //sequence.
None.
#pin_select
atoi( ) atol( ) atoi32( )
Syntax:
ivalue = atoi( string )
or
lvalue = atol( string )
or
i32value = atoi32( string )
Parameters: string is a pointer to a null terminated string of characters.
Returns:
Function:
Availability:
Requires:
Examples:
ivalue is an 8 bit int.
lvalue is a 16 bit int.
i32value is a 32 bit int.
Converts the string passed to the function into an int
representation. Accepts both decimal and hexadecimal argument. If the
result cannot be represented, the behavior is undefined.
All devices
#INCLUDE <stdlib.h>
char string[10];
int x;
151
相关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