MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Uživatelský manuál Strana 348

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 408
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 347
8 Serial Port I/O
8-28
Configuring Communication Settings
Before you can write or read data, both the serial port object and the device
must have identical communication settings. Configuring serial port
communications involves specifying values for properties that control the baud
rate and the serial data format. These properties are given below.
Note If the serial port object and the device communication settings are not
identical, then you cannot successfully read or write data.
Refer to your device documentation for an explanation of its supported
communication settings.
Table 8-4: Communication Properties
Property Name Description
BaudRate
Specify the rate at which bits are transmitted
DataBits Specify the number of data bits to transmit
Parity Specify the type of parity checking
StopBits Specify the number of bits used to indicate the end of a
byte
Terminator Specify the terminator character
Zobrazit stránku 347
1 2 ... 343 344 345 346 347 348 349 350 351 352 353 ... 407 408

Komentáře k této Příručce

Žádné komentáře