CHAPTER 18:Sound Generator
442
S6J3200 Series Hardware Manual Document Number: 002-04852 Rev. *G
−
The DMAC must finish the sequence from step 8 to 12 (including the time for changing "the
increase/decrease setting"), within the following time. The increase/decrease setting change
comes into effect on the sound output from step 14, using the data of the Mth transfer with 4-byte
size x 2.
The limit time = (Frequency Data Register [SGFR] + 1) x 1 PWM cycle
3.8.
Interrupt of Sound Generator
The interrupt from Sound Generator comes from the judgment of counting tone pulses.
Interrupt of Sound Generator
The interrupt control bit and its factor is shown in the following table.
Table 3-3 The Interrupt Bit of Sound Generator and Its Factor
During the tone pulses are counted, when the count reaches the multiple of "Time Cycle Register
[SGTCR] + 1" and "Tone Output Number Register [SGNR] + 1", the Interrupt status bit (SGCR.INT) is set.
When the interrupt is allowed by the setting of SGCR.INTE, an Interrupt request (PIRQ) is subsequently
asserted (to be "H").
Interrupt bit of Sound Generator (singular)
Interrupt status bit
Register: Sound Control Register (SGCR)
Bit: Interrupt status bit (INT: bit1)
Interrupt enable bit
Register: Sound Control Register (SGCR)
Bit: Interrupt enable bit (INTE: bit2)
Interrupt factor
Tone pulse count is greater than or equal to
(Time Cycle Register [SGTCR] + 1) x (Tone Output Number Register [SGNR] + 1)
Содержание S6J3200 Series
Страница 1041: ...CHAPTER 28 LCD Controller 1040 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Страница 1044: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1043...
Страница 1047: ...CHAPTER 28 LCD Controller 1046 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Страница 1050: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1049...
Страница 1084: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1083...
Страница 1086: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1085...
Страница 1088: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1087...