bspireg.h

来自「本程序为ST公司开发的源代码」· C头文件 代码 · 共 31 行

H
31
字号
/************************************************** * * * CVS ID:   $Id: bspireg.h,v 1.3 2006/04/26 17:59:52 kutik Exp $ * Author:   Maurizio Marcucci [MM] - STM * Date:     $Date: 2006/04/26 17:59:52 $ * Revision: $Revision: 1.3 $ *  * Description: *  *   Accordo+ Hardware registers definition * *************************************************** *  * COPYRIGHT (C) ST Microelectronics  2005 *            All Rights Reserved * ***************************************************/#include "bspidef.h"#define BSPI_BASE_ADDR     0xE0020000#define BSPI_RXR   (*((volatile uint32          *) (BSPI_BASE_ADDR + 0x00)))#define BSPI_TXR   (*((volatile uint32          *) (BSPI_BASE_ADDR + 0x04)))#define BSPI_CSR1  (*((volatile BSPI_CSR1_UNION *) (BSPI_BASE_ADDR + 0x08)))#define BSPI_CSR2  (*((volatile BSPI_CSR2_UNION *) (BSPI_BASE_ADDR + 0x0C)))#define BSPI_CLK   (*((volatile uint32          *) (BSPI_BASE_ADDR + 0x10)))#define BSPI_CSR3  (*((volatile BSPI_CSR3_UNION *) (BSPI_BASE_ADDR + 0x14)))

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?