General Description
GPC22F340A is embedded with an 8- bit processor, 1024KB E-Flash, 512B SRAM, three 12-bit timers, 24 general I/Os, one pure input port, one 12-bit current DAC. For audio processing, two channels of speech or two tone generators can be used by controlled register. GPC22F340A operates over a wide voltage range of 2.0V - 5.5V and includes Low Voltage Reset function. In addition, GPC22F340A provides sleep mode for power savings. It wakes up from sleep mode by interrupt sources or by IO’s state change. There is a Serial Peripheral Interface (SPI) controller built-in GPC22F340A to facilitate communicating with other devices and components.
Features
- 8-bit micro-processor
- 512-byte SRAM
- Operating voltage: 2.0V – 5.5V
- CPU operating speed : 8.0MHz (Fosc=16MHz)
- Three wake-up sources
- 9 IRQs & 1 NMI Interrupts
- Internal built-in regulator to supply core power
- Two software channels with noise filter to play high sound quality
- Low Voltage Reset (LVR)
- Active Battery Voltage Detection (BVD)
- Peripherals
- 24 general I/O ports
- One pure input port
- 12 general I/O pins support high sink current
- Key wakeup/interrupt function
- Built-in 32.768KHz oscillator circuit for real time clock function (X’tal)
- Built-in R-oscillator (external resistor is needed) or internal R-oscillator for system operating clock (12MHZ or 16MHZ)
- Internal time base generator
- Three sets of 12-bit timer/counter, TMA with capture function
- Watchdog function
- 14-bit PWM driver for driving speaker directly
- One 12-bit current DAC
- IR output
- 12 hardware PWMIOs
- One SPI serial interface I/Os
- Sleep mode to reduce power