MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / clk_get

Function clk_get

components/drivers/clk/clk.c:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 * @return struct rt_clk_node * point to clock node whose reference count has increased
51 */
52rt_inline struct rt_clk_node *clk_get(struct rt_clk_node *clk_np)
53{
54 rt_ref_get(&clk_np->ref);
55
56 return clk_np;
57}
58
59/**
60 * @brief Decrease reference count for clock node

Callers 1

clk_createFunction · 0.70

Calls 1

rt_ref_getFunction · 0.85

Tested by

no test coverage detected