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

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 Sample Timing Files
A.3.1
The input data file name on the 10th line should be changed to accord with the input data file prepared by the user.
;;-----------------------------------------------------------------;;
;;
;;-----------------------------------------------------------------;;
local data
;;-----------------------------------------------------------------;;
;;
;;-----------------------------------------------------------------;;
open input "sample_20_16s.dat"
output format showbase unsigned hex, ; select output format
;;------------------------------------------------------------------;;
;;
;;------------------------------------------------------------------;;
;;------------------------------------------------------------------;;
;;
;;------------------------------------------------------------------;;
This timing file fetches data from the input data file (sample_20_16s.dat) and inputs data via the host interface.
do
smp_input.tmg
Declare Variables
File Open
Init
set pin hcs = 1
set pin hwr = 1
set pin hrd = 1
Main Input Loop
wait cond pin hwe == 0
wait cond pin hcs == 1
set pin hcs = 0
set port ha = 0
set pin hwr = 0
input data
set port hd = data&0xFF
wait 100ns
set pin hcs = 1
set pin hwr = 1
wait 5ns
set port ha = 1
wait 5ns
set pin hwr = 0
APPENDIX A SAMPLE PROGRAM SOURCE
User’s Manual U15683EJ1V0UM
; local variable receives data
; terminate any write access, which might
; be active
;
;
; wait till write is allowed
;
; perform the access...
; select higher byte of HDT
; start input
; input host data to temp variable
; input low byte to host port
; access duration
; terminate first access...
; end output
; delay
; select higher byte of HDT
; delay
; start output
and no read is in progress
(1/2)
63

Related parts for USBB17AP77016-XXX-B11