MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Classes | Typedefs | Functions
(0x0C,0x40) Uart Baudrate

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

Classes

struct  mip::C::mip_3dm_uart_baudrate_command
 
struct  mip::C::mip_3dm_uart_baudrate_response
 

Typedefs

typedef struct mip_3dm_uart_baudrate_command mip::C::mip_3dm_uart_baudrate_command
 
typedef struct mip_3dm_uart_baudrate_response mip::C::mip_3dm_uart_baudrate_response
 

Functions

void mip::C::insert_mip_3dm_uart_baudrate_command (microstrain_serializer *serializer, const mip_3dm_uart_baudrate_command *self)
 
void mip::C::extract_mip_3dm_uart_baudrate_command (microstrain_serializer *serializer, mip_3dm_uart_baudrate_command *self)
 
void mip::C::insert_mip_3dm_uart_baudrate_response (microstrain_serializer *serializer, const mip_3dm_uart_baudrate_response *self)
 
void mip::C::extract_mip_3dm_uart_baudrate_response (microstrain_serializer *serializer, mip_3dm_uart_baudrate_response *self)
 
mip_cmd_result mip::C::mip_3dm_write_uart_baudrate (mip_interface *device, uint32_t baud)
 
mip_cmd_result mip::C::mip_3dm_read_uart_baudrate (mip_interface *device, uint32_t *baud_out)
 
mip_cmd_result mip::C::mip_3dm_save_uart_baudrate (mip_interface *device)
 
mip_cmd_result mip::C::mip_3dm_load_uart_baudrate (mip_interface *device)
 
mip_cmd_result mip::C::mip_3dm_default_uart_baudrate (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.

Typedef Documentation

◆ mip_3dm_uart_baudrate_command

◆ mip_3dm_uart_baudrate_response

Function Documentation

◆ extract_mip_3dm_uart_baudrate_command()

void mip::C::extract_mip_3dm_uart_baudrate_command ( microstrain_serializer serializer,
mip_3dm_uart_baudrate_command self 
)

◆ extract_mip_3dm_uart_baudrate_response()

void mip::C::extract_mip_3dm_uart_baudrate_response ( microstrain_serializer serializer,
mip_3dm_uart_baudrate_response self 
)

◆ insert_mip_3dm_uart_baudrate_command()

void mip::C::insert_mip_3dm_uart_baudrate_command ( microstrain_serializer serializer,
const mip_3dm_uart_baudrate_command self 
)

◆ insert_mip_3dm_uart_baudrate_response()

void mip::C::insert_mip_3dm_uart_baudrate_response ( microstrain_serializer serializer,
const mip_3dm_uart_baudrate_response self 
)

◆ mip_3dm_default_uart_baudrate()

mip_cmd_result mip::C::mip_3dm_default_uart_baudrate ( mip_interface device)

◆ mip_3dm_load_uart_baudrate()

mip_cmd_result mip::C::mip_3dm_load_uart_baudrate ( mip_interface device)

◆ mip_3dm_read_uart_baudrate()

mip_cmd_result mip::C::mip_3dm_read_uart_baudrate ( mip_interface device,
uint32_t *  baud_out 
)

◆ mip_3dm_save_uart_baudrate()

mip_cmd_result mip::C::mip_3dm_save_uart_baudrate ( mip_interface device)

◆ mip_3dm_write_uart_baudrate()

mip_cmd_result mip::C::mip_3dm_write_uart_baudrate ( mip_interface device,
uint32_t  baud 
)