mtdef::Baudrates Class Reference
List of all members.
Public Member Functions |
def | get_BR |
def | get_BRID |
Static Public Attributes |
list | Baudrates |
| Baudrate mapping between ID and value.
|
Detailed Description
Baudrate information and conversion.
Definition at line 81 of file mtdef.py.
Member Function Documentation
def mtdef::Baudrates::get_BR |
( |
|
cls, |
|
|
|
baudrate_id | |
|
) |
| | |
Get baudrate for a given baudrate id.
Definition at line 104 of file mtdef.py.
def mtdef::Baudrates::get_BRID |
( |
|
cls, |
|
|
|
baudrate | |
|
) |
| | |
Get baudrate id for a given baudrate.
Definition at line 97 of file mtdef.py.
Member Data Documentation
Initial value:[
(0x00, 460800),
(0x01, 230400),
(0x02, 115200),
(0x03, 76800),
(0x04, 57600),
(0x05, 38400),
(0x06, 28800),
(0x07, 19200),
(0x08, 14400),
(0x09, 9600),
(0x80, 921600)]
Baudrate mapping between ID and value.
Definition at line 84 of file mtdef.py.
The documentation for this class was generated from the following file: