Common peripheral initialization

Common static peripheral driver initialization. More...

Detailed Description

Common static peripheral driver initialization.

This interface provides a central hook for any static peripheral initialization that might be needed. Typical drivers that need this are shared peripherals like SPI and I2C.

Files

file  init.h
 Common peripheral driver initialization interface.
 

Functions

void periph_init (void)
 Common peripheral initialization function. More...
 

Function Documentation

◆ periph_init()

void periph_init ( void  )

Common peripheral initialization function.

This function should call all needed static initialization functions for configured peripheral drivers like SPI or I2C. This function SHOULD be called early in the boot process, e.g. before the actual kernel initialization is started.