Serial Wombat 4A and 4B Firmware
Functions | Variables
asciiConversion.h File Reference
#include <stdint.h>

Go to the source code of this file.

Functions

uint8_t ascii_to_val (uint8_t a)
 
void uint16ToAscii5 (uint16_t val, uint8_t *buffer)
 
void uint16ToAscii5NoHWMath (uint16_t val, uint8_t *buffer)
 
void uint16ToAscii5NoHWMathTx (uint16_t val, uint8_t index)
 
void uint16ToAscii5NoHWMathNoIndex (void)
 
void uint16ToAsciiHex4 (uint16_t val, uint8_t *buffer)
 

Variables

uint16_t asciiVal
 
uint8_t asciiChar [5]
 

Function Documentation

◆ ascii_to_val()

uint8_t ascii_to_val ( uint8_t  a)

◆ uint16ToAscii5()

void uint16ToAscii5 ( uint16_t  val,
uint8_t *  buffer 
)

◆ uint16ToAscii5NoHWMath()

void uint16ToAscii5NoHWMath ( uint16_t  val,
uint8_t *  buffer 
)

◆ uint16ToAscii5NoHWMathNoIndex()

void uint16ToAscii5NoHWMathNoIndex ( void  )

◆ uint16ToAscii5NoHWMathTx()

void uint16ToAscii5NoHWMathTx ( uint16_t  val,
uint8_t  index 
)

◆ uint16ToAsciiHex4()

void uint16ToAsciiHex4 ( uint16_t  val,
uint8_t *  buffer 
)

Variable Documentation

◆ asciiChar

uint8_t asciiChar[5]

◆ asciiVal

uint16_t asciiVal