![Acromag XMC-6VLX Series Скачать руководство пользователя страница 24](http://html1.mh-extra.com/html/acromag/xmc-6vlx-series/xmc-6vlx-series_user-manual_2841192024.webp)
XMC-6VLX
USER’S MANUAL
Acromag, Inc. Tel: 248-295-0310
- 22 - http://www.acromag.com
- 22 -
www.acromag.com
Clear Interrupt Enable Register (Write) - (BAR0 + 0x00100014)
Clear Interrupt Enable register is a location used to clear Interrupt Enable
register bits in a single atomic operation, rather than using a read / modify /
write sequence. Writing a ‘1’ to a bit location in Clear Interrupt Enable
register will clear the corresponding bit in the Interrupt Enable register.
Writing 0s does nothing, as does wiring a ‘1’ to a bit location that
corresponds to a non-existing interrupt input. The bit locations in the clear
Interrupt Enable correspond with the bit locations given in the Interrupt
Enable register Table.
Interrupt Vector Register (Read) - (BAR0 + 0x00100018)
The Interrupt Vector register is a read-only register and contains the ordinal
value of the highest priority, enabled, and active interrupt input. INT0
(always the LSB) is the highest priority interrupt input. Each successive input
(to the left) has a corresponding lower interrupt priority. If no interrupt
inputs are active, the Interrupt Vector register contains all 1s. This Interrupt
Vector register acts as an index for giving the correct Interrupt Vector
Address.
Master Enable Register (Read/Write) - (BAR0 + 0x0010001C)
This is a 2-bit, read / write register. The two bits are mapped to the two
least significant bits of the location. The least significant bit contains the
Master Enable bit and the next bit contains the Hardware Interrupt Enable
bit. Writing a ‘1’ to the Master Enable bit enables the IRQ output signal.
Writing a ‘0’ to the Master Enable bit disables the IRQ output, effectively
masking all interrupt inputs. The Hardware Interrupt Enable bit is a write-
once bit. At reset, this bit is reset to ‘0’, allowing the software to write to the
Interrupt Status register to generate interrupts for testing purposes, and
disabling any hardware interrupt inputs. Writing a ‘1’ to this bit enables the
hardware interrupt inputs and disables software generated inputs. Writing a
‘1’ also disables any further changes to this bit until the device has been
reset. Writing 1s or 0s to any other bit location does nothing. When read,
this register will reflect the state of the Master Enable and Hardware
Interrupt Enable bits. All other bits will read as 0s.
Table 3.7:
Master Enable
Register
Bit(s)
FUNCTION
0
Master IRQ Enable
0
All Interrupts Disabled
1
All Interrupts Enabled
1
Hardware Interrupt Enable
0
Software Interrupts Enabled
1
Hardware Interrupts Only Enabled
31-2
Not Used (bits are read as logic “0”)
Содержание XMC-6VLX Series
Страница 72: ...XMC 6VLX USER S MANUAL Acromag Inc Tel 248 295 0310 70 http www acromag com 70 www acromag com...
Страница 77: ...XMC 6VLX USER S MANUAL Acromag Inc Tel 248 295 0310 75 http www acromag com 75 www acromag com...
Страница 109: ...XMC 6VLX USER S MANUAL Acromag Inc Tel 248 295 0310 107 http www acromag com 107 www acromag com...