The registers involved in the WATCHDOG timer are as follows:
1. WTCON register
Used to set the pre-scaling factor, select the operating frequency, decide whether to enable interrupts, and whether to enable the WATDOG function (i.e., whether to output a reset signal).
WATDOG timer operating frequency = PCLK/(prescaler value+1)/(divider value)
prescaler value = 0 ~ 255;
divider value = 16,32,64,128;
The WTCON in the chip manual is as follows:
#include "2440addr.h"
#define U32 unsigned int
void Delay(int a)
{
int k;
Previous article:Usage of FL2440 UART
Next article:System clock and timer - PWM timer
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Purgatory Legend-RAM War
- ATX-100 Series Cable Harness Tester Revealed! (Demo + Features)
- Who can give me the control circuit of the car main driver's door glass lifting switch group
- Reasons why the automatic function of a digital oscilloscope cannot be triggered when measuring low-frequency signals
- Running helloworld-porting on iTOP-4418 development board
- Capacitor selection and installation considerations
- Millimeter wave sensor technology for detecting passengers in moving vehicles
- How to detect whether a POE switch is a single-chip microcomputer
- Two small questions about the C5509A debugging process
- TMS320C6678 external memory DDR3 hardware design and software debugging