Herzog Library 00.00.01
rel_libdev.herzog.00.00.01.10606
|
Macros | |
#define | DCM_3BIT_MASK 0x07 |
#define | DCM_3BIT_LENGTH 0x03 |
#define | DCM_3BIT_ONE 0x04 |
#define | DCM_3BIT_ZERO 0x06 |
#define | DCM_4BIT_MASK 0x0F |
#define | DCM_4BIT_LENGTH 0x04 |
#define | DCM_4BIT_ONE 0x08 |
#define | DCM_4BIT_ZERO 0x0E |
#define | DCM_5BIT_MASK 0x1F |
#define | DCM_5BIT_LENGTH 0x05 |
#define | DCM_5BIT_ONE 0x10 |
#define | DCM_5BIT_ZERO 0x3E |
#define | MAX_TX_BURST_BIT_SIZE 1024 |
#define | MAX_TX_PREAMBLE_BIT_SIZE 16 |
#define | MAX_TX_SYNC_BIT_SIZE 16 |
#define | MAX_TX_CRC_BIT_SIZE 8 |
#define | MAX_TX_MAX_DATA_BIT_SIZE |
#define | MAX_TX_BYTE_SIZE (MAX_TX_MAX_DATA_BIT_SIZE / 8); |
#define | ASK3DCM_PAYLOAD_BYTE_TEMPLATE 0x00924924UL |
Functions | |
static uint32_t | EncodeASK3DCMByte (const uint8_t pay) |
int32_t | DCM_Encoder (DCM_FMT_t mode, uint8_t *src, uint8_t *des, uint8_t len) |
Encode data. More... | |
Variables | |
static const uint16_t | dcm_4bit_lut [16] |
static const uint16_t | ASK3DCM_PAYLOAD_NIBBLE_LUT [16] |
This file is proprietary to Indie Semiconductor. All rights reserved. Reproduction or distribution, in whole or in part, is forbidden except by express written permission of Indie Semiconductor.
#define ASK3DCM_PAYLOAD_BYTE_TEMPLATE 0x00924924UL |
#define DCM_3BIT_LENGTH 0x03 |
#define DCM_3BIT_MASK 0x07 |
#define DCM_3BIT_ONE 0x04 |
#define DCM_3BIT_ZERO 0x06 |
#define DCM_4BIT_LENGTH 0x04 |
#define DCM_4BIT_MASK 0x0F |
#define DCM_4BIT_ONE 0x08 |
#define DCM_4BIT_ZERO 0x0E |
#define DCM_5BIT_LENGTH 0x05 |
#define DCM_5BIT_MASK 0x1F |
#define DCM_5BIT_ONE 0x10 |
#define DCM_5BIT_ZERO 0x3E |
#define MAX_TX_BURST_BIT_SIZE 1024 |
#define MAX_TX_BYTE_SIZE (MAX_TX_MAX_DATA_BIT_SIZE / 8); |
#define MAX_TX_CRC_BIT_SIZE 8 |
#define MAX_TX_MAX_DATA_BIT_SIZE |
#define MAX_TX_PREAMBLE_BIT_SIZE 16 |
#define MAX_TX_SYNC_BIT_SIZE 16 |
int32_t DCM_Encoder | ( | DCM_FMT_t | mode, |
uint8_t * | src, | ||
uint8_t * | des, | ||
uint8_t | len | ||
) |
Encode data.
mode | The format for the data to be encoded. |
src | The pointer to the data to be encoded. |
des | The pointer to the decoded data to be saved. |
len | The length bytes of the source data in number of bytes. |
|
static |
|
static |
|
static |