1#ifndef _HWBP_CORE_REGS_H_
2#define _HWBP_CORE_REGS_H_
34#define ADD_R_WHO_AM_I 0x00
35#define ADD_R_HW_VERSION_H 0x01
36#define ADD_R_HW_VERSION_L 0x02
37#define ADD_R_ASSEMBLY_VERSION 0x03
38#define ADD_R_CORE_VERSION_H 0x04
39#define ADD_R_CORE_VERSION_L 0x05
40#define ADD_R_FW_VERSION_H 0x06
41#define ADD_R_FW_VERSION_L 0x07
42#define ADD_R_TIMESTAMP_SECOND 0x08
43#define ADD_R_TIMESTAMP_MICRO 0x09
44#define ADD_R_OPERATION_CTRL 0x0A
45#define ADD_R_RESET_DEV 0x0B
46#define ADD_R_DEVICE_NAME 0x0C
47#define ADD_R_SERIAL_NUMBER 0x0D
48#define ADD_R_CONFIG 0x0E
49#define ADD_R_TIMESTAMP_OFFSET 0x0F
52#define ADD_R_HEARTBEAT 0x12
55#define COMMON_BANK_ADD_MAX 0x12
56#define COMMON_BANK_ABSOLUTE_ADD_MAX 0x1C
59#define MSK_OP_MODE (3<<0)
61#define GM_OP_MODE_STANDBY (0<<0)
62#define GM_OP_MODE_ACTIVE (1<<0)
63#define GM_OP_MODE_SPEED (3<<0)
65#define B_HEARTBEAT_EN (1<<2)
67#define B_MUTE_RPL (1<<4)
68#define B_VISUALEN (1<<5)
69#define B_OPLEDEN (1<<6)
70#define B_ALIVE_EN (1<<7)
73#define B_RST_DEF (1<<0)
74#define B_RST_EE (1<<1)
78#define B_NAME_TO_DEFAULT (1<<3)
80#define B_BOOT_DEF (1<<6)
81#define B_BOOT_EE (1<<7)
84#define B_CLK_REP (1<<0)
85#define B_CLK_GEN (1<<1)
86#define B_CLK_SAVE (1<<2)
87#define B_REP_ABLE (1<<3)
88#define B_GEN_ABLE (1<<4)
89#define B_CLK_UNLOCK (1<<6)
90#define B_CLK_LOCK (1<<7)
93#define B_IS_SYNCHRONIZED (1<<0)
94#define B_IS_ACTIVE (1<<1)
Definition hwbp_core_regs.h:8
uint8_t R_OPERATION_CTRL
Definition hwbp_core_regs.h:19
uint8_t R_TIMESTAMP_OFFSET
Definition hwbp_core_regs.h:24
uint8_t R_RESET_DEV
Definition hwbp_core_regs.h:20
uint16_t R_HEARTBEAT
Definition hwbp_core_regs.h:27
uint16_t R_SERIAL_NUMBER
Definition hwbp_core_regs.h:22
uint8_t R_ASSEMBLY_VERSION
Definition hwbp_core_regs.h:12
uint16_t R_TIMESTAMP_MICRO
Definition hwbp_core_regs.h:18
uint8_t R_HW_VERSION_L
Definition hwbp_core_regs.h:11
uint8_t R_CORE_VERSION_L
Definition hwbp_core_regs.h:14
uint16_t R_WHO_AM_I
Definition hwbp_core_regs.h:9
uint8_t R_DEVICE_NAME[25]
Definition hwbp_core_regs.h:21
uint32_t R_TIMESTAMP_SECOND
Definition hwbp_core_regs.h:17
uint8_t R_CORE_VERSION_H
Definition hwbp_core_regs.h:13
uint8_t R_FW_VERSION_H
Definition hwbp_core_regs.h:15
uint8_t R_CLOCK_CONFIG
Definition hwbp_core_regs.h:23
uint8_t R_UID[16]
Definition hwbp_core_regs.h:25
uint8_t R_TAG[8]
Definition hwbp_core_regs.h:26
uint8_t R_HW_VERSION_H
Definition hwbp_core_regs.h:10
uint8_t R_FW_VERSION_L
Definition hwbp_core_regs.h:16