Samsung Internal API reference  2.0
tee_interrupt.h
Go to the documentation of this file.
1 
9 #ifndef _TEE_INTERRUPT_H_
10 #define _TEE_INTERRUPT_H_
11 
12 #include <time.h>
13 #include <tee_internal_api.h>
14 #include <driver/interrupt/interrupt.h>
15 
19 
61 DSO_EXPORT TEE_Result TEES_AllocateInterrupt(int nr, intruhandler handler, TEES_InterruptHandle *handle);
62 
82 DSO_EXPORT TEE_Result TEES_ReleaseInterrupt(TEES_InterruptHandle handle);
83 
127 DSO_EXPORT TEE_Result TEES_GenerateInterrupt(TEES_InterruptHandle handle);
128 
175 DSO_EXPORT TEE_Result TEES_WaitForInterrupt(TEES_InterruptHandle handle, uint32_t timeout);
176 
222 DSO_EXPORT TEE_Result TEES_CompleteInterrupt(TEES_InterruptHandle handle);
223 
224 #endif /* _TEE_INTERRUPT_H_ */
225 
Time header.
TEE_Result TEES_AllocateInterrupt(int nr, intruhandler handler, TEES_InterruptHandle *handle)
This function is used to allocate interrupt and register user handler.
TEE_Result TEES_GenerateInterrupt(TEES_InterruptHandle handle)
This function is used to generate interrupt.
int TEES_InterruptHandle
Definition: tee_interrupt.h:18
TEE_Result TEES_CompleteInterrupt(TEES_InterruptHandle handle)
This function is used to notify about interrupt arrival.
TEE_Result TEES_WaitForInterrupt(TEES_InterruptHandle handle, uint32_t timeout)
This function is used to wait for interrupt.
TEE_Result TEES_ReleaseInterrupt(TEES_InterruptHandle handle)
This function is used to release interrupt.