James Smith

Typo in the LPC802 user manual.

Discussion created by James Smith on Mar 22, 2019
Latest reply on Mar 22, 2019 by ZhangJennie

typo in CTIMER section of the user manual.The CTIMER section of the user manual for the LPC802 has a typo.  It should be PRESETCTRL0 not 1.  Seems to be confirmed in Table 64, as well as in the lpc802.h header file, so that resetting should look like this, I believe:

 

    // Reset the CTIMER module via PresetControl 0 register
    // bit is 1 out of reset (cleared reset).  Make it 0, then 1.
    SYSCON->PRESETCTRL0 &= ~(SYSCON_PRESETCTRL0_CTIMER0_RST_N_MASK); // 0
    SYSCON->PRESETCTRL0 |=  (SYSCON_PRESETCTRL0_CTIMER0_RST_N_MASK); // 1

Outcomes