The friendly Operating System for the Internet of Things
Native

Native CPU specific code. More...

Detailed Description

Native CPU internal declarations.

The native CPU uses system calls to simulate hardware access.

CPU abstraction for the native port

Author
Ludwig Knüpfer ludwi.nosp@m.g.kn.nosp@m.uepfe.nosp@m.r@fu.nosp@m.-berl.nosp@m.in.d.nosp@m.e
Ludwig Knüpfer ludwi.nosp@m.g.kn.nosp@m.uepfe.nosp@m.r@fu.nosp@m.-berl.nosp@m.in.d.nosp@m.e

Files

file  async_read.h
 Multiple asynchronus read on file descriptors.
 
file  cpu/native/include/periph_conf.h
 Native CPU peripheral configuration.
 
file  native/include/periph_cpu.h
 CPU specific definitions for internal peripheral handling.
 
file  tty_uart.h
 UART implementation based on /dev/tty devices on host.
 

Typedefs

typedef void(* _native_callback_t) (void)
 Prototype for native's internal callbacks.
 

Functions

static void cpu_print_last_instruction (void)
 Prints the address the callee will return to.
 
int register_interrupt (int sig, _native_callback_t handler)
 register interrupt handler handler for interrupt sig
 
int unregister_interrupt (int sig)
 unregister interrupt handler for interrupt sig