データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

AD1816AJS データシート(PDF) 29 Page - Analog Devices

部品番号 AD1816AJS
部品情報  SoundPort Controller
PDF  52 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  AD [Analog Devices]
ホームページ  http://www.analog.com
Logo AD - Analog Devices

AD1816AJS データシート(HTML) 29 Page - Analog Devices

Back Button AD1816AJS Datasheet HTML 25Page - Analog Devices AD1816AJS Datasheet HTML 26Page - Analog Devices AD1816AJS Datasheet HTML 27Page - Analog Devices AD1816AJS Datasheet HTML 28Page - Analog Devices AD1816AJS Datasheet HTML 29Page - Analog Devices AD1816AJS Datasheet HTML 30Page - Analog Devices AD1816AJS Datasheet HTML 31Page - Analog Devices AD1816AJS Datasheet HTML 32Page - Analog Devices AD1816AJS Datasheet HTML 33Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 52 page
background image
AD1816A
–29–
REV. A
[Base+14]
Joystick Position Data Low Byte
76543210
JAXIS [7:0]
RESET = [0xFF]
JAXIS [7:0]
(RO)
Joystick Axis Low Byte.
Note: Axis to be read through this register is selected by the JSEL bits in the control register. A write to this register starts a sampling
cycle.
[Base+15]
Joystick Position Data High Byte
76543210
JAXIS [15:8]
RESET = [0xFF]
JAXIS [15:8]
(RO)
Joystick Axis High Byte.
Note: Axis to be read through this register is selected by the JSEL bits in the control register. A write to this register starts a sampling
cycle
Sound System Indirect Registers
Writing Indirect Registers
All Indirect Registers must be written in pairs: low byte followed by high byte. The Indirect Address Register [SSBASE+0] holds the
address for a register pair, the Indirect Low Data Byte [SSBASE+2] is used to write low data byte and the Indirect High Data Byte
[SSBASE+3] is used to write the high data byte. The low data byte is held in the temporary register until the upper byte is written.
Programming Example
“Write Sample Rate for Voice Playback at 11,000 Hz (0x2AF8)”
1) Write [SSBASE+0] with 0x02
; indirect register for voice playback sample rate
2) Write [SSBASE+2] with 0xF8
; low byte of 16-bit sample rate register
3) Write [SSBASE+3] with 0x2A
; high byte of 16-bit sample rate register
Reading Indirect Registers
All indirect registers can be individually read. The Sound System Indirect Address Register [SSBASE+0] holds the address for a reg-
ister pair, the Indirect Low Data Byte [SSBASE+2] is used to read low data byte and Indirect High Data Byte [SSBASE+3] is used
to read the High data byte.
Programming Example
“Read Sample Rate for Voice Playback set to 11,000 Hz (0x2AF8)”
1) Write [SSBASE+0] with 0x02
; indirect register for voice playback sample rate
2) Read [SSBASE+2]
; low byte of 16-bit sample rate register set to 0xF8
3) Read [SSBASE+3]
; high byte of 16-bit sample rate register set to 0x2A
ISR Saves and Restores
For Interrupt Service Routines, ISRs, it is necessary to save and restore the Indirect Address and the Low Byte Temporary Data
holding registers inside the ISR.
Programming Example
“Save/Restore during an ISR”
Beginning of ISR:
1) Read [SSBASE+0]
; save Indirect Address register to TMP_IA
2) Write [SSBASE+0] with 0x00;
; indirect Register for Low Byte Temporary Data
3) Read [SSBASE+2]
; save Low Byte Temporary data to TMP_LBT
4) ISR Code
; ISR routine
5) Write [SSBASE+2] with TMP_LBT
; restore Low Byte Temporary data TMP_LBT
6) Write [SSBASE+0] with TMP_IA
; restore Indirect Address Register to TMP_IA
7) Return from Interrupt
; return from ISR



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com