| 数据搜索系统,热门电子元器件搜索 |
|
UM0290 数据表(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0290 数据表(HTML) 9 Page - STMicroelectronics |
|
9 / 76 page ![]() UM0290 STR7/STR9 USB firmware library 9/76 Clear_Status_Out : void Clear_Status_Out(u8 bEpNum) bEpNum = endpoint number SetEPDoubleBuff : void SetEPDoubleBuff(u8 bEpNum) ClearEPDoubleBuff : void ClearEPDoubleBuff(u8 bEpNum) bEpNum = endpoint number e) Correct Transfer Rx/Tx fields ClearEP_CTR_RX : void ClearEP_CTR_RX(u8 bEpNum) ClearEP_CTR_TX : void ClearEP_CTR_TX(u8 bEpNum) bEpNum = endpoint number f) Data Toggle Rx/Tx fields ToggleDTOG_RX : void ToggleDTOG_RX(u8 bEpNum) ToggleDTOG_TX : void ToggleDTOG_TX(u8 bEpNum) bEpNum = endpoint number g) Address field SetEPAdress : void SetEPAddress(u8 bEpNum,u8 bAddr) bEpNum = endpoint number bAddr = address to be set GetEPAdress : BYTE GetEPAddress(u8 bEpNum) bEpNum = endpoint number 3. Buffer description table functions: These functions are used to set or get the endpoints’ receive and transmit buffer addresses and sizes. a) Tx/Rx buffer address fields SetEPTxAddr : void SetEPTxAddr(u8 bEpNum,u16 wAddr); SetEPRxAddr : void SetEPRxAddr(u8 bEpNum,u16 wAddr); bEpNum = endpoint number wAddr = address to be set (expressed as PMA buffer address) GetEPTxAddr : u16 GetEPTxAddr(u8 bEpNum); GetEPRxAddr : u16 GetEPRxAddr(u8 bEpNum); bEpNum = endpoint number return value : address value (expressed as PMA buffer address) b) Tx/Rx buffer counter fields SetEPTxCount : void SetEPTxCount(u8 bEpNum,u16 wCount); SetEPRxCount : void SetEPRxCount(u8 bEpNum,u16 wCount); bEpNum = endpoint number wCount = counter to be set GetEPTxCount : u16 GetEPTxCount(u8 bEpNum); GetEPRxCount : u16 GetEPRxCount(u8 bEpNum); bEpNum = endpoint number return value : counter value |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |