ADC12中断向量函数的定义正确的是()。
A:
B: pragma vector = ADC12_VECTOR__interrupt void ADC12_Interrupt( )
C:
D: pragma vector = ADC_VECTOR__interrupt void ADC12_Interrupt( )
E:
F: pragma vector = MSP430_ADC12__interrupt void ADC12_Interrupt( )
G:
H: program vector = ADC_VECTOR__interrupt void ADC12_Interrupt( )
A:
B: pragma vector = ADC12_VECTOR__interrupt void ADC12_Interrupt( )
C:
D: pragma vector = ADC_VECTOR__interrupt void ADC12_Interrupt( )
E:
F: pragma vector = MSP430_ADC12__interrupt void ADC12_Interrupt( )
G:
H: program vector = ADC_VECTOR__interrupt void ADC12_Interrupt( )
举一反三
- 以下中断服务函数写法正确得是( A: __interrupt void P1_ISR(void)<br> {……} B: C: pragma vector = P1INT_VECTOR<br> __interrupt void P1_ISR(void)<br> {……} D: interrupt void P1_ISR(void)<br> {……} E: F: pragma vector = P1INT_VECTOR<br> interrupt void P1_ISR(void)<br> {……}
- 如果是P1_5引发的外部中断,以下中断服务函数及中断向量正确是()? A: B: pragma vector=P1INT_VECTOR C: D: pragma vector=P0INT_VECTOR E: F: pragma vector=0x7B G: _interrupt void P1_Int() { }
- 编写一个定时器0中断的中断函数(空函数),下列定义正确的是? A: void aaa0( )interrupt 0 {} B: void int0( )interrupt 1 {} C: void time1( )interrupt 1 {} D: void time1( )interrupt 0 {}
- 要编写一个串口中断处理函数,以下对该函数的定义中,正确的是: A: void sprocess(void) interrupt 2 B: void sprocess(void) interrupt 3 C: void sprocess(void) interrupt 4 D: void sprocess(void) interrupt 5
- 定义定时器0的中断服务函数正确的是: A: void timer0( ) interrupt 1 { } B: void timer0( ) interrupt 0 { } C: void timer0( ) { } D: void timer0( ) interrupt 1