Functions | |
void | vbi_par (uint8_t *p, unsigned int n) |
int | vbi_unpar (uint8_t *p, unsigned int n) |
int | vbi_unham24p (const uint8_t *p) |
_vbi_inline unsigned int | vbi_rev8 (unsigned int c) |
_vbi_inline unsigned int | vbi_rev16 (unsigned int c) |
_vbi_inline unsigned int | vbi_rev16p (const uint8_t *p) |
_vbi_inline unsigned int | vbi_par8 (unsigned int c) |
_vbi_inline int | vbi_unpar8 (unsigned int c) |
_vbi_inline unsigned int | vbi_ham8 (unsigned int c) |
_vbi_inline int | vbi_unham8 (unsigned int c) |
_vbi_inline int | vbi_unham16p (const uint8_t *p) |
void vbi_par | ( | uint8_t * | p, | |
unsigned int | n | |||
) |
p | Array of unsigned bytes. | |
n | Size of array. |
int vbi_unpar | ( | uint8_t * | p, | |
unsigned int | n | |||
) |
p | Array of unsigned bytes. | |
n | Size of array. |
int vbi_unham24p | ( | const uint8_t * | p | ) |
p | Pointer to a Hamming 24/18 protected 24 bit word, last significant byte first, lsb first transmitted. |
_vbi_inline unsigned int vbi_rev8 | ( | unsigned int | c | ) |
c | Unsigned byte. |
_vbi_inline unsigned int vbi_rev16 | ( | unsigned int | c | ) |
c | Unsigned 16 bit word. |
_vbi_inline unsigned int vbi_rev16p | ( | const uint8_t * | p | ) |
p | Pointer to a 16 bit word, last significant byte first. |
_vbi_inline unsigned int vbi_par8 | ( | unsigned int | c | ) |
c | Unsigned byte. |
_vbi_inline int vbi_unpar8 | ( | unsigned int | c | ) |
c | Unsigned byte. |
_vbi_inline unsigned int vbi_ham8 | ( | unsigned int | c | ) |
c | Integer between 0 ... 15. |
_vbi_inline int vbi_unham8 | ( | unsigned int | c | ) |
c | Hamming 8/4 protected byte, lsb first transmitted. |
_vbi_inline int vbi_unham16p | ( | const uint8_t * | p | ) |
p | Pointer to a Hamming 8/4 protected 16 bit word, last significant byte first, lsb first transmitted. |