Description
This function causes one or more characters to be read from the specified port. The characters are
read from the internal input buffer and placed in the specified input data area. The function returns
both the number of characters retrieved and the number of unprocessed characters still in the input
buffer. If zero characters of input are requested, only the number of unprocessed characters in the
input buffer is returned.
If insufficient characters are available to satisfy the request and a non-zero value is specified for the
number of characters to read, the status of the operation is not complete until either sufficient
characters have been received or the time-out interval expires. In either of those conditions, the port
status indicates the reason for completion of the read operation. The status word is not updated until
the read operation is complete (either due to timeout or when all the data has been received).
If the time-out interval is set to zero, the COMMREQ remains pending until it has received the
requested amount of data, or until it is cancelled.
If this COMMREQ fails for any reason, no data is returned to the input data area. Any data that has
not been read from the internal input buffer remains and it can be retrieved with a subsequent read
request.
If the input data memory type parameter is specified to be a word memory type, and if an odd
number of bytes is actually received, then the high byte of the last word to be written with the
received data is left unchanged.
As data is received from the serial port it is placed in the internal input buffer. If the buffer becomes
full, then any additional data received from the serial port is discarded and the Overflow Error bit in
the Port Status word (See Read Port Status Function) is set.
Details: If you need an urgent delivery order, please feel free to contact us, and we will do our best to meet your needs.
Price issue: If you find that other suppliers offer a cheaper price for the same product, we are also willing to provide you with a reference price and give you further discounts.
Contact Us:+86 18106937731
Whatapp:+86 15359293870
Email: geabbdcs@gmail.com / 2872270648@qq.com
Contact Person: Chen
Stock products of the same series:
NFZ44E-23 1SBH136001R2344 |
NBRA-659C 59006436 |
MTS1-10B 1SFA611300R1006 |
LXN1604-6 |
LF 1005-S/SP16 |
LDSYN-101 3BHE005555R0101 |
LDSTA-01 |
LDMUI-001 61320946C |
LDGRB-01 3BSE013177R1 |
LD800HSE 3BDH000320R02 |
IORE63-20-CC |
HPC800K02 |
HIES207036R003 |
HC800 |
GMSTB 2.5/4-ST-7.62 |
GFD233A103 3BHE022294R0103 |
GFD233A 3BHE022294R0103 |
GDB021BE05 HIEE300766R0005 |
FPR3346501R1012 |
FENA-11 |
DSDX452L |
DSAI133A 3BSE018290R1 |
DDC779CE102 3BHE027859R0102 |
DDC779BE02 3BHE006805R0002 |
CP-E 24/20.0 |
CP-E 24/1.25 |
CP800 |
COMMANDER 310 |
CMA123 |
CM10/000S0E0/STD |
CI871K01 3BSE056797R1 |
CI871K01 3BSE056767R |
CI867 3BSE043661R |
CI860K01 3BSE032444R1 |
CI840A 3BSE041882R1 |
CI773F |
CDP312R 64378660G |
CB801 3BSE042245R1 |
BC810K02 |
BC810K01 3BSE031154R1 |
BC810 |