C API for BALTECH SDK
brp_TemplateFilter Struct Reference

For every of these filter bits, a specific data conversion mechanism is specified. More...

#include <typedefs.h>

Data Fields

bool BcdToBin
 Converts a BCD Number (must only contain nibbles 0-9, not A-F) to a binary number. More...
 
bool BinToAscii
 Convert Binarydata to ASCII by converting the ASCII characters 0x00-0x09 to 0x30-0x39 and 0x0A-0x0F to 0x41-0x49. More...
 
bool Unpack
 Splits the high and the low nibble of each byte into two separate bytes, where the high nibble is set to 0. More...
 
bool BinToBcd
 Converts a binary Number to a BCD encoded number. More...
 
bool SwapNibbles
 Swap the higher nibble (bits 5-7) of each byte with the lower nibble (bits 0-3). More...
 
bool Pack
 Merges two Bytes at a time to a single one by removing the leading nibble (which has to be 0) of each byte. More...
 
bool AsciiToBin
 Convert ASCII to Binarydata by converting the ASCII characters 0x30-0x39 to 0x00-0x09 and 0x41-0x49 (0x61-0x66) to 0x0A-0x0F. More...
 
bool Reverse
 Swap the first byte with the last one, the second one with the next to last one and so on. More...
 

Detailed Description

For every of these filter bits, a specific data conversion mechanism is specified.

This mechanism is applied to a TemplateCommand if the filterbit is set.

The activated filters are applied ordered by there value. Starting with the smallest value.

Definition at line 2959 of file typedefs.h.


The documentation for this struct was generated from the following file: