PCD
QEI_FILTER_DIV_2,QEI_FORWARD);
Value = qei_get_count( );
Read the count.
RS232 I/O
These functions and directives can be used for setting up and using RS232 I/O functionality.
Relevant Functions:
getc() or getch()
getchar() or fgetc()
gets() or fgets()
putc() or putchar() or
fputc()
puts() or fputs()
printf() or fprintf()
kbhit()
Gets a character on the receive pin(from the specified stream
in case of fgetc, stdin by default). Use KBHIT to check if the
character is available.
Gets a string on the receive pin(from the specified stream in
case of fgets, STDIN by default). Use getc to receive each
character until return is encountered.
Puts a character over the transmit pin(on the specified stream
in the case of fputc, stdout by default)
Puts a string over the transmit pin(on the specified stream in
the case of fputc, stdout by default). Uses putc to send each
character.
Prints the formatted string(on the specified stream in the case
of fprintf, stdout by default). Refer to the printf help for details
on format string.
Return true when a character is received in the buffer in case
of hardware RS232 or when the first bit is sent on the RCV pin
in case of software RS232. Useful for polling without waiting in
getc.
setup_uart(baud,[stream])
or
setup_uart_speed(baud,[stream]) Used to change the baud rate of the hardware UART at run-
time. Specifying stream is optional. Refer to the help for more
advanced options.
assert(condition)
Checks the condition and if false prints the file name and line
to STDERR. Will not generate code if #DEFINE NODEBUG is
used.
52
相关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