SAMV71 Xplained Ultra Software Package 1.3

xdma_hardware_interface.c File Reference

#include "chip.h"

Go to the source code of this file.

Functions

uint8_t XDMAIF_Get_ChannelNumber (uint8_t bPeriphID, uint8_t bTransfer)
 Get peripheral identifier coded for hardware handshaking interface.
uint8_t XDMAIF_IsValidatedPeripherOnDma (uint8_t bPeriphID)
 Check if the given DMAC has associated peripheral identifier coded by the given peripheral.

Detailed Description

Definition in file xdma_hardware_interface.c.


Function Documentation

uint8_t XDMAIF_Get_ChannelNumber ( uint8_t  bPeriphID,
uint8_t  bTransfer 
)

Get peripheral identifier coded for hardware handshaking interface.

Parameters:
bDmac DMA Controller number.
bPeriphID Peripheral ID.
bTransfer Transfer type 0: Tx, 1 :Rx.
Returns:
0-15 peripheral identifier coded. 0xff : no associated peripheral identifier coded.

Definition at line 119 of file xdma_hardware_interface.c.

Here is the call graph for this function:

uint8_t XDMAIF_IsValidatedPeripherOnDma ( uint8_t  bPeriphID  ) 

Check if the given DMAC has associated peripheral identifier coded by the given peripheral.

Parameters:
bDmac DMA Controller number.
bPeriphID Peripheral ID (0xff : memory only).
Returns:
1: Is a validated peripheral. 0: no associated peripheral identifier coded.

Definition at line 143 of file xdma_hardware_interface.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines