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

Abstract

The _SFR_BYTE() is a macro that returns a byte of data of the specified address.

Source Code

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

1
#define _SFR_BYTE(sfr) _MMIO_BYTE(_SFR_ADDR(sfr))

It returns a macro that returns a byte of data of the specified address. The _SFR_ADDR() is a macro that returns the address and the _MMIO_BYTE() is a macro that returns a byte of data of the specified address.

Version

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

Last Update

June 19, 2020

inserted by FC2 system