NRF51822 timer configuration use error "No TIMER instances enabled in the driver configuration file."

Problem description: The following error is reported when configuring the NRF51822 timer:
Insert picture description here

Problem analysis: An error means that no TIMER instance is enabled in the driver configuration file, so you only need to nrf_drv_config.hopen the instance in the file.
Specific operation:
Insert picture description here
the compiling effect is as follows:
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_37449342/article/details/106983855