S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
Freescale Semiconductor
655
Chapter 19
Simple Sound Generator (SSGV1)
19.1
Introduction
This document describes the Simple Sound Generator module.
The SSG module generates audio frequency tone with autonomous amplitude control.
Refer to
for the detailed block diagram of the module.
19.1.1
Features
The SSG block includes these distinctive features:
•
Programmable amplitude level encoded with 11 bit resolution from zero amplitude to max
amplitude
•
Sound STOP function to stop sound generation immediately
•
Registers double-buffered synchronously reload at edge of tone to avoid distortion of output tone
•
Interrupt generates when SSG is ready to configure new sound data
•
Input clock prescaler with 11 bit resolution
•
Module disable for power saving when not in use
•
Separate or mixed frequency and amplitude outputs for flexibility in external hardware variations
•
Attack/decay function which can increase/decrease sound amplitude automatically without CPU
interaction, including linear, gong and exponential attack/decay operation
19.1.2
Block Diagram
shows the block diagram for SSG block.
Table 19-1. Revision History
Revision
Number
Revision Date
Sections
Affected
Description of Changes
V1.0
Apr. 20, 2011
All
Initial revision of Sound Generator Module.