---------------- How to set the peripheral module to idle -----------------------
Each peripheral module can be set to idle mode as follows:
- Write 1 to the corresponding bit of picr, and the corresponding bit is the bit corresponding to the peripheral.
- Write 1 to the peri bit of the back-to-back office.
- Run the idle command
- The peripherals of the corresponding picr bit will enter the idle state.
Picr registers such as ------------------ methods for recovering the peripheral module from the idle state --------------------- one-time activation of all peripherals:
- Write 0 to the back-to-back Peri bit.
- Run the idle command
- All peripherals are activated.
How to activate some peripherals:
- Write 0 to the corresponding peripheral bit of picr
After writing, the corresponding peripherals are activated. ----------------------------------------------------------------------- Note:
- Picr: Peripheral idle control register
- If a module is not used and tries to set it to idle mode for the reusable peripherals, such as mcbsp2 and UART, it will cause a bus error.