Lazuli
Loading...
Searching...
No Matches
Functions
arch.c File Reference

Hardware specific layer. More...

#include <stdint.h>
#include <Lazuli/common.h>
#include <Lazuli/config.h>
#include <Lazuli/sys/arch/AVR/registers.h>
#include <Lazuli/sys/arch/arch.h>
#include "avr_arch.h"

Go to the source code of this file.

Functions

void Arch_InitIdleCpuMode (void)
 Initialize idle CPU modes.
 
void Arch_CpuSleep (void)
 Put the CPU to sleep according to the sleep settings.
 
void Arch_InitInstrumentation (void)
 Initialize the context switch instrumentation.
 

Detailed Description

Hardware specific layer.

This file describes the implementation of some architecture-specific functions. For now it's typically what can be written in pure C, so what doesn't go to startup.S.

Definition in file arch.c.

Function Documentation

◆ Arch_InitIdleCpuMode()

void Arch_InitIdleCpuMode ( void  )

Initialize idle CPU modes.

Definition at line 27 of file arch.c.

◆ Arch_CpuSleep()

void Arch_CpuSleep ( void  )

Put the CPU to sleep according to the sleep settings.

Definition at line 60 of file arch.c.

◆ Arch_InitInstrumentation()

void Arch_InitInstrumentation ( void  )

Initialize the context switch instrumentation.

Definition at line 69 of file arch.c.