mirror of
git://projects.qi-hardware.com/f32xbase.git
synced 2025-04-21 12:27:27 +03:00
Added timer register values.
- fw/common/regs-f32x.h: common values for TCON, TMOD, and CKCON - fw/common/regs-f320.h: C8051F320-specific values for TMOD and CKCON
This commit is contained in:
@@ -39,4 +39,13 @@
|
||||
#define XBARE 0x40 /* Crossbar Enable */
|
||||
#define WEAKPUD 0x80 /* Port I/O Weak Pull-up Disable */
|
||||
|
||||
/* TMOD, extending f32x */
|
||||
#define C_T0 0x04 /* Counter/Timer Select */
|
||||
|
||||
/* CKCON, extending f32x */
|
||||
#define T2ML 0x10 /* Timer 2 Low Byte Clock Select */
|
||||
#define T2MH 0x20 /* Timer 2 High Byte Clock Select */
|
||||
#define T3ML 0x40 /* Timer 3 Low Byte Clock Select */
|
||||
#define T3MH 0x80 /* Timer 3 High Byte Clock Select */
|
||||
|
||||
#endif /* REGS_F320_H */
|
||||
|
||||
Reference in New Issue
Block a user