亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? can.h

?? 好東西只有這一個了汗汗汗¥·# ¥·¥#
?? H
?? 第 1 頁 / 共 2 頁
字號:
* Output         : None
* Return         : None
*******************************************************************************/
void CAN_SleepRequest(u32 WakeupMode);

/*******************************************************************************
* Function Name  : CAN_SetUnusedMsgObj
* Description    : Configure the message object as unused
* Input 1        : message object number, from 0 to 31
* Output         : None
* Return         : None
*******************************************************************************/
void CAN_SetUnusedMsgObj(u32 msgobj);

/*******************************************************************************
* Function Name  : CAN_SetTxMsgObj
* Description    : Configure the message object as TX
* Input 1        : message object number, from 0 to 31
* Input 2        : CAN_STD_ID or CAN_EXT_ID
* Output         : None
* Return         : None
*******************************************************************************/
void CAN_SetTxMsgObj(u32 msgobj, u32 idType);

/*******************************************************************************
* Function Name  : CAN_SetRxMsgObj
* Description    : Configure the message object as RX
* Input 1        : message object number, from 0 to 31
* Input 2        : CAN_STD_ID or CAN_EXT_ID
* Input 3        : low part of the identifier range used for acceptance filtering
* Input 4        : high part of the identifier range used for acceptance filtering
* Input 5        : TRUE for a single receive object or a FIFO receive object that
*                  is the last one of the FIFO
*                  FALSE for a FIFO receive object that is not the last one
* Output         : None
* Return         : None
*******************************************************************************/
void CAN_SetRxMsgObj(u32 msgobj, u32 idType, u32 idLow, u32 idHigh, bool singleOrFifoLast);

/*******************************************************************************
* Function Name  : CAN_InvalidateAllMsgObj
* Description    : Configure all the message objects as unused
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
void CAN_InvalidateAllMsgObj(void);

/*******************************************************************************
* Function Name  : CAN_Init
* Description    : Initialize the CAN cell and set the bitrate
* Input 1        : any binary value formed from the CAN_CTL_xxx defines
* Input 2        : one of the CAN_BITRATE_xxx defines
* Output         : None
* Return         : None
*******************************************************************************/
void CAN_Init(u8 mask, u32 bitrate);

/*******************************************************************************
* Function Name  : CAN_ReleaseMessage
* Description    : Release the message object
* Input 1        : message object number, from 0 to 31
* Output         : None
* Return         : None
*******************************************************************************/
void CAN_ReleaseMessage(u32 msgobj);

/*******************************************************************************
* Function Name  : CAN_ReleaseTxMessage
* Description    : Release the transmit message object
* Input 1        : message object number, from 0 to 31
* Output         : None
* Return         : None
* Note           : assume that message interface 0 is free
*******************************************************************************/
inline void CAN_ReleaseTxMessage(u32 msgobj)
{
	CAN->sMsgObj[0].CMR = CAN_CMR_CLRINTPND | CAN_CMR_TXRQST;
	CAN->sMsgObj[0].CRR = 1 + msgobj;
}

/*******************************************************************************
* Function Name  : CAN_ReleaseRxMessage
* Description    : Release the receive message object
* Input 1        : message object number, from 0 to 31
* Output         : None
* Return         : None
* Note           : assume that message interface 1 is free
*******************************************************************************/
inline void CAN_ReleaseRxMessage(u32 msgobj)
{
	CAN->sMsgObj[1].CMR = CAN_CMR_CLRINTPND | CAN_CMR_TXRQST;
	CAN->sMsgObj[1].CRR = 1 + msgobj;
}

/*******************************************************************************
* Function Name  : CAN_SendMessage
* Description    : Start transmission of a message
* Input 1        : message object number, from 0 to 31
* Input 2        : pointer to the message structure containing data to transmit
* Output         : None
* Return         : 1 if transmission was OK, else 0
*******************************************************************************/
u32  CAN_SendMessage(u32 msgobj, canmsg* pCanMsg);

/*******************************************************************************
* Function Name  : CAN_ReceiveMessage
* Description    : Get the message, if received
* Input 1        : message object number, from 0 to 31
* Input 2        : if TRUE, the message object is released when getting the data
*                  if FALSE, the message object is not released
* Input 3        : pointer to the message structure where received data is stored
* Output         : None
* Return         : 1 if reception was OK, else 0 (no message pending)
*******************************************************************************/
u32  CAN_ReceiveMessage(u32 msgobj, bool release, canmsg* pCanMsg);

