这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
arduino:avrgcc:main [2016/12/25 22:20] Spoony |
— (当前版本) | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== AVR-GCC ====== | ||
- | |||
- | ^hardware/tools/avr/avr/include/avr/pgmspace.h^^ | ||
- | |[[arduino:avrgcc:pgm_read_byte()|pgm_read_byte()]] |一个宏,用于读取存储在指定地址的一个byte数据(PROGMEM 区域)。| | ||
- | |[[arduino:avrgcc:pgm_read_byte_near()|pgm_read_byte_near()]] |一个宏,用于读取存储在指定地址的一个byte数据(PROGMEM 区域)。| | ||
- | |[[arduino:avrgcc:__LPM()|__LPM()]] |一个宏,用于读取在指定地址存储的一个byte数据(PROGMEM 区域)。| | ||
- | |[[arduino:avrgcc:__LPM_enhanced__()|__LPM_enhanced__()]] |一个汇编代码,用于读取存储在指定地址的一个byte数据(PROGMEM 区域)。| | ||
- | |[[arduino:avrgcc:pgm_read_word()|pgm_read_word()]] |一个宏,用于读取存储在指定地址的一个word数据(PROGMEM 区域)。| | ||
- | |[[arduino:avrgcc:pgm_read_word_near()|pgm_read_word_near()]] |一个宏,用于读取存储在指定地址的一个word数据(PROGMEM 区域)。| | ||
- | |[[arduino:avrgcc:__LPM__word()|__LPM__word()]] |一个宏,用于读取存储在指定地址的一个word数据(PROGMEM 区域)。| | ||
- | |[[arduino:avrgcc:__LPM_word_enhanced__()|__LPM_word_enhanced__()]] |一个汇编代码,用于读取存储在指定地址的一个word数据(PROGMEM 区域)。| | ||
- | |||
- | |||
- | ^hardware/tools/avr/avr/include/avr/common.h^^ | ||
- | |[[arduino:avrgcc:SREG|SREG]] |ATmega328P的状态寄存器。| | ||
- | |||
- | |||
- | ^hardware/tools/avr/avr/include/avr/sfr_defs.h^^ | ||
- | |[[arduino:avrgcc:_BV()|_BV()]] |A macro that shifts 1 to left by the specified numnber.| | ||
- | |[[arduino:avrgcc:_SFR_ADDR()|_SFR_ADDR()]] |A macro that returns the address of the argument.| | ||
- | |[[arduino:avrgcc:_SFR_MEM_ADDR()|_SFR_MEM_ADDR()]] |A macro that returns the address of the argument.| | ||
- | |[[arduino:avrgcc:_SFR_BYTE()|_SFR_BYTE()]] |A macro that returns a byte of data of the specified address.| | ||
- | |[[arduino:avrgcc:_SFR_WORD()|_SFR_WORD()]] |A macro that returns two bytes of data of the specified address.| | ||
- | |[[arduino:avrgcc:_SFR_IO8()|_SFR_IO8()]] |A macro that returns a byte of data at an address of io_addr + __SFR_OFFSET.| | ||
- | |[[arduino:avrgcc:_SFR_MEM8()|_SFR_MEM8()]] |A macro that returns a byte of data of the specified address.| | ||
- | |[[arduino:avrgcc:_SFR_MEM16()|_SFR_MEM16()]] |A macro to return two bytes of data of the specified address.| | ||
- | |[[arduino:avrgcc:_MMIO_BYTE()|_MMIO_BYTE()]] |A macro that returns a byte of data at the specified address| | ||
- | |[[arduino:avrgcc:_MMIO_WORD()|_MMIO_WORD()]] |A macro that returns two bytes of data at the specified address.| | ||
- | |[[arduino:avrgcc:bit_is_set()|bit_is_set()]] |A macro that checks if the second argumen-th bit of the first argument is 1.| | ||
- | |[[arduino:avrgcc:_VECTOR()|_VECTOR()]] |A macro to convert an interrupt vector number to a real address.| | ||
- | |||
- | |||
- | ^hardware/tools/avr/avr/include/avr/iom328p.h^^ | ||
- | |[[arduino:avrgcc:DDRx|DDRx]] |Registers which determine if the digital pin is output mode or input mode.| | ||
- | |[[arduino:avrgcc:PORTxn|PORTxn]] |Registers for bi-directional I/O.| | ||
- | |[[arduino:avrgcc:ADMUX|ADMUX]] |A register that controls the reference voltage, the presentation of the ADC conversion(left adjust or right adjust) and analog channel selection.| | ||
- | |[[arduino:avrgcc:ADCSRA|ADCSRA]] |A register to control AD conversion.| | ||
- | |[[arduino:avrgcc:ADCL/ADCH|ADCL/ADCH]] |Registers which store the result of AD conversion.| | ||
- | |[[arduino:avrgcc:TCCRnx|TCCRnx]] |Registers to control timers and counters.| | ||
- | |[[arduino:avrgcc:OCRnx|OCRnx]] |Registers are registers to set the duty ratio for PWM output.| | ||
- | |[[arduino:avrgcc:TIMSKn|TIMSKn]] |Registers related to timer interruption.| | ||
- | |[[arduino:avrgcc:Interrupt Vectors|Interrupt Vectors]] |Definitions of the interrupt vectors.| | ||
- | |[[arduino:avrgcc:TCNTn|TCNTn]] |Registers incremented by each timer clock.| | ||
- | |[[arduino:avrgcc:TIFRn|TIFRn]] |Registers to control timer interruption.| | ||
- | |[[arduino:avrgcc:EICRA|EICRA]] |A registers to control external interrupt.| | ||
- | |[[arduino:avrgcc:EICRA|EIMSK]] |A registers to control external interrupt.| | ||
- | |[[arduino:avrgcc:USART0|USART0]] |USART0(Universal Synchronous and Asynchronous serial Receiver and Transmitter) related registers.| | ||
- | |||
- | |||
- | ^hardware/tools/avr/avr/include/avr/interrupt.h^^ | ||
- | |[[arduino:avrgcc:cli()|cli()]] |A macro that executes an assembler instruction to disable interrupts.| | ||
- | |[[arduino:avrgcc:sei()|sei()]] |A macro that executes an assembler instruction to enable interrupts.| | ||
- | |[[arduino:avrgcc:ISR()|ISR()]] |A macro to define a function to register to interrupt vectors.| | ||
- | |[[arduino:avrgcc:SIGNAL()|SIGNAL()]] |A macro to define a function to register to interrupt vectors.| |