Shaunak Datar commented on a discussion on 
bsps/aarch64/raspberrypi/i2c/raspberrypi-i2c.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/682#note_129387

 >        return rv;
 >      }
 >    } else {
 > +#ifdef BSP_I2C_USE_INTERRUPTS
 > +    while ( bus->remaining_bytes > 0 ) {
 > +      C_REG( bus ) |= C_INTT;
 > +      if ( rtems_binary_semaphore_wait_timed_ticks(&bus->sem, 
 > bus->base.timeout) !=

The C_INTT enables interrupt on the TXW condition. It enables interrupts when 
the FIFO is empty and needs writing. That is why I am getting an interrupt there

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/682#note_129387
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to