资源简介
1、QNX BSP开发包,提供了IMX6处理器 QNX SDP 6.6 BSP for the Freescale i.XM6 Solo X Sabre SDB BSP包;2、提供了相关的串口、以太网、USB等等驱动
代码片段和文件信息
/*
* $QNXLicenseC:
* Copyright 20092012 QNX Software Systems.
*
* Licensed under the Apache License Version 2.0 (the “License“). You
* may not reproduce modify or distribute this software except in
* compliance with the License. You may obtain a copy of the License
* at: http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ basis
* WITHOUT WARRANTIES OF ANY KIND either express or implied.
*
* This file may contain contributions from others either as
* contributors under the License or as licensors under other terms.
* Please review this entire file for other proprietary rights or license
* notices as well as the QNX Development Suite License Guide at
* http://licensing.qnx.com/license-guide/ for other information.
* $
*/
/*
*
* mxssi_dll.c
* The primary interface into the mx DLL.
*/
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include “mxssi.h“
int codec_mixer (ado_card_t * card HW_CONTEXT_T * hwc);
int set_ssi_clock_rate ( HW_CONTEXT_T *mx int rate);
static int open_log (HW_CONTEXT_T * mx int chn_type);
static int close_log ( HW_CONTEXT_T *mx int chn_type);
#define MIN(A B) ((A)<(B)?(A):(B))
#if defined (VARIANT_MX6X) || defined (VARIANT_MX53)
/*
* This function will wait for the TX FIFO and shift register to
* empty and then disable the transmitter.
*/
static inline void
disable_tx_on_empty( HW_CONTEXT_T *mx )
{
int i;
/* Wait for Tx FIFO0 to empty */
i = 1000;
while (SFCSR_TXFIFO0_CNT(mx->ssi->sfcsr) && i-- > 0)
nanospin_ns(1000);
if (i <= 0)
{
ado_error(“%s: TXFIFO0 failed to empty (%d)“ __FUNCTION__
SFCSR_TXFIFO0_CNT(mx->ssi->sfcsr));
}
/* Wait for the transmit shift register to empty (underrun) */
i = 1000;
while(!(mx->ssi->sisr & SISR_TUE0) && i-- > 0);
nanospin_ns(100);
if (i <= 0)
ado_error(“%s: TXSR0 failed to empty sisr = 0x%x“ __FUNCTION__ mx->ssi->sisr);
#if defined (VARIANT_MX6X)
/* Wait for Tx FIFO1 to empty */
i = 1000;
while (SFCSR_TXFIFO1_CNT(mx->ssi->sfcsr) && i-- > 0)
nanospin_ns(1000);
if (i <= 0)
{
ado_error(“%s: TXFIFO1 failed to empty (%d)“ __FUNCTION__
SFCSR_TXFIFO1_CNT(mx->ssi->sfcsr));
}
/* Wait for the transmit shift register to empty (underrun) */
i = 1000;
while(!(mx->ssi->sisr & SISR_TUE1) && i-- > 0);
nanospin_ns(100);
if (i <= 0)
ado_error(“%s: TXSR1 failed to empty sisr = 0x%x“ __FUNCTION__ mx->ssi->sisr);
#endif
mx->ssi->scr &= ~SCR_TX_EN; /* Disable transmitter */
mx->ssi->sisr |= SISR_TUE0 | SISR_TUE1; /* Clear transmitter underrun status */
}
#endif
/**
* This function returns the number of open or activ
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-10-25 03:42 images\
文件 621 2016-10-25 03:42 images\Makefile
文件 12804 2016-10-25 03:42 images\ipl-mx6sx-sabre-sdb.bin
文件 7563168 2016-10-25 03:42 images\ifs-mx6sx-sabre-sdb.raw
目录 0 2016-10-25 03:42 install\
文件 1171 2016-10-25 03:42 Makefile
文件 57664 2016-10-25 03:42 manifest
目录 0 2016-10-25 03:42 prebuilt\
目录 0 2016-10-25 03:42 prebuilt\armle-v7\
目录 0 2016-10-25 03:42 prebuilt\armle-v7\sbin\
文件 106627 2016-10-25 03:42 prebuilt\armle-v7\sbin\devb-sdmmc-mx6_generic
文件 47837 2016-10-25 03:42 prebuilt\armle-v7\sbin\io-gpio
文件 27372 2016-10-25 03:42 prebuilt\armle-v7\sbin\i2c-mx35
文件 72202 2016-10-25 03:42 prebuilt\armle-v7\sbin\devc-sermx1
文件 22041 2016-10-25 03:42 prebuilt\armle-v7\sbin\gpio
目录 0 2016-10-25 03:42 prebuilt\armle-v7\lib\
文件 12 2016-10-25 03:42 prebuilt\armle-v7\lib\libgpio.so
文件 32148 2016-10-25 03:42 prebuilt\armle-v7\lib\libdma-sdma-imx6x.so.1
目录 0 2016-10-25 03:42 prebuilt\armle-v7\lib\dll\
文件 46962 2016-10-25 03:42 prebuilt\armle-v7\lib\dll\devu-ehci-mx28.so
文件 9457 2016-10-25 03:42 prebuilt\armle-v7\lib\dll\devgp-fortify.so
文件 43710 2016-10-25 03:42 prebuilt\armle-v7\lib\dll\deva-ctrl-mx-mx6_wm8962.so
文件 75084 2016-10-25 03:42 prebuilt\armle-v7\lib\dll\devnp-mx6x-slx.so
文件 14238 2016-10-25 03:42 prebuilt\armle-v7\lib\dll\devgp-mx6x.so
文件 19157 2016-10-25 03:42 prebuilt\armle-v7\lib\libgpio.so.1
文件 21454 2016-10-25 03:42 prebuilt\armle-v7\lib\libi2c-master.a
文件 21618 2016-10-25 03:42 prebuilt\armle-v7\lib\libdma-sdma-imx6x.a
文件 32148 2016-10-25 03:42 prebuilt\armle-v7\lib\libdma-sdma-imx6x.so
文件 23270 2016-10-25 03:42 prebuilt\armle-v7\lib\libdma-sdma-imx6xS.a
目录 0 2016-10-25 03:42 prebuilt\armle-v7\bin\
文件 14031 2016-10-25 03:42 prebuilt\armle-v7\bin\gpio-lightswitch
............此处省略1013个文件信息
- 上一篇:射频微电子学高清
- 下一篇:musicApp.rar
相关资源
- i.MX 6UltraLite数据手册-中文版
- IMX6UL的PCB文件,包含底板和核心板的
- NXP官网IMX6ULL EVK原理图和PCB源文件
- Security Reference Manual for i.MX
- 低版本QNX源码-专供分析学习
- 分布式嵌入式实时操作系统QNX
- 小米盒子imx6版本原理图和pcb
- IMX6ULL参考手册
- IMX6ULLRM.pdf
- QNX 官方完全源代码 供学习参考 展开
- qnx6.4.0源代码 亲测可用含makefile
- IMX6ULRM.pdf
- QNX netrino源代码
- QNX系统学习资料整理
- fsl-gpu-sdk
- 飞思卡尔L3.0.35 Linux资料全套
- QNX实时操作体统系统源码
- qnx学习资料
- i.MX 6Dual6Quad Applications Processor Referen
- imx6x gpu sdk
- freescale IMX6用户手册
- IMX6Q开发手册
- QNX系统资料
- QNX4原理及其启动过程分析
- I.MX6 DMA驱动测试历程imx6 sdma mem to me
- i.MX 6Dual/6Quad BSP Porting Guide
- bluetooth_rtl8821cs_BT_hciattach_imx6.rar
- imx6系列处理器移植Qt5.6过程详细说明
- imx6_vpu_decode.rar
- imx6处理器EIM访问fpga
评论
共有 条评论