Hi All,
I'm wondering why the RTC_GPIO_IN_NEXT definition in rtc_io_reg.h is:
#define RTC_GPIO_IN_NEXT 0x0003FFFF
According to the specs, the GPIO17 - GPIO0 match bit31-bit14 in RTC_GPIO_IN_REG. All lower bits (13-0) are reserved.
Therefore shouldn't it be:
#define RTC_GPIO_IN_NEXT 0x00003FFF ?
Regards
Grzegorz
RTC_GPIO_IN_NEXT definition
Re: RTC_GPIO_IN_NEXT definition
It shouldn't be 0x00003FFF but there are definitely inconsistencies in the way fields are defined sometimes they are equal to the vector value and sometimes they are equal to the mask value. I think all the macros use the vector, shift, and mask anyway so it doesn't seem to cause problems.
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 88 guests