Playing with Arduino
A page to record my playing with Arduino
_MMIO_BYTE()

Abstract

The _MMIO_BYTE() is a macro that dereferences a byte of data at the specified address.

Source Code

The _MMIO_BYTE() is defined in hardware/tools/avr/avr/include/avr/sfr_defs.h as below.

1
#define _MMIO_BYTE(mem_addr) (*(volatile uint8_t *)(mem_addr))

The input is mem_addr and dereferences its contents.

Version

Arduino 1.8.13/avr-gcc 7.3.0-atmel3.6.1-arduino

Last Update

June 19, 2020

inserted by FC2 system