can i use hardware timer in a thread?

as we all know, we can use taskDelay in a thread , but the software timer is not quite precise. so what will be happen ii i use hardware timer in thread. for example i want a us delay.

can i use hardware timer in a thread?

It is not clear what you mean. Do you want to configure a hardware timer then poll it until it expires? You can do that, but if you poll it (just loop until it expires) then not tasks with lower priority will run because the task doing the polling is alway either Running or Ready.