创客百科

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

用户工具

站点工具


arduino:avrgcc:pgm_read_word

pgm_read_word()

Abstract

The pgm_read_byte() is a macro that read a word of data stored in a specified address(PROGMEM area).

Source Code

The pgm_read_word() is defined in hardware/tools/avr/avr/include/avr/pgmspace.h as below.

#define pgm_read_word(address_short)    pgm_read_word_near(address_short)

The input is address_short and calls the pgm_read_word_near() macro.

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