/*******************************************************************************
* Function Name  : CAN_WaitEndOfTx
* Description    : Wait until current transmission is finished
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
void CAN_WaitEndOfTx(void);

/*******************************************************************************
* Function Name  : CAN_BasicSendMessage
* Description    : Start transmission of a message in BASIC mode
* Input 1        : pointer to the message structure containing data to transmit
* Output         : None
* Return         : 1 if transmission was OK, else 0
* Note           : CAN must be in BASIC mode
*******************************************************************************/
u32 CAN_BasicSendMessage(canmsg* pCanMsg);

/*******************************************************************************
* Function Name  : CAN_BasicReceiveMessage
* Description    : Get the message in BASIC mode, if received
* Input 1        : pointer to the message structure where received data is stored
* Output         : None
* Return         : 1 if reception was OK, else 0 (no message pending)
* Note           : CAN must be in BASIC mode
*******************************************************************************/
u32 CAN_BasicReceiveMessage(canmsg* pCanMsg);

/*******************************************************************************
* Function Name  : CAN_IsMessageWaiting
* Description    : Test the waiting status of a received message
* Input 1        : message object number, from 0 to 31
* Output         : None
* Return         : A non-zero value if the corresponding message object has
*                  received a message waiting to be copied, else 0
*******************************************************************************/
inline u32 CAN_IsMessageWaiting(u32 msgobj)
{
  return (msgobj < 16 ? CAN->ND1R & (1 << msgobj) : CAN->ND2R & (1 << (msgobj-16)));
}

/*******************************************************************************
* Function Name  : CAN_IsTransmitRequested
* Description    : Test the request status of a transmitted message
* Input 1        : message object number, from 0 to 31
* Output         : None
* Return         : A non-zero value if the corresponding message is requested
*                  to transmit, else 0
*******************************************************************************/
inline u32 CAN_IsTransmitRequested(u32 msgobj)
{
  return (msgobj < 16 ? CAN->TR1R & (1 << msgobj) : CAN->TR2R & (1 << (msgobj-16)));
}

/*******************************************************************************
* Function Name  : CAN_IsInterruptPending
* Description    : Test the interrupt status of a message object
* Input 1        : message object number, from 0 to 31
* Output         : None
* Return         : A non-zero value if the corresponding message has an interrupt
*                  pending, else 0
*******************************************************************************/
inline u32 CAN_IsInterruptPending(u32 msgobj)
{
  return (msgobj < 16 ? CAN->IP1R & (1 << msgobj) : CAN->IP2R & (1 << (msgobj-16)));
}

/*******************************************************************************
* Function Name  : CAN_IsObjectValid
* Description    : Test the validity of a message object (ready to use)
* Input 1        : message object number, from 0 to 31
* Output         : None
* Return         : A non-zero value if the corresponding message object is valid,
*                  else 0
*******************************************************************************/
inline u32 CAN_IsObjectValid(u32 msgobj)
{
  return (msgobj < 16 ? CAN->MV1R & (1 << msgobj) : CAN->MV2R & (1 << (msgobj-16)));
}

#endif /* __can_H */

