Searched refs:pu32Counter (Results 1 – 2 of 2) sorted by relevance
| /bsp/nuvoton/libraries/nu_packages/Demo/ |
| A D | hwsem_counter.c | 33 uint32_t *pu32Counter = (uint32_t *)DEF_COUNTER_ADDR; in hwsem_counter_go() local 39 *pu32Counter = 0; in hwsem_counter_go() 46 if (*pu32Counter >= 10) in hwsem_counter_go() 52 *pu32Counter = *pu32Counter + 1; in hwsem_counter_go() 55 …rt_kprintf("[%08x@CPU-%d] ->Inc %d@%08x\n", rt_thread_self(), rt_hw_cpu_id(), *pu32Counter, DEF_CO… in hwsem_counter_go() 57 rt_kprintf("[%08x]-> Inc %d@%08x\n", rt_thread_self(), *pu32Counter, DEF_COUNTER_ADDR); in hwsem_counter_go()
|
| A D | smp_demo.c | 122 uint32_t *pu32Counter = (uint32_t *)DEF_COUNTER_ADDR; in happy_mutex() local 124 *pu32Counter = 0; in happy_mutex() 131 if (*pu32Counter >= 1000) in happy_mutex() 137 *pu32Counter = *pu32Counter + 1; in happy_mutex() 140 …rt_kprintf("[%08x@CPU-%d] ->Inc %d@%08x\n", rt_thread_self(), rt_hw_cpu_id(), *pu32Counter, DEF_CO… in happy_mutex() 142 rt_kprintf("[%08x]-> Inc %d@%08x\n", rt_thread_self(), *pu32Counter, DEF_COUNTER_ADDR); in happy_mutex()
|
Completed in 5 milliseconds