![]() |
![]() |
Specification of the Interrupt Control Value Register. More...
#include <hyplnk.h>
Data Fields | |
uint32_t | raw |
[ro] Raw image of register on read; actual value on write | |
uint8_t | intEn |
[rw] Interrupt Enable | |
uint8_t | intType |
[rw] Interrupt Type (level or pulse) | |
uint8_t | intPol |
[rw] Interrupt Polarity (active high or active low) | |
uint8_t | iSec |
[rw] Interrupt security | |
uint8_t | SIEN |
[rw] Software interrupt enable | |
uint8_t | DNID |
[rw] Destination Network Identifier | |
uint8_t | mps |
[rw] Microprocessor Select | |
uint8_t | vector |
[rw] Selects which interrupt pending to set on interrupt assertion |
Specification of the Interrupt Control Value Register.
The Interrupt Control Register reads or writes the associated fields to the intCtrlIdx interrupt channel. All channels not supported will return zero and be unsettable.
uint8_t hyplnkIntCtrlValReg_s::DNID |
[rw] Destination Network Identifier
Field size: 2 bits
uint8_t hyplnkIntCtrlValReg_s::intEn |
[rw] Interrupt Enable
Field size: 1 bit
When set, this bit indicates that interrupts detected on the Hyperlink_int_i[intCtrlIdx] pin (not a physical device pin) should be should be forwarded to the (DNID, mps, vector) interrupt vector.
uint8_t hyplnkIntCtrlValReg_s::intPol |
[rw] Interrupt Polarity (active high or active low)
Field size: 1 bit
Interrupt Polarity When set, this bit indicates that this is active low. When clear, it is active high
uint8_t hyplnkIntCtrlValReg_s::intType |
[rw] Interrupt Type (level or pulse)
Field size: 1 bit
When set, this bit indicates that the Hyperlink_int_i[intCtrlIdx] interrupt is pulsed. When clear, this bit indicates that Hyperlink_int_i[intCtrlIdx] is level sensitive.
uint8_t hyplnkIntCtrlValReg_s::iSec |
[rw] Interrupt security
Field size: 1 bit
Indicates the security level that the master must have to set a software interrupt for this interrupt.
uint8_t hyplnkIntCtrlValReg_s::mps |
[rw] Microprocessor Select
Field size: 4 bits
uint8_t hyplnkIntCtrlValReg_s::SIEN |
[rw] Software interrupt enable
Field size: 1 bit
Software Interrupt Enable indicate if this interrupt can be issued via software writing to hyplnkGenSoftIntReg_s.
uint8_t hyplnkIntCtrlValReg_s::vector |
[rw] Selects which interrupt pending to set on interrupt assertion
Field size: 5 bits
When the local device has hyplnkControlReg_s::intLocal set, this field indicates which bit of interrupt pending register (hyplnkIntPendSetReg_s) to set. When the local device has (intLocal) clear, this field is transferred to the remote device, which is used to indicate which bit of the interrupt pending register to set in the remote device.