| Electronic Components Datasheet Search |
|
UM0290 Datasheet(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0290 Datasheet(HTML) 13 Page - STMicroelectronics |
|
13 / 76 page ![]() UM0290 STR7/STR9 USB firmware library 13/76 chains) before enabling the DMA and, on termination of the DMA transfer (terminal count interrupt from the DMAC). – IN Endpoint: void DMALinkedModeTxConfig(u8 bEpNum): Configure a IN endpoint to trigger DMA Tx linked mode request. bEpNum = Endpoint number: 0 to 9. void DMALinkedModeTxEnable(void): Enable a IN endpoint to trigger DMA Tx linked mode. void DMALinkedModeTxDisable(void): Disable the trigger Tx DMA Linked request for the IN Endpoint. void SetDMALLITxLength(u8 length): set the DMA linked list length for IN Endpoint. length = length of the linked list. This value can be up to 255. – OUT Endpoint: void DMALinkedModeRxConfig(u8 bEpNum): Configure a OUT endpoint to trigger DMA Rx linked mode request. bEpNum = Endpoint number: 0 to 9. void DMALinkedModeRxEnable(void):Enable a OUT endpoint to trigger DMA Rx linked mode. void DMALinkedModeRxDisable(void):Disable the trigger Rx DMA Linked request for the OUT Endpoint. void SetDMALLIRxLength(u8 length):set the DMA linked list length for OUT Endpoint. length = length of the linked list. This value can be up to 255. void SetDMALLIRxPacketNum(u8 PacketNum): Set the number of packets to be received for each single descriptor of the Linked List. PacketNum = number of packet. It can be up to 127 packets. u8 GetDMALLIRxPacketNum(void): Get the number of packets to be received for each single descriptor of the Linked List. c) DMA common functions: To configure the DMA in both unlinked and linked modes the USB library provides some common functions used to synchronize the USB and the DMAC IPs and to configure the burst size for IN or OUT endpoints. void SetDMABurstTxSize(u8 DestBsize): Set the burst size for IN endpoint (destination burst size) DestBsize = Destination burst size. void SetDMABurstRxSize(u8 SrcBsize):Set the burst size for OUT endpoint (source burst size) SrcBsize = Source burst size. void DMASynchEnable(void): Enable the Synchronisation between the DMAC and the USB IP. void DMASynchDisable(void): Disable the Synchronisation between the DMAC and the USB IP. |
|
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 |