创客百科

姿势共享,有节操无门槛参与的创客百科,创客动力之源 \ (^_^) /

用户工具

站点工具


arduino:avrgcc:sfr_byte

_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.

#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.

本页面的其他翻译:
arduino/avrgcc/sfr_byte.txt · 最后更改: 2016/12/25 22:15 (外部编辑)