1
0

bsc.h 678 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. This software is subject to the license described in the License.txt file
  3. included with this software distribution. You may not use this file except in compliance
  4. with this license.
  5. Copyright (c) Dynastream Innovations Inc. 2012
  6. All rights reserved.
  7. */
  8. #ifndef BSC_H
  9. #define BSC_H
  10. #define BSC_REV 1.2 // Device Profile Rev.
  11. #define BSC_DEVICE_TYPE ((UCHAR) 121)
  12. #define BSC_TX_TYPE ((UCHAR) 1)
  13. #define BSC_MSG_PERIOD ((USHORT) 8086) // ~4.05 Hz
  14. #define BSC_HALF_PERIOD ((USHORT) 16172) // ~2.03 Hz
  15. #define BSC_QUARTER_PERIOD ((USHORT) 32344) // ~1.01 Hz
  16. #define BSC_PAGE0 ((UCHAR) 0)
  17. typedef enum
  18. {
  19. BSC_INIT = 0,
  20. BSC_ACTIVE = 1,
  21. } BSCState;
  22. #endif