Xtensa interrupt management function prototypes
This commit is contained in:
parent
6369b4cefa
commit
3a5b46a09a
2 changed files with 12 additions and 13 deletions
|
@ -221,6 +221,7 @@ void vPortExitCritical( void )
|
|||
handled in libmain.a (xtensa_vectors.o) which then can call into here
|
||||
passing an interrupt mask.
|
||||
*/
|
||||
|
||||
_xt_isr isr[16];
|
||||
|
||||
void _xt_isr_attach(uint8_t i, _xt_isr func)
|
||||
|
|
|
@ -190,20 +190,18 @@ not necessary for to use this port. They are defined so the common demo files
|
|||
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/* XTensa interrupt management functions, used in port.c.
|
||||
Implementations in blob libs */
|
||||
void _xt_int_exit (void);
|
||||
void _xt_user_exit (void);
|
||||
void _xt_tick_timer_init (void);
|
||||
void _xt_isr_unmask (uint32_t unmask);
|
||||
void _xt_isr_mask (uint32_t mask);
|
||||
uint32_t _xt_read_ints (void);
|
||||
void _xt_clear_ints(uint32_t mask);
|
||||
|
||||
|
||||
/* interrupt related */
|
||||
typedef void (* _xt_isr)(void);
|
||||
|
||||
void _xt_isr_attach (uint8_t i, _xt_isr func);
|
||||
|
||||
|
||||
void _xt_timer_int1(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue