Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90662521
dma_memory_mapping_sbcp.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Nov 3, 16:29
Size
1 KB
Mime Type
text/x-c
Expires
Tue, Nov 5, 16:29 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22090758
Attached To
R6619 Oncilla Motordriver Firmware
dma_memory_mapping_sbcp.c
View Options
/*
* dma_memory_mapping_sbcp.c
*
* Copyright (c) Alexandre Tuleu
* EPFL Biorobotics Laboratory (http://biorob.epfl.ch)
* EPFL Ecole Polytechnique Federale de Lausanne (http://www.epfl.ch)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* \file dma_memory_mapping_sbcp.c
* \author Alexandre Tuleu
* Implementation of the DMA memory mapping for the SBCP protocol, see file
* dma_memory_mapping_sbcp.h for more details.
*
*/
#include "dma_memory_mapping_sbcp.h"
unsigned
int
dma_sbcp_bus_rx_buffers
[
512
]
__attribute__
((
address
(
0x4400
),
space
(
dma
)));
#ifdef SBCP_IS_MASTER
unsigned
int
dma_usb_rx_buffers
[
512
]
__attribute__
((
space
(
dma
)));
#elif defined(SBCP_IS_SLAVE)
unsigned
int
dma_sbcp_bus_tx_buffer
[
DMA_SBCP_MAX_PACKET_SIZE
]
__attribute__
((
space
(
dma
)));
unsigned
int
dma_sbcp_bus_tx_ll_buffer
[
32
]
__attribute__
((
space
(
dma
)));
unsigned
int
dma_sbcp_bus_tx_ll_error_buffer
[
7
]
__attribute__
((
space
(
dma
)));
#endif
Event Timeline
Log In to Comment