CHAPTER 19:Sound Waveform Generator
464
S6J3200 Series Hardware Manual Document Number: 002-04852 Rev. *G
3.2.
Interrupt
SWFG supports the interrupts described below.
−
Sound source generation complete interrupt
This interrupt is generated when sound source generation is complete. SWFG performs interrupt
enable setting, interrupt clear control and status indication.
−
SWFG AHB Master Interface bus error interrupt
This interrupt is generated when an error response is received during sound source output to an
output destination on the AHB Master Interface of SWFG. SWFG performs interrupt enable setting,
interrupt clear control and status indication.
3.3.
SWFG Sound Source Generation Start
The procedures for starting sound source generation is provided below. Each channel can be controlled
independently.
1. Set the output destination address of the sound source. See WGCHADD1 through 3 under 4.3, 4.4,
2. Select the sound source output data pattern. See WGCHMONO under 4.6.
3. Configure interrupt enable/disable settings. See WGINTREN under 4.11.
4. Configure sound source specification settings. See WGCHxCTRL1 through 3(x=0 through 4) under 4.7,
5. Performs startup control. For details, see WGCHEN under 4.1.
6. Start sound source generation. For details, see WGCHSTART under 4.2.
Notes:
−
Steps 1 through 4 of the above procedure can be performed in any sequence.
−
Enabling operation in step 5 of the above procedure causes SWFG to output ALL 0 data. After
that, step 6 starts generation of the configured sound source. If SWFG is not running, the sound
source is not generated when generation start is executed.
−
Even if operation is enabled and sound source generation startup control is performed, it will not
start without a data request from the SWFG output destination. The output destination needs to
be set beforehand.
3.4.
SWFG Sound Source Generation Stop
SWFG operation that started sound source generation can be stopped on a channel-by-channel basis.
See WGCHEN under 4.1 and WGCHCLR under 4.10.
Notes:
−
Sound source generation stopped by WGCHEN under 4.1 can be resumed by performing startup
control on the same bit, which will resume from the point where generation was stopped. There is
no sound source output, including ALL 0, from channels that are stopped by this control. The
effect on sound source output destinations should be kept firmly in mind when stopping sound
source generation.
−
Sound source generation can also be stopped by WGCHCLR under 4.10. However, there is no
control to restart sound source generation from the point it was stopped by WGCHCLR. ALL 0 is
output from channels that are stopped by WGCHCLR.
Summary of Contents for S6J3200 Series
Page 1041: ...CHAPTER 28 LCD Controller 1040 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Page 1044: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1043...
Page 1047: ...CHAPTER 28 LCD Controller 1046 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Page 1050: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1049...
Page 1084: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1083...
Page 1086: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1085...
Page 1088: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1087...