USBB17AP77016-XXX-B11 NEC Electronics, USBB17AP77016-XXX-B11 Datasheet - Page 68

no-image

USBB17AP77016-XXX-B11

Manufacturer Part Number
USBB17AP77016-XXX-B11
Description
DSP middleware(WMA (Windows Media Audio)decoder)
Manufacturer
NEC Electronics
Datasheet
A.3.3
appropriate cycle in accordance with the input data sampling frequency. This file is described under the assumption
that 2-channel data is always output.
68
;;----------------------------------------------------------------------;;
;;
;;----------------------------------------------------------------------;;
LOCAL TM_pico_sec
LOCAL fs
LOCAL retern_addr
;;----------------------------------------------------------------------;;
;;
;;----------------------------------------------------------------------;;
wait cond reg ip == ((MAIN.serout_start) & 0xffff)
;;----------------------------------------------------------------------;;
;;
;;----------------------------------------------------------------------;;
set fs = *sample_rate:x & 0xffff
set TM_pico_sec = TIME_RESOLUTION / 16 / fs / 2
;;----------------------------------------------------------------------;;
;;
;;----------------------------------------------------------------------;;
do
enddo
This timing file creates the clock signals used to generate the serial output interrupt. Create clock signals with an
wait (TM_pico_sec/2) ps
set pin sck1 = 0
set pin sck2 = 0
wait (TM_pico_sec/2) ps
set pin sck1 = 1
set pin sck2 = 1
clk_for_2ch.tmg
Declare Variables
Wait
Set Sampling Frequency and TM_pico_sec
Generate Clock for 2 ch
;
;
;
APPENDIX A SAMPLE PROGRAM SOURCE
User’s Manual U15683EJ1V0UM
;
;
;
;
;
;
;
;
; TIME_RESOLUTION = 10**12

Related parts for USBB17AP77016-XXX-B11