⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uda1341.h

📁 ARM 嵌入式 系统 设计与实例开发 实验教材 二源码
💻 H
字号:
/* *  linux/include/linux/l3/uda1341.h * * Philips UDA1341 mixer device driver * * Copyright (c) 2000 Nicolas Pitre <nico@cam.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License. */#define UDA1341_NAME "uda1341"struct uda1341_cfg {	unsigned int fs:16;	unsigned int format:3;};#define FMT_I2S		0#define FMT_LSB16	1#define FMT_LSB18	2#define FMT_LSB20	3#define FMT_MSB		4#define FMT_LSB16MSB	5#define FMT_LSB18MSB	6#define FMT_LSB20MSB	7#define L3_UDA1341_CONFIGURE	0x13410001struct l3_gain {	unsigned int	left:8;	unsigned int	right:8;	unsigned int	unused:8;	unsigned int	channel:8;};#define L3_SET_VOLUME		0x13410002#define L3_SET_TREBLE		0x13410003#define L3_SET_BASS		0x13410004#define L3_SET_GAIN		0x13410005struct l3_agc {	unsigned int	level:8;	unsigned int	enable:1;	unsigned int	attack:7;	unsigned int	decay:8;	unsigned int	channel:8;};#define L3_INPUT_AGC		0x13410006

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -