Ticket #33 (assigned defect)

Opened 14 months ago

Last modified 11 months ago

Disable I2C interrupt when no transaction is active

Reported by: sam Owned by: sam
Priority: minor Milestone: NxOS 0.2
Component: drivers Version:
Keywords: i2c, irq Cc:

Description

Find a way to disable the I2C IRQ when no transaction is active or requested.

Change History

Changed 14 months ago by sam

  • owner changed from dave to sam, dave

Changed 11 months ago by sam

  • owner changed from sam, dave to sam
  • status changed from new to assigned

This is almost done. We just need to figure out how to make the calls to i2c_txn_count++; and to

i2c_txn_count--;
if (i2c_txn_count == 0)
  *AT91C_TC0_IDR = AT91C_TC_CPCS;

critical code sections.

Note: See TracTickets for help on using tickets.