mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-01-11 18:33:16 +01:00
dm36x: Move ISR registration to header available from application code.
This commit is contained in:
@@ -30,12 +30,8 @@
|
||||
#ifndef __ATOM_PORT_PRIVATE_H
|
||||
#define __ATOM_PORT_PRIVATE_H
|
||||
|
||||
/* ISR handler prototype used for registration of interuppt handlers */
|
||||
typedef void (*ISR_FUNC)(void);
|
||||
|
||||
/* Function prototypes */
|
||||
extern void archIRQHandler (void);
|
||||
extern int archISRInstall (int int_vector, ISR_FUNC isr_func);
|
||||
|
||||
/* Platform-specific interrupt dispatcher called on receipt of IRQ */
|
||||
extern void __interrupt_dispatcher (void);
|
||||
|
||||
@@ -56,6 +56,12 @@ extern void archUsleep (int32_t microsecs);
|
||||
extern int32_t archUsleepStart (void);
|
||||
extern int archUsleepCheckExpired (int32_t start_time, int32_t delay_usecs);
|
||||
|
||||
/**
|
||||
* ISR handler registration (optional, not available on all ports)
|
||||
*/
|
||||
typedef void (*ISR_FUNC)(void);
|
||||
extern int archISRInstall (int int_vector, ISR_FUNC isr_func);
|
||||
|
||||
/**
|
||||
*
|
||||
* Functions defined in atomport_arm.asm
|
||||
|
||||
Reference in New Issue
Block a user