diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-11-01 22:51:31 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-11-01 22:51:31 +0000 |
commit | 9b4057bbd43dfeaf69785605407e4625f01be069 (patch) | |
tree | 5d37bbedfcef2527629b1aae0ed184187832aaab /firmware/export/as3525.h | |
parent | 6cdb80d7df997d3220efe03ea6779ba2c81ddf79 (diff) | |
download | rockbox-9b4057bbd43dfeaf69785605407e4625f01be069.tar.gz rockbox-9b4057bbd43dfeaf69785605407e4625f01be069.zip |
Sansa AMS recording support (Microphone and FM)
Still disabled on all targets:
- Fuze and e200v2 see spurious interrupts with no source defined
- Clip/m200v4 deadlock instantly when starting recording (perhaps due to low memory size)
Having the code in SVN will make working on this feature easier
Also add keymaps for Fuze, and correct Frequency section of recording
options : the 22.05kHz limitation of e200v1 and c200v1 doesn't apply to
Sansa AMS (different I2S hardware, unrelated to as3514)
Flyspray: FS#10371
Authors: Fred Bauer and myself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23476 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/as3525.h')
-rw-r--r-- | firmware/export/as3525.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/firmware/export/as3525.h b/firmware/export/as3525.h index d2b5a4fef2..07f78dafcf 100644 --- a/firmware/export/as3525.h +++ b/firmware/export/as3525.h | |||
@@ -507,4 +507,15 @@ interface */ | |||
507 | #define USB_NUM_ENDPOINTS 4 | 507 | #define USB_NUM_ENDPOINTS 4 |
508 | #define USB_DEVBSS_ATTR IBSS_ATTR | 508 | #define USB_DEVBSS_ATTR IBSS_ATTR |
509 | 509 | ||
510 | /* I2SIN registers */ | ||
511 | |||
512 | #define I2SIN_CONTROL (*(volatile unsigned long*)(I2SIN_BASE+0x00)) | ||
513 | #define I2SIN_MASK (*(volatile unsigned char*)(I2SIN_BASE+0x04)) | ||
514 | #define I2SIN_RAW_STATUS (*(volatile unsigned char*)(I2SIN_BASE+0x08)) | ||
515 | #define I2SIN_STATUS (*(volatile unsigned char*)(I2SIN_BASE+0x0C)) | ||
516 | #define I2SIN_CLEAR (*(volatile unsigned char*)(I2SIN_BASE+0x10)) | ||
517 | #define I2SIN_DATA (volatile unsigned long*)(I2SIN_BASE+0x14) | ||
518 | #define I2SIN_SPDIF_STATUS (*(volatile unsigned long*)(I2SIN_BASE+0x18)) | ||
519 | |||
520 | |||
510 | #endif /*__AS3525_H__*/ | 521 | #endif /*__AS3525_H__*/ |