This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294NCPDT芯片重启的函数是什么呢?

Other Parts Discussed in Thread: TM4C1294NCPDT

TM4C1294NCPDT芯片重启的函数是什么呢?  有人知道吗?

  • //*****************************************************************************
    //
    //! Resets the device.
    //!
    //! This function performs a software reset of the entire device. The
    //! processor and all peripherals are reset and all device registers are
    //! returned to their default values (with the exception of the reset cause
    //! register, which maintains its current value but has the software reset
    //! bit set as well).
    //!
    //! \return This function does not return.
    //
    //*****************************************************************************
    void
    SysCtlReset(void)
    {
    //
    // Perform a software reset request. This request causes the device to
    // reset, no further code is executed.
    //
    HWREG(NVIC_APINT) = NVIC_APINT_VECTKEY | NVIC_APINT_SYSRESETREQ;

    //
    // The device should have reset, so this should never be reached. Just in
    // case, loop forever.
    //
    while(1)
    {
    }
    }

  • 芯片重启函数没有,楼主说的应该是复位函数。在库函数驱动手册27章那里有讲解