English
Language : 

VS1011 Datasheet, PDF (38/43 Pages) List of Unclassifed Manufacturers – MP3 AUDIO CODEC
VLSI
Solution y
VS1011 PRELIMINARY
VS1011
10. VS1011 REGISTERS
10.8 Interrupt Registers
Reg
0xC01a
0xC01b
0xC01c
0xC01d
Type
rw
w
w
rw
Reset
0
0
0
0
Interrupt registers, prefix INT
Abbrev[bits]
Description
ENABLE[2:0]
GLOB DIS[-]
Interrupt enable.
Write to add to interrupt counter.
GLOB ENA[-]
Write to subtract from interript counter.
COUNTER[4:0] Interrupt counter.
INT ENABLE controls the interrupts. The control bits are as follows:
Name
INT EN SDI
INT EN SCI
INT EN DAC
INT ENABLE bits
Bits Description
2 Enable Data interrupt.
1 Enable SCI interrupt.
0 Enable DAC interrupt.
Note: It may take upto 6 clock cycles before changing INT ENABLE has any effect.
Writing any value to INT GLOB DIS adds one to the interrupt counter INT COUNTER and effectively
disables all interrupts. It may take upto 6 clock cycles before writing to this register has any effect.
Writing any value to INT GLOB ENA subtracts one from the interrupt counter (unless INT COUNTER
already was 0). If the interrupt counter becomes zero, interrupts selected with INT ENABLE are re-
stored. An interrupt routine should always write to this register as the last thing it does, because in-
terrupts automatically add one to the interrupt counter, but subtracting it back to its initial value is the
responsibility of the user. It may take upto 6 clock cycles before writing this register has any effect.
By reading INT COUNTER the user may check if the interrupt counter is correct or not. If the register
is not 0, interrupts are disabled.
Version 0.71, 2004-07-20
38