You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tcobsv1Internal.h 923B

12345678910111213141516171819202122232425262728
  1. /*! \file tcobsInternal.h
  2. \author Thomas.Hoehenleitner [at] seerose.net
  3. \details See ./TCOBSv1Specification.md. Only internal usage.
  4. *******************************************************************************/
  5. #ifndef TCOBS_INTERNAL_H_
  6. #define TCOBS_INTERNAL_H_
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. #define N 0xA0 //!< sigil byte 0x101ooooo, offset 0-31
  11. #define Z1 0x20 //!< sigil byte 0x001ooooo, offset 0-31
  12. #define Z2 0x40 //!< sigil byte 0x010ooooo, offset 0-31
  13. #define Z3 0x60 //!< sigil byte 0x011ooooo, offset 0-31
  14. #define F2 0xC0 //!< sigil byte 0x110ooooo, offset 0-31
  15. #define F3 0xE0 //!< sigil byte 0x111ooooo, offset 0-31
  16. #define F4 0x80 //!< sigil byte 0x100ooooo, offset 0-31
  17. #define R2 0x08 //!< sigil byte 0x00001ooo, offset 0-7
  18. #define R3 0x10 //!< sigil byte 0x00010ooo, offset 0-7
  19. #define R4 0x18 //!< sigil byte 0x00011ooo, offset 0-7
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif // TCOBS_INTERNAL_H_