mirror of https://github.com/XIVN1987/DAPLink
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
910 B
34 lines
910 B
/********************************** (C) COPYRIGHT ******************************* |
|
* File Name : usb_mem.h |
|
* Author : WCH |
|
* Version : V1.0.0 |
|
* Date : 2021/08/08 |
|
* Description : This file contains all the functions prototypes for the |
|
* USB Initialization firmware library. |
|
* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd. |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*******************************************************************************/ |
|
#ifndef __USB_MEM_H |
|
#define __USB_MEM_H |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
#include "ch32v20x.h" |
|
|
|
void UserToPMABufferCopy(uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes); |
|
void PMAToUserBufferCopy(uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes); |
|
|
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
#endif /*__USB_MEM_H*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|