| Electronic Components Datasheet Search |
|
UM0290 Datasheet(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0290 Datasheet(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 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |