Showing changes from revision #3 to #4:
Added | Removed | Changed
irq_descriptor unsigned int 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 device specification number for the bus. requestedIIC bus.
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 call 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.
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.