![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
SPI DDL module driver. More...
Go to the source code of this file.
Macros | |
| #define | SPI_CTRL1_CLEAR_MASK |
| #define | IS_DDL_SPI_TRANSFER_DIRECTION(__VALUE__) |
| #define | IS_DDL_SPI_MODE(__VALUE__) |
| #define | IS_DDL_SPI_DATAWIDTH(__VALUE__) |
| #define | IS_DDL_SPI_POLARITY(__VALUE__) |
| #define | IS_DDL_SPI_PHASE(__VALUE__) |
| #define | IS_DDL_SPI_NSS(__VALUE__) |
| #define | IS_DDL_SPI_BAUDRATE(__VALUE__) |
| #define | IS_DDL_SPI_BITORDER(__VALUE__) |
| #define | IS_DDL_SPI_CRCCALCULATION(__VALUE__) |
| #define | IS_DDL_SPI_CRC_POLYNOMIAL(__VALUE__) |
Functions | |
| ErrorStatus | DDL_SPI_DeInit (SPI_TypeDef *SPIx) |
| De-initialize the SPI registers to their default reset values. | |
| ErrorStatus | DDL_SPI_Init (SPI_TypeDef *SPIx, DDL_SPI_InitTypeDef *SPI_InitStruct) |
| Initialize the SPI registers according to the specified parameters in SPI_InitStruct. | |
| void | DDL_SPI_StructInit (DDL_SPI_InitTypeDef *SPI_InitStruct) |
| Set each DDL_SPI_InitTypeDef field to default value. | |
SPI DDL module driver.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The original code has been modified by Geehy Semiconductor.
Copyright (c) 2016 STMicroelectronics. Copyright (C) 2025 Geehy Semiconductor. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file g32r4xx_ddl_spi.c.