DolphinV4 API  1.6.1.0
ISR functions
Collaboration diagram for ISR functions:

Functions

void isr_timer0Init ()
void isr_ext0Init (uint8 u8Enable)
void isr_ext1Init (uint8 u8Enable)
void isr_sysInit (uint8 u8Enable)
void isr_timer0_smack_PM_Init ()
void isr_timer0_smack_Sensor_Init ()

Detailed Description

The ISR module offers a control over the system tasks that are running parallel to the application. Using the ISR init function the application can:


Function Documentation

void isr_timer0Init ( )

Timer0 interrupt initialization function for standard scheduler. You have to call this function in the maininit() in order to be able to use the API.

Parameters:
-
Returns:
-
void isr_ext0Init ( uint8  u8Enable)

Enables or disables the external interrupt 0

Parameters:
[in]u8EnableTRUE, external interrupt 0 enabled, FALSE, external interrupt 0 disabled
Returns:
-
Note:
This function has to be called with parameter TRUE, when ADIO0..2 interrupt callback is to be used
void isr_ext1Init ( uint8  u8Enable)

Enables or disables the external interrupt 1

Parameters:
[in]u8EnableTRUE, external interrupt 1 enabled, FALSE, external interrupt 1 disabled
Returns:
-
Note:
This function has to be called with parameter TRUE, when ADIO4..6 interrupt callback is to be used
void isr_sysInit ( uint8  u8Enable)

Enables or disables the system interrupt

Parameters:
[in]u8EnableTRUE, system interrupt enabled, FALSE, general interrupt disabled
Returns:
-
Note:
This function has to be called with parameter TRUE, when wake0 or wake1 interrupt callback is to be used
void isr_timer0_smack_PM_Init ( )

Timer0 interrupt initialization function for SmartACK scheduler only. You have to call this function in the maininit() in order to be able to use the SmartACK API.

Parameters:
-
Returns:
-
void isr_timer0_smack_Sensor_Init ( )

Timer0 interrupt initialization function for SmartACK sensor only. You have to call this function in the maininit() in order to be able to use the SmartACK API for sensors.

Parameters:
-
Returns:
-