Modules | |
| SERIAL_PORT | |
| SERIAL_INTERFACE | |
Functions | |
| IOTHINX_ERR | ioThinx_Serial_GetDevName (uint32_t slot, uint32_t port, uint8_t *name) |
| IOTHINX_ERR | ioThinx_Serial_SetInterface (uint32_t slot, uint32_t port, uint32_t interface) |
| IOTHINX_ERR | ioThinx_Serial_GetInterface (uint32_t slot, uint32_t port, uint32_t *interface) |
Sample Code:
seria.c
| IOTHINX_ERR ioThinx_Serial_GetDevName | ( | uint32_t | slot, |
| uint32_t | port, | ||
| uint8_t * | name | ||
| ) |
| [in] | slot | Slot number of the module. |
| [in] | port | Specifies the SERIAL port. |
| [out] | name | A pointer that stores the device name. |
| IOTHINX_ERR ioThinx_Serial_SetInterface | ( | uint32_t | slot, |
| uint32_t | port, | ||
| uint32_t | interface | ||
| ) |
| [in] | slot | Slot number of the module. |
| [in] | port | Specifies the SERIAL port. |
| [in] | interface | Stores the SERIAL interface. |
| IOTHINX_ERR ioThinx_Serial_GetInterface | ( | uint32_t | slot, |
| uint32_t | port, | ||
| uint32_t * | interface | ||
| ) |
| [in] | slot | Slot number of the module. |
| [in] | port | Specifies the SERIAL port. |
| [out] | interface | Stores the SERIAL interface. |