/******************* (C) COPYRIGHT 2003 STMicroelectronics *****END OF FILE****/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产无一区二区| 日韩在线卡一卡二| 偷窥国产亚洲免费视频| 国产成人99久久亚洲综合精品| 欧美吻胸吃奶大尺度电影| 国产精品每日更新| 精品亚洲porn| 日韩欧美一区二区视频| 亚洲国产精品久久久男人的天堂| 国产盗摄一区二区| 26uuu久久综合| 日本不卡中文字幕| 欧美日韩高清一区二区三区| 日韩伦理av电影| 北条麻妃国产九九精品视频| 欧美精品一区二区精品网| 亚洲成人手机在线| 在线观看亚洲一区| 亚洲女人小视频在线观看| 成人va在线观看| 国产日韩综合av| 福利一区二区在线观看| 久久尤物电影视频在线观看| 奇米精品一区二区三区在线观看一| 欧美性猛交xxxx黑人交| 一区二区三区美女| 色欧美日韩亚洲| 亚洲国产美国国产综合一区二区| 在线免费av一区| 亚洲图片欧美色图| 欧美亚洲国产bt| 日韩精品午夜视频| 欧美一激情一区二区三区| 日韩一区精品视频| 日韩欧美一区二区在线视频| 美美哒免费高清在线观看视频一区二区| 91精品麻豆日日躁夜夜躁| 五月天激情综合网| 日韩亚洲欧美综合| 国产一区高清在线| 中文字幕一区二区三区在线观看| 成人性视频网站| 亚洲日本免费电影| 欧美日韩国产美女| 久久99最新地址| 中文字幕第一页久久| 成人av网在线| 亚洲国产中文字幕在线视频综合| 777a∨成人精品桃花网| 黄色小说综合网站| 综合精品久久久| 91精品国产综合久久香蕉麻豆 | 9191精品国产综合久久久久久| 亚洲国产日产av| 精品成a人在线观看| 国产99久久精品| 亚洲电影第三页| 精品欧美一区二区在线观看| 成人精品国产免费网站| 亚洲香肠在线观看| 国产亚洲欧洲一区高清在线观看| 99亚偷拍自图区亚洲| 日欧美一区二区| 国产精品无圣光一区二区| 欧美日韩在线播放三区| 国产精品77777| 午夜精品福利久久久| 国产亚洲精久久久久久| 精品久久五月天| 91行情网站电视在线观看高清版| 日本麻豆一区二区三区视频| 国产精品成人网| 日韩视频在线永久播放| 99久久婷婷国产| 精品一区二区免费| 夜夜嗨av一区二区三区中文字幕| 精品入口麻豆88视频| 在线免费观看日本欧美| 国产福利精品导航| 日本欧美一区二区在线观看| ㊣最新国产の精品bt伙计久久| 日韩欧美一区中文| 欧美性生活久久| 国产一区二区三区四区五区美女| 午夜视频在线观看一区二区 | 在线免费不卡电影| 粉嫩aⅴ一区二区三区四区| 日本不卡视频在线观看| 亚洲香蕉伊在人在线观| 中文字幕亚洲综合久久菠萝蜜| 精品福利在线导航| 欧美精品电影在线播放| 色香蕉久久蜜桃| 处破女av一区二区| 国产精品一线二线三线| 蜜桃视频一区二区三区| 日韩电影一区二区三区四区| 一区二区三区在线播| 中文字幕在线不卡一区 | 午夜久久电影网| 亚洲乱码日产精品bd| 国产精品久久久久久久久搜平片 | 精品一区二区三区免费毛片爱 | 中文一区二区完整视频在线观看| 欧美tickling挠脚心丨vk| 在线综合+亚洲+欧美中文字幕| 精品视频资源站| 欧美日韩一区二区三区在线| 色屁屁一区二区| 色av综合在线| 欧美日韩免费视频| 欧美日韩国产三级| 911精品国产一区二区在线| 欧美军同video69gay| 欧美日韩国产小视频| 欧美一区永久视频免费观看| 欧美电影一区二区| 欧美肥胖老妇做爰| 日韩无一区二区| 2020国产精品久久精品美国| 久久九九久久九九| 国产日韩成人精品| 亚洲色图制服丝袜| 亚洲国产成人91porn| 首页国产丝袜综合| 激情综合亚洲精品| 国产成人免费av在线| 91麻豆自制传媒国产之光| 欧美丝袜自拍制服另类| 91精品一区二区三区在线观看| 欧美一区二区视频观看视频| 欧美xxx久久| 国产精品久久久久久户外露出| 亚洲免费av观看| 三级在线观看一区二区 | 麻豆中文一区二区| 国产成人精品免费视频网站| 91丝袜呻吟高潮美腿白嫩在线观看| 91国偷自产一区二区三区观看| 欧美喷潮久久久xxxxx| 337p日本欧洲亚洲大胆色噜噜| 国产精品另类一区| 亚洲高清在线视频| 国产一区二三区好的| 色综合一个色综合| 精品国产乱子伦一区| 亚洲欧洲另类国产综合| 日韩电影一二三区| a级精品国产片在线观看| 欧美人xxxx| 日韩一区中文字幕| 日韩激情视频在线观看| 国产91色综合久久免费分享| 欧美日韩综合一区| 国产精品美日韩| 另类人妖一区二区av| 日本道精品一区二区三区| 2023国产精品| 日韩在线一二三区| 色狠狠综合天天综合综合| 久久免费电影网| 日韩精品免费视频人成| 91欧美一区二区| 亚洲精品一区在线观看| 午夜精品影院在线观看| 一本一道综合狠狠老| 久久精品人人做人人爽人人| 日本亚洲天堂网| 精品视频色一区| 亚洲欧美日韩人成在线播放| 国产一区二区调教| 欧美一级国产精品| 亚洲一区二区免费视频| youjizz久久| 久久久国产精品麻豆| 蜜桃传媒麻豆第一区在线观看| 在线影视一区二区三区| 国产精品久久久久aaaa| 狠狠色丁香婷婷综合| 日韩欧美中文字幕公布| 调教+趴+乳夹+国产+精品| 欧美伊人久久久久久久久影院| 亚洲图片另类小说| 99国内精品久久| 国产精品你懂的| 懂色av一区二区在线播放| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 欧美日韩日日夜夜| 一区二区三区免费在线观看| 91美女片黄在线观看| 亚洲欧美在线视频| www.亚洲精品| 国产精品乱码人人做人人爱 | 国产精品一区二区久激情瑜伽| 日韩一区二区免费在线电影 | 在线观看国产91| 一区二区三区在线观看欧美| 在线视频欧美精品| 一区二区三区高清| 欧美区在线观看|