bsppp.cpp

来自「IMX31开发板」· C++ 代码 · 共 102 行

CPP
102
字号
//------------------------------------------------------------------------------
//
//  Copyright (C) 2004-2006, Freescale Semiconductor, Inc. All Rights Reserved.
//  THIS SOURCE CODE, AND ITS USE AND DISTRIBUTION, IS SUBJECT TO THE TERMS
//  AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT
//
//------------------------------------------------------------------------------
//
//  File:  bsppp.c
//
//  Provides BSP-specific configuration routines for the Post-processing peripheral.
//
//------------------------------------------------------------------------------
#include <windows.h>
#include "bsp.h"

//------------------------------------------------------------------------------
// External Functions


//------------------------------------------------------------------------------
// External Variables


//------------------------------------------------------------------------------
// Defines
#define GPT_CLKSRC_FREQ     BSP_CLK_CKIH_FREQ


//------------------------------------------------------------------------------
// Types


//------------------------------------------------------------------------------
// Global Variables


//------------------------------------------------------------------------------
// Local Variables

//------------------------------------------------------------------------------
// Local Functions

//------------------------------------------------------------------------------
//
// Function: BSPSetPPISRPriority
//
// This function sets the thread priority for
// the Post-processor ISR.
//
// Parameters:
//      None.
//
// Returns:
//      None.
//
//------------------------------------------------------------------------------
void BSPSetPPISRPriority()
{
    CeSetThreadPriority(GetCurrentThread(), 100);
    return;
}

//------------------------------------------------------------------------------
//
// Function: BSPSetPPBufferThreadPriority
//
// This function sets the thread priority for
// the Post-processor Buffer worker thread.
//
// Parameters:
//      None.
//
// Returns:
//      None.
//
//------------------------------------------------------------------------------
void BSPSetPPBufferThreadPriority()
{
    CeSetThreadPriority(GetCurrentThread(), 100);
    return;
}

//------------------------------------------------------------------------------
//
// Function: BSPSetPPRotBufferThreadPriority
//
// This function sets the thread priority for
// the Post-processor rotation buffer worker thread.
//
// Parameters:
//      None.
//
// Returns:
//      None.
//
//------------------------------------------------------------------------------
void BSPSetPPRotBufferThreadPriority()
{
    CeSetThreadPriority(GetCurrentThread(), 100);
    return;
}

⌨️ 快捷键说明

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