📄 dat_edma3lld_biosadapter.c
字号:
/*
* Copyright 2006
* Texas Instruments Incorporated
*
* All rights reserved. Property of Texas Instruments Incorporated
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
*/
/**
* @file dat_edma3lld_biosAdapter.c
*
* @brief This file contains the OS specific helper functions
* required by the CSL DAT adapter
*
*
*/
static unsigned int _tsk_state;
/*
* ======== _dat_critical_section_enter ========
* Disables task status and saves state
* Used to mark entry to critical code section
*/
void _dat_critical_section_enter() {
_tsk_state = TSK_disable();
}
/*
* ======== _dat_critical_section_exit ========
* Restores task status
* Used to mark exit from critical code section
*/
void _dat_critical_section_exit() {
TSK_enable(_tsk_state);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -