systimer: refactor hal to accomodate more xtal choices

This commit is contained in:
morris
2022-07-21 19:05:21 +08:00
parent 0f08d4050d
commit d94432fea8
26 changed files with 200 additions and 156 deletions

View File

@@ -324,7 +324,7 @@ typedef union {
} systimer_date_reg_t;
typedef struct {
typedef struct systimer_dev_t {
volatile systimer_conf_reg_t conf;
volatile systimer_unit_op_reg_t unit_op[2];
volatile systimer_unit_load_val_reg_t unit_load_val[2];