SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
Changing the baud rate can be done using the host sl_DeviceUartSetMode() command. This command may be called by the application following the sl_Start as shown in Figure 25-16.
sl_DeviceUartSetMode | |
---|---|
Description | Update the UART Mode |
Prototype | _i16 sl_DeviceUartSetMode(const SlDeviceUartIfParams_t *pUartParams) |
Parameter |
typedef struct { _u32 BaudRate; _u8 FlowControlEnable; _u8 CommPort; } SlDeviceUartIfParams_t; |
Comment | For UART Host Interface only |