Avr8bit-emulator
An emulator for the Atmel AVR 8-bit microcontroller
Loading...
Searching...
No Matches
mcu_control.c
Go to the documentation of this file.
1#include "mcu_control.h"
2
8void break_point(struct CORE *core) {
9}
10
11void nop(struct CORE *core) {
12 // No operation
13 // 1 cycle
14}
15
16void sleep(struct CORE *core) {
17 // Sleep
18 // 1 cycle
19}
20
21void wdr(struct CORE *core) {
22 // Watchdog Reset
23 // 1 cycle
24}
void break_point(struct CORE *core)
Breakpoint.
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