Loading...
Searching...
No Matches
compat_layer.h File Reference

Compatibility layer for different CPU architectures. More...

Detailed Description

Compatibility layer for different CPU architectures.

Author
Tom Hert git@a.nosp@m.nnsa.nosp@m.nn.eu

Definition in file compat_layer.h.

#include "periph_cpu.h"
#include <stdint.h>
+ Include dependency graph for compat_layer.h:

Go to the source code of this file.

uint32_t _isr_vectors
 Defined in the linker script.
 
static void rp_irq_enable (uint32_t irq_no)
 Enable the given IRQ.
 
static void rp_irq_disable (uint32_t irq_no)
 Disable the given IRQ.
 
static void rp_end_isr (void)
 Called upon the end of an ISR.
 
static void rp_arch_init (void)
 Initialize the architecture-specific components.
 
static void rp_block_core (void)
 Wait For Interrupt abstraction.
 
static void rp_unblock_core (void)
 Set Event abstraction.
 
static uint32_t * rp_get_vector_poiner (void)
 Get a pointer to the CPU specific interrupt vector table.
 

Function Documentation

◆ rp_arch_init()

static void rp_arch_init ( void )
inlinestatic

Initialize the architecture-specific components.

Definition at line 76 of file compat_layer.h.

◆ rp_block_core()

static void rp_block_core ( void )
inlinestatic

Wait For Interrupt abstraction.

Definition at line 88 of file compat_layer.h.

◆ rp_end_isr()

static void rp_end_isr ( void )
inlinestatic

Called upon the end of an ISR.

Definition at line 66 of file compat_layer.h.

◆ rp_get_vector_poiner()

static uint32_t * rp_get_vector_poiner ( void )
inlinestatic

Get a pointer to the CPU specific interrupt vector table.

Returns
Pointer to the CPU specific interrupt vector table

Definition at line 113 of file compat_layer.h.

◆ rp_irq_disable()

static void rp_irq_disable ( uint32_t irq_no)
inlinestatic

Disable the given IRQ.

Parameters
[in]irq_noIRQ number to disable

Definition at line 54 of file compat_layer.h.

◆ rp_irq_enable()

static void rp_irq_enable ( uint32_t irq_no)
inlinestatic

Enable the given IRQ.

Parameters
[in]irq_noIRQ number to enable

Definition at line 41 of file compat_layer.h.

◆ rp_unblock_core()

static void rp_unblock_core ( void )
inlinestatic

Set Event abstraction.

Definition at line 100 of file compat_layer.h.