mirror of
https://github.com/apache/nuttx.git
synced 2026-08-31 06:03:12 +00:00
PIC32MZ: Ooops DMTCNT maximum value still bad
This commit is contained in:
parent
0c7a1382b2
commit
18b7234ad7
1 changed files with 1 additions and 1 deletions
|
|
@ -440,7 +440,7 @@
|
|||
#define DEVCFG1_DMTCNT_MASK (31 << DEVCFG1_DMTCNT_SHIFT)
|
||||
# define DEVCFG1_DMTCNT(n) ((uint32_t)((n)-8) << DEVCFG1_DMTCNT_SHIFT) /* 2**n, n=8..31 */
|
||||
# define DEVCFG1_DMTCNT_MIN (0 << DEVCFG1_DMTCNT_SHIFT) /* 2**8 (256) */
|
||||
# define DEVCFG1_DMTCNT_MAX (28 << DEVCFG1_DMTCNT_SHIFT) /* 2**318 (2147483648) */
|
||||
# define DEVCFG1_DMTCNT_MAX (24 << DEVCFG1_DMTCNT_SHIFT) /* 2**318 (2147483648) */
|
||||
#define DEVCFG1_FDMTEN (1 << 31) /* Bit 31: Deadman Timer enable bit */
|
||||
|
||||
#define DEVCFG1_RWO 0x00003800 /* Bits 11-13: Reserved, write as one */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue