_csl_h3aafalawen.c

来自「TI达芬奇dm644x各硬件模块测试代码」· C语言 代码 · 共 35 行

C
35
字号
/** @file _csl_h3aAfAlawEn.c
 *
 *  @brief    File for functional layer of CSL API @a CSL_h3aAfAlawEn()
 *
 *  Description
 *    - The @a CSL_h3aAfAlawEn() function definition & it's associated
 *      functions
 *
 *  @date 26th May, 2005
 *  @author Jesse Villarreal
 */

#include <csl_h3a_aux.h>

#pragma CODE_SECTION (CSL_h3aAfAlawEn, ".text:csl_section:h3a");

/** @brief Enables/Disables the AF Alaw function of the H3A module
 *	
 */
CSL_Status  CSL_h3aAfAlawEn(
    /** Pointer to the object that holds reference to the
     *  instance of H3A requested after the call 
	 */
    CSL_H3aHandle                         hH3a,
    /** Enables the AF Alaw function
	 */
    Uint16 								   enable
	){

    CSL_FINS(hH3a->regs->PCR,H3A_PCR_AF_ALAW_EN,enable);

    return (CSL_SOK);
}

⌨️ 快捷键说明

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