Choco OS
V.0.16.9.0
Join to the chocolate world
|
The file with interface interrupt module. More...
Go to the source code of this file.
Data Structures | |
struct | oC_InterruptData_t |
structure with data for interrupts More... | |
Macros | |
#define | oC_InterruptType_(TYPE_NAME) |
Returns value from oC_InterruptType_t. It is an index of interrupt type. | |
#define | oC_InterruptIndex_(BASE_NAME, TYPE_NAME) |
Returns value from oC_InterruptIndex_t. It is an index of interrupt in interrupts vector. | |
#define | oC_InterruptNumber_(BASE_NAME, TYPE_NAME) |
Returns value from oC_InterruptNumber_t. | |
#define | oC_InterruptBaseAddress_(BASE_NAME, TYPE_NAME) |
Returns value from oC_InterruptBaseAddress_t. More... | |
#define | oc_InterruptHandlerName(BASE_NAME, TYPE_NAME) |
returns name of interrupt function More... | |
#define | oC_InterruptHandlerPrototype(BASE_NAME, TYPE_NAME) |
returns handler prototype of interrupt handler More... | |
#define | oC_InterruptHandlerWeakPrototype(BASE_NAME, TYPE_NAME) |
creates weak interrupt handler prototype. Not for user usage | |
#define | oC_InterruptHandler(BASE_NAME, TYPE_NAME) |
Define handler for interrupt. More... | |
#define | oC_DefaultInterruptHandler |
Creates prototype of default interrupt handler. More... | |
#define | oC_DefaultInterruptHandlerPrototype |
Creates special prototype for default interrupt handler. Not for user usage. | |
#define | oC_ResetInterruptHandlerName |
Name of reset handler. Not for user usage. | |
#define | oC_ResetInterruptHandler |
Prototype for reset handler. Not for user usage. | |
#define | oC_ResetInterruptHandlerPrototype |
Prototype of reset handler. Not for user usage. | |
Typedefs | |
typedef void(* | oC_InterruptHandler_t) (void) |
Stores interrupt handler pointer. More... | |
Enumerations |
Functions | |
const oC_InterruptData_t * | oC_Interrupt_GetData (oC_InterruptBaseAddress_t BaseAddress, oC_InterruptType_t InterruptType) |
returns data pointer for interrupt More... | |
Variables | |
oC_InterruptHandler_t | oC_UnexpectedInterruptHandler |
Handler for unexpected interrupts. More... | |
const oC_InterruptData_t | oC_InterruptData [oC_InterruptIndex_NumberOfElements] |
Data for interrupts. | |
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file oc_interrupts.h.
const oC_InterruptData_t* oC_Interrupt_GetData | ( | oC_InterruptBaseAddress_t | BaseAddress, |
oC_InterruptType_t | InterruptType | ||
) |
The function returns interrupt data pointer from the oC_InterruptData array.
BaseAddress | Base address to match |
InterruptType | Type of interrupt to find |
Definition at line 98 of file oc_interrupts.c.