bsptemplate/asspandvariant/template_variant/specific/keyboard_interrupt.cpp
changeset 90 947f0dc9f7a8
parent 0 a41df078684a
equal deleted inserted replaced
52:2d65c2f76d7b 90:947f0dc9f7a8
   180 
   180 
   181 void DKeyboardTemplate::Isr(TAny* aPtr)
   181 void DKeyboardTemplate::Isr(TAny* aPtr)
   182 	{
   182 	{
   183 	DKeyboardTemplate& k=*(DKeyboardTemplate*)aPtr;
   183 	DKeyboardTemplate& k=*(DKeyboardTemplate*)aPtr;
   184 	Interrupt::Disable(KIntIdKeyboard);
   184 	Interrupt::Disable(KIntIdKeyboard);
       
   185 
       
   186     // Add the timing of key interrupts as entropy data for the RNG
       
   187 	Interrupt::AddTimingEntropy();
       
   188 
   185 	k.iEventDfc.Add();
   189 	k.iEventDfc.Add();
   186 	}
   190 	}
   187 
   191 
   188 void DKeyboardTemplate::EventDfcFn(TAny* aPtr)
   192 void DKeyboardTemplate::EventDfcFn(TAny* aPtr)
   189 	{
   193 	{