Avr8bit-emulator
An emulator for the Atmel AVR 8-bit microcontroller
Loading...
Searching...
No Matches
mcu_control.h
Go to the documentation of this file.
1#pragma once
2#include <stdint.h>
3#include <stdbool.h>
4
5#include "core.h"
6
17void break_point(struct CORE *core);
18
29void nop(struct CORE *core);
30
41void sleep(struct CORE *core);
42
53void wdr(struct CORE *core);
void break_point(struct CORE *core)
Triggers a breakpoint in the MCU emulator.
Definition mcu_control.c:8
void sleep(struct CORE *core)
Puts the MCU into sleep mode.
Definition mcu_control.c:16
void wdr(struct CORE *core)
Resets the watchdog timer.
Definition mcu_control.c:21
void nop(struct CORE *core)
Executes a no-operation instruction.
Definition mcu_control.c:11
Core structure containing general purpose registers, program counter, stack pointer,...
Definition core.h:67