1907 views|5 replies

119

Posts

2

Resources
The OP
 

[Zhongke Bluexun AB32VG1 RISC-V board "encountered" RTT evaluation] Question post: The problem of hardware timer not being found [Copy link]

 

Recently, when I was evaluating the hardware timer, I found that timer1 could not be found. However, it was confirmed to exist using list_dedvice, and the timers that should be enabled were also enabled. I don't know why I couldn't find it.

The code is as follows:

   hw_timer = rt_device_find("time1");
    if(hw_timer == RT_NULL)
    {
        rt_kprintf("find %s failed\t\n", "time1");
        return RT_ERROR;
    }

Please take a look, guys!

image.png (38.19 KB, downloads: 0)

image.png

image.png (24.83 KB, downloads: 0)

image.png
This post is from Domestic Chip Exchange

Latest reply

The above is the correct answer   Details Published on 2021-5-7 10:24
 
 

1662

Posts

0

Resources
2
 

find time1 failed Why?

This post is from Domestic Chip Exchange
 
 
 

9702

Posts

24

Resources
3
 

timer1 is written as time1

This post is from Domestic Chip Exchange
 
 
 

7422

Posts

2

Resources
4
 

Is it keil? Can it be turned into black?

This post is from Domestic Chip Exchange
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

119

Posts

2

Resources
5
 

This is careless

This post is from Domestic Chip Exchange
 
 
 

1942

Posts

2

Resources
6
 

The above is the correct answer

This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list