FAQ

よくある質問

For Nuvoton's 8051 chips, can the timer be stopped during single-step execution in Keil Debug mode?  日付:2019-05-06

Keil can turn off the peripheral clock in Debug mode to achieve the effect of stopping the Timer in a single-step. However, after this setting is made, the peripherals will have no action during single-step execution such as PWM output.


To suspend the Timer in Debug mode, please follow the steps below:

(1) Click the "Options for target" icon

(2) Click the Settings button

(3) Uncheck "Enable PCLK"

 

 

製品: マイクロコントローラ ,8ビット 8051 MCU
アプリケーション:
機能: Peripherals,ARM,Interrupt,Clock Control,HCLK,Timer and PWM,Timer
This website uses cookies to ensure you get the best experience on our website. Learn more
OK