MIP SDK  0.0.1
MicroStrain Communications Library for embedded systems
Classes | Functions
(0x0C,0x40) Uart Baudrate [CPP]
Collaboration diagram for (0x0C,0x40) Uart Baudrate [CPP]:

Classes

struct  mip::commands_3dm::UartBaudrate
 

Functions

void mip::commands_3dm::insert (Serializer &serializer, const UartBaudrate &self)
 
void mip::commands_3dm::extract (Serializer &serializer, UartBaudrate &self)
 
void mip::commands_3dm::insert (Serializer &serializer, const UartBaudrate::Response &self)
 
void mip::commands_3dm::extract (Serializer &serializer, UartBaudrate::Response &self)
 
CmdResult mip::commands_3dm::writeUartBaudrate (C::mip_interface &device, uint32_t baud)
 
CmdResult mip::commands_3dm::readUartBaudrate (C::mip_interface &device, uint32_t *baudOut)
 
CmdResult mip::commands_3dm::saveUartBaudrate (C::mip_interface &device)
 
CmdResult mip::commands_3dm::loadUartBaudrate (C::mip_interface &device)
 
CmdResult mip::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()

CmdResult mip::commands_3dm::defaultUartBaudrate ( C::mip_interface device)

◆ extract() [1/2]

void mip::commands_3dm::extract ( Serializer serializer,
UartBaudrate self 
)

◆ extract() [2/2]

void mip::commands_3dm::extract ( Serializer serializer,
UartBaudrate::Response self 
)

◆ insert() [1/2]

void mip::commands_3dm::insert ( Serializer serializer,
const UartBaudrate self 
)

◆ insert() [2/2]

void mip::commands_3dm::insert ( Serializer serializer,
const UartBaudrate::Response self 
)

◆ loadUartBaudrate()

CmdResult mip::commands_3dm::loadUartBaudrate ( C::mip_interface device)

◆ readUartBaudrate()

CmdResult mip::commands_3dm::readUartBaudrate ( C::mip_interface device,
uint32_t *  baudOut 
)

◆ saveUartBaudrate()

CmdResult mip::commands_3dm::saveUartBaudrate ( C::mip_interface device)

◆ writeUartBaudrate()

CmdResult mip::commands_3dm::writeUartBaudrate ( C::mip_interface device,
uint32_t  baud 
)