MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Classes | Functions
(0x0C,0x40) Uart Baudrate

Read, Save, Load, or Reset to Default the baud rate of the main communication channel. More...

Classes

struct  mip::commands_3dm::UartBaudrate
 

Functions

TypedResult< UartBaudratemip::commands_3dm::writeUartBaudrate (C::mip_interface &device, uint32_t baud)
 
TypedResult< UartBaudratemip::commands_3dm::readUartBaudrate (C::mip_interface &device, uint32_t *baudOut)
 
TypedResult< UartBaudratemip::commands_3dm::saveUartBaudrate (C::mip_interface &device)
 
TypedResult< UartBaudratemip::commands_3dm::loadUartBaudrate (C::mip_interface &device)
 
TypedResult< UartBaudratemip::commands_3dm::defaultUartBaudrate (C::mip_interface &device)
 

Detailed Description

Read, Save, Load, or Reset to Default the baud rate of the main communication channel.

For all functions except 0x01 (use new settings), the new baud rate value is ignored. Please see the device user manual for supported baud rates.

The device will wait until all incoming and outgoing data has been sent, up to a maximum of 250 ms, before applying any change.

No guarantee is provided as to what happens to commands issued during this delay period; They may or may not be processed and any responses aren't guaranteed to be at one rate or the other. The same applies to data packets.

It is highly recommended that the device be idle before issuing this command and that it be issued in its own packet. Users should wait 250 ms after sending this command before further interaction.

Function Documentation

◆ defaultUartBaudrate()

TypedResult< UartBaudrate > mip::commands_3dm::defaultUartBaudrate ( C::mip_interface device)

◆ loadUartBaudrate()

TypedResult< UartBaudrate > mip::commands_3dm::loadUartBaudrate ( C::mip_interface device)

◆ readUartBaudrate()

TypedResult< UartBaudrate > mip::commands_3dm::readUartBaudrate ( C::mip_interface device,
uint32_t *  baudOut 
)

◆ saveUartBaudrate()

TypedResult< UartBaudrate > mip::commands_3dm::saveUartBaudrate ( C::mip_interface device)

◆ writeUartBaudrate()

TypedResult< UartBaudrate > mip::commands_3dm::writeUartBaudrate ( C::mip_interface device,
uint32_t  baud 
)