资源简介

Texas instruments,Amplifier driver for TAS5805M. TI功放TAS5805M驱动代码

资源截图

代码片段和文件信息

/*                                                                                     
 * Driver for the TAS5805M Audio Amplifier (I2C part only)                             
 *                                                                                     
 * Author: Leslie Hsia                                   
 * Author: Andy Liu                                                   
 *                                                                                     
 * This program is free software; you can redistribute it and/or                       
 * modify it under the terms of the GNU General Public License                         
 * version 2 as published by the Free Software Foundation.                             
 *                                                                                     
 * This program is distributed in the hope that it will be useful but                 
 * WITHOUT ANY WARRANTY; without even the implied warranty of                          
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU                   
 * General Public License for more details.                                            
 */                                                                                    
                                                                                       
#include                                                               
#include                                                          
#include                                                                 
#include                                                                   
#include                                                                 
#include                                                                 
#include                                                                  
#include                                                               
#include “tas5805m.h“                                                                  
                                                                                       
struct tas5805m_priv {                                                                 
struct regmap *regmap;                                                                
struct mutex lock;                                                                    
};                                                                                     
                                                                                       
const struct regmap_config tas5805m_regmap = {                                         
.reg_bits = 8                                                                        
.val_bits = 8                                                

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      13726  2020-07-29 19:11  TAS5805M驱动文件\tas5805m.c

     文件        401  2020-07-29 19:02  TAS5805M驱动文件\tas5805m.h

     目录          0  2020-07-29 19:17  TAS5805M驱动文件

----------- ---------  ---------- -----  ----

                14127                    3


评论

共有 条评论