668-0011 Rabbit Semiconductor, 668-0011 Datasheet - Page 199

no-image

668-0011

Manufacturer Part Number
668-0011
Description
IC MPU RABIT3000A 55.5MHZ128LQFP
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 668-0011

Rohs Status
RoHS non-compliant
Processor Type
Rabbit 3000 8-Bit
Speed
55.5MHz
Voltage
2.5V, 2.7V, 3V, 3.3V
Mounting Type
Surface Mount
Package / Case
128-LQFP
Features
-
Other names
316-1043

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
668-0011
Manufacturer:
Rabbit Semiconductor
Quantity:
10 000
22.3 Operation
The following steps explain how to set up a PWM channel.
1. Configure Timer A9 via TAT9R to provide the desired PWM clock frequency.
2. Configure PWLxR to select whether to spread the PWM output throughout the cycle.
3. Configure PWLxR to select whether to suppress the PWM output.
4. Configure the duty cycle by writing to PWLxR and PWMxR.
22.3.1 Handling Interrupts
The following steps explain how an interrupt is set up and used.
1. Write the vector to the interrupt service routine to the internal interrupt table.
2. Configure PWL0R to select the PWM interrupt priority and PWL1R to select PWM
The following actions occur within the interrupt service routine.
• Any PWM values may be updated.
• The interrupt request should be cleared by writing to any PWM register.
22.3.2 Example ISR
A sample interrupt handler is shown below.
Chapter 22 Pulse Width Modulator
interrupt suppression (if an interrupt is desired).
pwm_isr::
push af
ld a, 0x55
ioi ld (PWM0R), a
; note that interrupt request is also cleared by register write above
pop af
ipres
ret
; save used registers
; restore used registers
; update a PWM value
189

Related parts for 668-0011