External Interfaces - The MathWorks - #551

/ 649


catalogue search
P. 551
P. 552
P. 553
P. 554
P. 555
P. 556
P. 557
P. 558
P. 559
P. 560
P. 561
P. 562
P. 563
P. 564
P. 565
P. 566
P. 567
P. 568
P. 569
P. 570
P. 571
P. 572
P. 573
P. 574
P. 575
P. 576
P. 577
P. 578
P. 579
P. 580
P. 581
P. 582
P. 583
P. 584
P. 585
P. 586
P. 587
P. 588
P. 589
P. 590
P. 591
P. 592
P. 593
P. 594
P. 595
P. 596
P. 597
P. 598
P. 599
P. 600


See other catalogues for The MathWorks

Text version of the page
Events and Callbacks
Break-Interrupt Event
A break-interrupt event is generated immediately after a break interrupt is generated by the serial port. The serial port generates a break interrupt when the received data has been in an inactive state longer than the transmission time for one character.
This event executes the callback function specified for the BreakInterruptFcn property. It can be generated for both synchronous and asynchronous read and write operations.
Bytes-Available Event
A bytes-available event is generated immediately after a predetermined number of bytes are available in the input buffer or a terminator is read, as determined by the BytesAvailableFcnMode property.
IfBytesAvailableFcnMode is byte, the bytes-available event executes the callback function specified for the BytesAvailableFcn property every time the number ofbytes specified by BytesAvailableFcnCount is stored in the input buffer. If BytesAvailableFcnMode is terminator, the callback function executes every time the character specified by the Terminator property is read.
This event can be generated only during an asynchronous read operation. Error Event
An error event is generated immediately after an error occurs.
This event executes the callback function specified for the ErrorFcn property. It can be generated only during an asynchronous read or write operation.
An error event is generated when a time-out occurs. A time-out occurs if a read or write operation does not successfully complete within the time specified by the Timeout property. An error event is not generated for configuration errors such as setting an invalid property value.
12-53

pageCatalog pdf di En 2012-06-22-01