Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ stop
Method
stop
Sming/Arch/Host/Components/driver/hw_timer.cpp:91–100 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
89
}
90
91
void stop()
92
{
93
if(state == running) {
94
state = stopped;
95
sem.post();
96
while(thread_state != state) {
97
//
98
}
99
}
100
}
101
102
uint32_t read()
103
{
Callers
1
hw_timer1_disable
Function · 0.45
Calls
1
post
Method · 0.45
Tested by
no test coverage detected