Pre-Processor
collector outputs. Bit 6 in RS232_ERRORS is set if
the pin is not high at the end of the bit time.
ERRORS
SAMPLE_EARLY
RETURN=pin
MULTI_MASTER
LONG_DATA
DISABLE_INTS
STOP=X
TIMEOUT=X
SYNC_SLAVE
Used to cause the compiler to keep receive errors
in the variable RS232_ERRORS and to reset
errors when they occur.
A getc() normally samples data in the middle of a
bit time. This option causes the sample to be at the
start of a bit time. May not be used with the UART.
For FLOAT_HIGH and MULTI_MASTER this is the
pin used to read the signal back. The default for
FLOAT_HIGH is the XMIT pin and for
MULTI_MASTER the RCV pin.
Uses the RETURN pin to determine if another
master on the bus is transmitting at the same time.
If a collision is detected bit 6 is set in
RS232_ERRORS and all future PUTC's are
ignored until bit 6 is cleared. The signal is checked
at the start and end of a bit time. May not be used
with the UART.
Makes getc() return an int16 and putc accept an
int16. This is for 9 bit data formats.
Will cause interrupts to be disabled when the
routines get or put a character. This prevents
character distortion for software implemented I/O
and prevents interaction between I/O in interrupt
handlers and the main program when using the
UART.
To set the number of stop bits (default is 1). This
works for both UART and
non-UART ports.
To set the time getc() waits for a byte in
milliseconds. If no character comes in within this
time the RS232_ERRORS is set to 0 as well as the
return value form getc(). This works for both UART
and non-UART ports.
Makes the RS232 line a synchronous slave,
making the receive pin a clock in, and the data pin
the data in/out.
129
相关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