관리 메뉴

(코딩캣) = "코딩"하는 고양이;

CodeVision과 AVR Studio간의 인터럽트 비교 본문

Embeded Programming/AVR

CodeVision과 AVR Studio간의 인터럽트 비교

컴파일러님, 이 코드는 고양이발로 작성되었습니다. 코딩집사 2011.12.18 21:20


ATmega128 기준입니다.

(출처: http://turbocrazy.tistory.com/1048)

 CodeVision

AVR Studio 

 interrupt [EXT_INT0] void ext_int1_isr(void);

ISR(INT0_vect);

 interrupt [EXT_INT1] void ext_int1_isr(void);

ISR(INT1_vect);

 interrupt [EXT_INT2] void ext_int2_isr(void);

ISR(INT2_vect); 

 interrupt [EXT_INT3] void ext_int3_isr(void);

ISR(INT3_vect); 

 interrupt [EXT_INT4] void ext_int4_isr(void);

ISR(INT4_vect); 

 interrupt [EXT_INT5] void ext_int5_isr(void);

ISR(INT5_vect); 

 interrupt [EXT_INT6] void ext_int6_isr(void);

ISR(INT6_vect); 

 interrupt [EXT_INT7] void ext_int7_isr(void);

ISR(INT7_vect); 

 interrupt [TIM0_OVF] void timer0_ovf_isr(void);

ISR(TIMER0_OVF_vect); 

 interrupt [TIM0_COMP] void timer0_comp_isr(void);

ISR(TIMER0_COMP_vect); 

 interrupt [TIM1_OVF] void timer1_ovf_isr(void);

ISR(TIMER1_OVF_vect); 

 interrupt [TIM1_CAPT] void timer1_capt_isr(void);

ISR(TIMER1_CAPT_vect); 

 interrupt [TIM1_COMPA] void timer1_compa_isr(void);

ISR(TIMER1_COMPA_vect); 

 interrupt [TIM1_COMPB] void timer1_compb_isr(void);

ISR(TIMER1_COMPB_vect); 

 interrupt [TIM1_COMPC] void timer1_compc_isr(void);

ISR(TIMER1_COMPC_vect); 

 interrupt [TIM2_OVF] void timer2_ovf_isr(void);

ISR(TIMER2_OVF_vect); 

 interrupt [TIM2_COMP] void timer2_comp_isr(void);

ISR(TIMER2_COMP_vect); 

 interrupt [TIM3_OVF] void timer3_ovf_isr(void);

ISR(TIMER3_OVF_vect); 

 interrupt [TIM3_CAPT] void timer3_capt_isr(void);

ISR(TIMER3_CAPT_vect); 

 interrupt [TIM3_COMPA] void timer3_compa_isr(void);

ISR(TIMER3_COMPA_vect); 

 interrupt [TIM3_COMPB] void timer3_compb_isr(void);

ISR(TIMER3_COMPB_vect); 

 interrupt [TIM3_COMPC] void timer3_compc_isr(void);

ISR(TIMER3_COMPC_vect); 

 interrupt [USART0_RXC] void usart0_rx_isr(void);

ISR(USART0_RX_vect); 

 interrupt [USART0_DRE] void usart0_dre_isr(void);

ISR(USART0_UDRE_vect); 

 interrupt [USART0_TXC] void usart0_tx_isr(void);

ISR(USART0_TX_vect); 

 interrupt [USART1_RXC] void usart1_rx_isr(void);

ISR(USART1_RX_vect); 

 interrupt [USART1_DRE] void usart1_dre_isr(void);

ISR(USART1_UDRE_vect); 

 interrupt [USART1_TXC] void usart1_tx_isr(void);

ISR(USART1_TX_vect); 

 interrupt [ADC_INT] void adc_isr(void);

ISR(ADC_vect); 

 interrupt [ANA_COMP] void ana_comp_isr(void);

ISR(ANALOG_COMP_vect); 

 interrupt [EE_RDY] void ee_rdy_isr(void);

ISR(EE_READY_vect); 

 interrupt [SPI_STC] void spi_isr(void);

ISR(SPI_STC_vect); 

 interrupt [TWI] void twi_isr(void);

ISR(TWI_vect); 

 interrupt [SPM_RDY] void spm_rdy_isr(void);

ISR(SPM_READY_vect); 

 

 


0 Comments
댓글쓰기 폼
Prev 1 2 3 4 5 6 7 8 Next