SN8P2501D
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD Page 81 Version 1.5
TC0 BUZZER OUTPUT CONFIGURATION:
; Set TC0 rate and auto-reload function.
; Set TC0C and TC0R register for TC0 Interval time.
; TC0C must be equal to TC0R.
; Enable TC0 timer and buzzer output function.
; Enable TC0 buzzer output function.
TC0 PWM CONFIGURATION:
; Set TC0 rate for PWM cycle.
; ALOAD0 and TC0OUT bits.
; Set TC0R register for PWM duty.
; Clear TC0C as initial value.
; Enable PWM and TC0 timer.