MCPcopy Create free account
hub / github.com/kiibohd/controller / TC1_Handler

Function TC1_Handler

Lib/entropy.c:352–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352void TC1_Handler()
353{
354 uint32_t status = TC0->TC_CHANNEL[1].TC_SR;
355 if ( status & TC_SR_CPCS )
356 {
357 // Use the current state of systick for seeding
358 isr_hardware_neutral(SysTick->VAL & SysTick_VAL_CURRENT_Msk);
359 }
360}
361#elif defined(_sam4s_)
362void rand_initialize()
363{

Callers

nothing calls this directly

Calls 1

isr_hardware_neutralFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…