?? bsp_st.h
字號:
/*-----------------------------------------------------------------------------
* EUROPE TECHNOLOGIES Software Support
*------------------------------------------------------------------------------
* The software is delivered "AS IS" without warranty or condition of any
* kind, either express, implied or statutory. This includes without
* limitation any warranty or condition with respect to merchantability or
* fitness for any particular purpose, or against the infringements of
* intellectual property rights of others.
*------------------------------------------------------------------------------
*
* Processor : SmartCAN1 for EVMSmartCAN
* File Name : bsp_st.h
* Description : Definitions and Standard Typedef for
Simple Timer (Board Support Package Layer)
* Version : 1.01
*
* +----- (NEW | MODify | ADD | DELete)
* |
* No | when who what
*-----+---+----------+------------------+--------------------------------------
* 000 NEW 01/04/01 Olivier MAZUYER Creation
* 001 ADD 08/08/01 Frederic SAMSON - Add structures, variables, functions
* definitions
*----------------------------------------------------------------------------*/
#ifndef BSP_ST_H
#define BSP_ST_H
/*****************************************/
/* BSP ST Callback Definition */
/*****************************************/
/*******************************************************************************
Type: BSP_ST_CALLBACK_T
Description: BSP ST Callback Definition
Declaration: typedef *(BSP_ST_CALLBACK_T)(CSP_ST_T *st, U8_T channel_u8);
Inputs:
- 創CSP_ST_T創 *st : pointer on 創CSP_ST_T創 structure
- 創U8_T創 channel_u8 : channel
*******************************************************************************/
typedef *(BSP_ST_CALLBACK_T)(CSP_ST_T *st, U8_T channel_u8);
/*****************************************/
/* BSP ST Structure Definition */
/*****************************************/
/*******************************************************************************
Type: BSP_ST_CONFIGURE_T
Description: BSP ST Structure Definition
Fields:
- 創BSP_ST_CALLBACK_T創 *callback_function;
*******************************************************************************/
typedef struct
{
BSP_ST_CALLBACK_T *callback_function;
} BSP_ST_CONFIGURE_T;
/*****************************************/
/* BSP ST External variables Definitions */
/*****************************************/
extern BSP_ST_CONFIGURE_T BSP_ST_Config_s ;
/******************************************************************************
* External Function Declaration
******************************************************************************/
extern void BSP_STWaitDelay(CSP_ST_T *const st, U16_T channel_u8, U32_T delay);
extern void BSP_STStartDelay(CSP_ST_T *const st, U16_T channel_u8, U32_T delay_u32);
extern void ST0CH0_InterruptHandler(void);
extern void ST0CH1_InterruptHandler(void);
extern void ST1CH0_InterruptHandler(void);
extern void ST1CH1_InterruptHandler(void);
extern void ST0CH0_AsmInterruptHandler(void);
extern void ST0CH1_AsmInterruptHandler(void);
extern void ST1CH0_AsmInterruptHandler(void);
extern void ST1CH1_AsmInterruptHandler(void);
#endif /* BSP_ST_H */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -