Showing changes from revision #2 to #3:
Added | Removed | Changed
irq_descriptor HAL_IICDevice(int bus)
Entry | |
---|---|
bus | Bus number to query |
Exit | |
---|---|
This is an internal call for OS use only and should not be used by user software.
Returns the interrupt specification for the bus. This is not meaningful if bit 4 of theHAL_IICType flags word is not set. The OS will claim the interrupt and call HAL_IICMonitorTransfer() each time it occurs.
struct irq_descriptor { int32_t devicenumber; volatile uint8_t *status_reg; /* Equiv. R3 OS_ClaimDeviceVector */ uint32_t mask_and_polarity; /* Equiv. R4 OS_ClaimDeviceVector */ };
This is not meaningful if bit 4 of the HAL_IICType flags word is not set. The OS will claim the interrupt and call HAL_IICMonitorTransfer() each time it occurs.