blob: 3bda9ec41d77143002fe2c64f14937ec58dc769a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* Copyright 2016 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/**
* Select DMA stream-channel mapping
*
* This selects which stream (peripheral) to be used on a specific channel.
* Some STM32 chips simply logically OR requests, thus do not require this
* selection.
*
* @param channel: (Global) channel # base 0 (Note some STM32s use base 1)
* @param peripheral: Refer to the TRM for 'peripheral request signals'
*/
void dma_select_channel(enum dma_channel channel, unsigned char stream);
|