The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_DISCO_F303VC/TARGET_STM/TARGET_STM32F3/device/stm32f3xx_hal_pccard.h@163:e59c8e839560, 2018-03-20 (annotated)
- Committer:
- AnnaBridge
- Date:
- Tue Mar 20 13:30:58 2018 +0000
- Revision:
- 163:e59c8e839560
- Child:
- 168:b9e159c1930a
mbed library. Release version 160
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AnnaBridge | 163:e59c8e839560 | 1 | /** |
AnnaBridge | 163:e59c8e839560 | 2 | ****************************************************************************** |
AnnaBridge | 163:e59c8e839560 | 3 | * @file stm32f3xx_hal_pccard.h |
AnnaBridge | 163:e59c8e839560 | 4 | * @author MCD Application Team |
AnnaBridge | 163:e59c8e839560 | 5 | * @version V1.4.0 |
AnnaBridge | 163:e59c8e839560 | 6 | * @date 16-December-2016 |
AnnaBridge | 163:e59c8e839560 | 7 | * @brief Header file of PCCARD HAL module. |
AnnaBridge | 163:e59c8e839560 | 8 | ****************************************************************************** |
AnnaBridge | 163:e59c8e839560 | 9 | * @attention |
AnnaBridge | 163:e59c8e839560 | 10 | * |
AnnaBridge | 163:e59c8e839560 | 11 | * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2> |
AnnaBridge | 163:e59c8e839560 | 12 | * |
AnnaBridge | 163:e59c8e839560 | 13 | * Redistribution and use in source and binary forms, with or without modification, |
AnnaBridge | 163:e59c8e839560 | 14 | * are permitted provided that the following conditions are met: |
AnnaBridge | 163:e59c8e839560 | 15 | * 1. Redistributions of source code must retain the above copyright notice, |
AnnaBridge | 163:e59c8e839560 | 16 | * this list of conditions and the following disclaimer. |
AnnaBridge | 163:e59c8e839560 | 17 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
AnnaBridge | 163:e59c8e839560 | 18 | * this list of conditions and the following disclaimer in the documentation |
AnnaBridge | 163:e59c8e839560 | 19 | * and/or other materials provided with the distribution. |
AnnaBridge | 163:e59c8e839560 | 20 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
AnnaBridge | 163:e59c8e839560 | 21 | * may be used to endorse or promote products derived from this software |
AnnaBridge | 163:e59c8e839560 | 22 | * without specific prior written permission. |
AnnaBridge | 163:e59c8e839560 | 23 | * |
AnnaBridge | 163:e59c8e839560 | 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
AnnaBridge | 163:e59c8e839560 | 25 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
AnnaBridge | 163:e59c8e839560 | 26 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
AnnaBridge | 163:e59c8e839560 | 27 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
AnnaBridge | 163:e59c8e839560 | 28 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
AnnaBridge | 163:e59c8e839560 | 29 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
AnnaBridge | 163:e59c8e839560 | 30 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
AnnaBridge | 163:e59c8e839560 | 31 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
AnnaBridge | 163:e59c8e839560 | 32 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
AnnaBridge | 163:e59c8e839560 | 33 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
AnnaBridge | 163:e59c8e839560 | 34 | * |
AnnaBridge | 163:e59c8e839560 | 35 | ****************************************************************************** |
AnnaBridge | 163:e59c8e839560 | 36 | */ |
AnnaBridge | 163:e59c8e839560 | 37 | |
AnnaBridge | 163:e59c8e839560 | 38 | /* Define to prevent recursive inclusion -------------------------------------*/ |
AnnaBridge | 163:e59c8e839560 | 39 | #ifndef __STM32F3xx_HAL_PCCARD_H |
AnnaBridge | 163:e59c8e839560 | 40 | #define __STM32F3xx_HAL_PCCARD_H |
AnnaBridge | 163:e59c8e839560 | 41 | |
AnnaBridge | 163:e59c8e839560 | 42 | #ifdef __cplusplus |
AnnaBridge | 163:e59c8e839560 | 43 | extern "C" { |
AnnaBridge | 163:e59c8e839560 | 44 | #endif |
AnnaBridge | 163:e59c8e839560 | 45 | |
AnnaBridge | 163:e59c8e839560 | 46 | /* Includes ------------------------------------------------------------------*/ |
AnnaBridge | 163:e59c8e839560 | 47 | #if defined(STM32F302xE) || defined(STM32F303xE) || defined(STM32F398xx) |
AnnaBridge | 163:e59c8e839560 | 48 | #include "stm32f3xx_ll_fmc.h" |
AnnaBridge | 163:e59c8e839560 | 49 | |
AnnaBridge | 163:e59c8e839560 | 50 | /** @addtogroup STM32F3xx_HAL_Driver |
AnnaBridge | 163:e59c8e839560 | 51 | * @{ |
AnnaBridge | 163:e59c8e839560 | 52 | */ |
AnnaBridge | 163:e59c8e839560 | 53 | |
AnnaBridge | 163:e59c8e839560 | 54 | /** @addtogroup PCCARD |
AnnaBridge | 163:e59c8e839560 | 55 | * @{ |
AnnaBridge | 163:e59c8e839560 | 56 | */ |
AnnaBridge | 163:e59c8e839560 | 57 | |
AnnaBridge | 163:e59c8e839560 | 58 | /** @addtogroup PCCARD_Private_Constants |
AnnaBridge | 163:e59c8e839560 | 59 | * @{ |
AnnaBridge | 163:e59c8e839560 | 60 | */ |
AnnaBridge | 163:e59c8e839560 | 61 | |
AnnaBridge | 163:e59c8e839560 | 62 | #define PCCARD_DEVICE_ADDRESS FMC_BANK4 |
AnnaBridge | 163:e59c8e839560 | 63 | #define PCCARD_ATTRIBUTE_SPACE_ADDRESS ((uint32_t)(FMC_BANK4 + 0x08000000U)) /* Attribute space size to @0x9BFF FFFF */ |
AnnaBridge | 163:e59c8e839560 | 64 | #define PCCARD_COMMON_SPACE_ADDRESS PCCARD_DEVICE_ADDRESS /* Common space size to @0x93FF FFFF */ |
AnnaBridge | 163:e59c8e839560 | 65 | #define PCCARD_IO_SPACE_ADDRESS ((uint32_t)(FMC_BANK4 + 0x0C000000U)) /* IO space size to @0x9FFF FFFF */ |
AnnaBridge | 163:e59c8e839560 | 66 | #define PCCARD_IO_SPACE_PRIMARY_ADDR ((uint32_t)(FMC_BANK4 + 0x0C0001F0U)) /* IO space size to @0x9FFF FFFF */ |
AnnaBridge | 163:e59c8e839560 | 67 | |
AnnaBridge | 163:e59c8e839560 | 68 | /* Compact Flash-ATA registers description */ |
AnnaBridge | 163:e59c8e839560 | 69 | #define ATA_DATA ((uint8_t)0x00U) /* Data register */ |
AnnaBridge | 163:e59c8e839560 | 70 | #define ATA_SECTOR_COUNT ((uint8_t)0x02U) /* Sector Count register */ |
AnnaBridge | 163:e59c8e839560 | 71 | #define ATA_SECTOR_NUMBER ((uint8_t)0x03U) /* Sector Number register */ |
AnnaBridge | 163:e59c8e839560 | 72 | #define ATA_CYLINDER_LOW ((uint8_t)0x04U) /* Cylinder low register */ |
AnnaBridge | 163:e59c8e839560 | 73 | #define ATA_CYLINDER_HIGH ((uint8_t)0x05U) /* Cylinder high register */ |
AnnaBridge | 163:e59c8e839560 | 74 | #define ATA_CARD_HEAD ((uint8_t)0x06U) /* Card/Head register */ |
AnnaBridge | 163:e59c8e839560 | 75 | #define ATA_STATUS_CMD ((uint8_t)0x07U) /* Status(read)/Command(write) register */ |
AnnaBridge | 163:e59c8e839560 | 76 | #define ATA_STATUS_CMD_ALTERNATE ((uint8_t)0x0EU) /* Alternate Status(read)/Command(write) register */ |
AnnaBridge | 163:e59c8e839560 | 77 | #define ATA_COMMON_DATA_AREA ((uint16_t)0x0400U) /* Start of data area (for Common access only!) */ |
AnnaBridge | 163:e59c8e839560 | 78 | #define ATA_CARD_CONFIGURATION ((uint16_t)0x0202U) /* Card Configuration and Status Register */ |
AnnaBridge | 163:e59c8e839560 | 79 | |
AnnaBridge | 163:e59c8e839560 | 80 | /* Compact Flash-ATA commands */ |
AnnaBridge | 163:e59c8e839560 | 81 | #define ATA_READ_SECTOR_CMD ((uint8_t)0x20U) |
AnnaBridge | 163:e59c8e839560 | 82 | #define ATA_WRITE_SECTOR_CMD ((uint8_t)0x30U) |
AnnaBridge | 163:e59c8e839560 | 83 | #define ATA_ERASE_SECTOR_CMD ((uint8_t)0xC0U) |
AnnaBridge | 163:e59c8e839560 | 84 | #define ATA_IDENTIFY_CMD ((uint8_t)0xECU) |
AnnaBridge | 163:e59c8e839560 | 85 | |
AnnaBridge | 163:e59c8e839560 | 86 | /* Compact Flash status */ |
AnnaBridge | 163:e59c8e839560 | 87 | #define PCCARD_TIMEOUT_ERROR ((uint8_t)0x60U) |
AnnaBridge | 163:e59c8e839560 | 88 | #define PCCARD_BUSY ((uint8_t)0x80U) |
AnnaBridge | 163:e59c8e839560 | 89 | #define PCCARD_PROGR ((uint8_t)0x01U) |
AnnaBridge | 163:e59c8e839560 | 90 | #define PCCARD_READY ((uint8_t)0x40U) |
AnnaBridge | 163:e59c8e839560 | 91 | |
AnnaBridge | 163:e59c8e839560 | 92 | #define PCCARD_SECTOR_SIZE (255U) /* In half words */ |
AnnaBridge | 163:e59c8e839560 | 93 | |
AnnaBridge | 163:e59c8e839560 | 94 | |
AnnaBridge | 163:e59c8e839560 | 95 | /* Compact Flash redefinition */ |
AnnaBridge | 163:e59c8e839560 | 96 | #define HAL_CF_Read_ID HAL_PCCARD_Read_ID |
AnnaBridge | 163:e59c8e839560 | 97 | #define HAL_CF_Write_Sector HAL_PCCARD_Write_Sector |
AnnaBridge | 163:e59c8e839560 | 98 | #define HAL_CF_Read_Sector HAL_PCCARD_Read_Sector |
AnnaBridge | 163:e59c8e839560 | 99 | #define HAL_CF_Erase_Sector HAL_PCCARD_Erase_Sector |
AnnaBridge | 163:e59c8e839560 | 100 | #define HAL_CF_Reset HAL_PCCARD_Reset |
AnnaBridge | 163:e59c8e839560 | 101 | |
AnnaBridge | 163:e59c8e839560 | 102 | #define HAL_CF_GetStatus HAL_PCCARD_GetStatus |
AnnaBridge | 163:e59c8e839560 | 103 | #define HAL_CF_ReadStatus HAL_PCCARD_ReadStatus |
AnnaBridge | 163:e59c8e839560 | 104 | |
AnnaBridge | 163:e59c8e839560 | 105 | #define CF_SUCCESS HAL_PCCARD_STATUS_SUCCESS |
AnnaBridge | 163:e59c8e839560 | 106 | #define CF_ONGOING HAL_PCCARD_STATUS_ONGOING |
AnnaBridge | 163:e59c8e839560 | 107 | #define CF_ERROR HAL_PCCARD_STATUS_ERROR |
AnnaBridge | 163:e59c8e839560 | 108 | #define CF_TIMEOUT HAL_PCCARD_STATUS_TIMEOUT |
AnnaBridge | 163:e59c8e839560 | 109 | #define HAL_PCCARD_StatusTypeDef HAL_PCCARD_StatusTypeDef |
AnnaBridge | 163:e59c8e839560 | 110 | |
AnnaBridge | 163:e59c8e839560 | 111 | |
AnnaBridge | 163:e59c8e839560 | 112 | #define CF_DEVICE_ADDRESS PCCARD_DEVICE_ADDRESS |
AnnaBridge | 163:e59c8e839560 | 113 | #define CF_ATTRIBUTE_SPACE_ADDRESS PCCARD_ATTRIBUTE_SPACE_ADDRESS |
AnnaBridge | 163:e59c8e839560 | 114 | #define CF_COMMON_SPACE_ADDRESS PCCARD_COMMON_SPACE_ADDRESS |
AnnaBridge | 163:e59c8e839560 | 115 | #define CF_IO_SPACE_ADDRESS PCCARD_IO_SPACE_ADDRESS |
AnnaBridge | 163:e59c8e839560 | 116 | #define CF_IO_SPACE_PRIMARY_ADDR PCCARD_IO_SPACE_PRIMARY_ADDR |
AnnaBridge | 163:e59c8e839560 | 117 | |
AnnaBridge | 163:e59c8e839560 | 118 | #define CF_TIMEOUT_ERROR PCCARD_TIMEOUT_ERROR |
AnnaBridge | 163:e59c8e839560 | 119 | #define CF_BUSY PCCARD_BUSY |
AnnaBridge | 163:e59c8e839560 | 120 | #define CF_PROGR PCCARD_PROGR |
AnnaBridge | 163:e59c8e839560 | 121 | #define CF_READY PCCARD_READY |
AnnaBridge | 163:e59c8e839560 | 122 | |
AnnaBridge | 163:e59c8e839560 | 123 | #define CF_SECTOR_SIZE PCCARD_SECTOR_SIZE |
AnnaBridge | 163:e59c8e839560 | 124 | |
AnnaBridge | 163:e59c8e839560 | 125 | /** |
AnnaBridge | 163:e59c8e839560 | 126 | * @} |
AnnaBridge | 163:e59c8e839560 | 127 | */ |
AnnaBridge | 163:e59c8e839560 | 128 | |
AnnaBridge | 163:e59c8e839560 | 129 | /* Exported typedef ----------------------------------------------------------*/ |
AnnaBridge | 163:e59c8e839560 | 130 | /** @defgroup PCCARD_Exported_Types PCCARD Exported Types |
AnnaBridge | 163:e59c8e839560 | 131 | * @{ |
AnnaBridge | 163:e59c8e839560 | 132 | */ |
AnnaBridge | 163:e59c8e839560 | 133 | |
AnnaBridge | 163:e59c8e839560 | 134 | /** |
AnnaBridge | 163:e59c8e839560 | 135 | * @brief HAL PCCARD State structures definition |
AnnaBridge | 163:e59c8e839560 | 136 | */ |
AnnaBridge | 163:e59c8e839560 | 137 | typedef enum |
AnnaBridge | 163:e59c8e839560 | 138 | { |
AnnaBridge | 163:e59c8e839560 | 139 | HAL_PCCARD_STATE_RESET = 0x00U, /*!< PCCARD peripheral not yet initialized or disabled */ |
AnnaBridge | 163:e59c8e839560 | 140 | HAL_PCCARD_STATE_READY = 0x01U, /*!< PCCARD peripheral ready */ |
AnnaBridge | 163:e59c8e839560 | 141 | HAL_PCCARD_STATE_BUSY = 0x02U, /*!< PCCARD peripheral busy */ |
AnnaBridge | 163:e59c8e839560 | 142 | HAL_PCCARD_STATE_ERROR = 0x04 /*!< PCCARD peripheral error */ |
AnnaBridge | 163:e59c8e839560 | 143 | }HAL_PCCARD_StateTypeDef; |
AnnaBridge | 163:e59c8e839560 | 144 | |
AnnaBridge | 163:e59c8e839560 | 145 | typedef enum |
AnnaBridge | 163:e59c8e839560 | 146 | { |
AnnaBridge | 163:e59c8e839560 | 147 | HAL_PCCARD_STATUS_SUCCESS = 0U, |
AnnaBridge | 163:e59c8e839560 | 148 | HAL_PCCARD_STATUS_ONGOING, |
AnnaBridge | 163:e59c8e839560 | 149 | HAL_PCCARD_STATUS_ERROR, |
AnnaBridge | 163:e59c8e839560 | 150 | HAL_PCCARD_STATUS_TIMEOUT |
AnnaBridge | 163:e59c8e839560 | 151 | }HAL_PCCARD_StatusTypeDef; |
AnnaBridge | 163:e59c8e839560 | 152 | |
AnnaBridge | 163:e59c8e839560 | 153 | /** |
AnnaBridge | 163:e59c8e839560 | 154 | * @brief FMC_PCCARD handle Structure definition |
AnnaBridge | 163:e59c8e839560 | 155 | */ |
AnnaBridge | 163:e59c8e839560 | 156 | typedef struct |
AnnaBridge | 163:e59c8e839560 | 157 | { |
AnnaBridge | 163:e59c8e839560 | 158 | FMC_PCCARD_TypeDef *Instance; /*!< Register base address for PCCARD device */ |
AnnaBridge | 163:e59c8e839560 | 159 | |
AnnaBridge | 163:e59c8e839560 | 160 | FMC_PCCARD_InitTypeDef Init; /*!< PCCARD device control configuration parameters */ |
AnnaBridge | 163:e59c8e839560 | 161 | |
AnnaBridge | 163:e59c8e839560 | 162 | __IO HAL_PCCARD_StateTypeDef State; /*!< PCCARD device access state */ |
AnnaBridge | 163:e59c8e839560 | 163 | |
AnnaBridge | 163:e59c8e839560 | 164 | HAL_LockTypeDef Lock; /*!< PCCARD Lock */ |
AnnaBridge | 163:e59c8e839560 | 165 | |
AnnaBridge | 163:e59c8e839560 | 166 | }PCCARD_HandleTypeDef; |
AnnaBridge | 163:e59c8e839560 | 167 | /** |
AnnaBridge | 163:e59c8e839560 | 168 | * @} |
AnnaBridge | 163:e59c8e839560 | 169 | */ |
AnnaBridge | 163:e59c8e839560 | 170 | |
AnnaBridge | 163:e59c8e839560 | 171 | /* Exported constants --------------------------------------------------------*/ |
AnnaBridge | 163:e59c8e839560 | 172 | /* Exported macro ------------------------------------------------------------*/ |
AnnaBridge | 163:e59c8e839560 | 173 | /** @defgroup PCCARD_Exported_Macros PCCARD Exported Macros |
AnnaBridge | 163:e59c8e839560 | 174 | * @{ |
AnnaBridge | 163:e59c8e839560 | 175 | */ |
AnnaBridge | 163:e59c8e839560 | 176 | |
AnnaBridge | 163:e59c8e839560 | 177 | /** @brief Reset PCCARD handle state |
AnnaBridge | 163:e59c8e839560 | 178 | * @param __HANDLE__: specifies the PCCARD handle. |
AnnaBridge | 163:e59c8e839560 | 179 | * @retval None |
AnnaBridge | 163:e59c8e839560 | 180 | */ |
AnnaBridge | 163:e59c8e839560 | 181 | #define __HAL_PCCARD_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_PCCARD_STATE_RESET) |
AnnaBridge | 163:e59c8e839560 | 182 | /** |
AnnaBridge | 163:e59c8e839560 | 183 | * @} |
AnnaBridge | 163:e59c8e839560 | 184 | */ |
AnnaBridge | 163:e59c8e839560 | 185 | |
AnnaBridge | 163:e59c8e839560 | 186 | /* Exported functions --------------------------------------------------------*/ |
AnnaBridge | 163:e59c8e839560 | 187 | /** @addtogroup PCCARD_Exported_Functions PCCARD Exported Functions |
AnnaBridge | 163:e59c8e839560 | 188 | * @{ |
AnnaBridge | 163:e59c8e839560 | 189 | */ |
AnnaBridge | 163:e59c8e839560 | 190 | |
AnnaBridge | 163:e59c8e839560 | 191 | /** @addtogroup PCCARD_Exported_Functions_Group1 Initialization and de-initialization functions |
AnnaBridge | 163:e59c8e839560 | 192 | * @{ |
AnnaBridge | 163:e59c8e839560 | 193 | */ |
AnnaBridge | 163:e59c8e839560 | 194 | /* Initialization/de-initialization functions **********************************/ |
AnnaBridge | 163:e59c8e839560 | 195 | HAL_StatusTypeDef HAL_PCCARD_Init(PCCARD_HandleTypeDef *hpccard, FMC_NAND_PCC_TimingTypeDef *ComSpaceTiming, FMC_NAND_PCC_TimingTypeDef *AttSpaceTiming, FMC_NAND_PCC_TimingTypeDef *IOSpaceTiming); |
AnnaBridge | 163:e59c8e839560 | 196 | HAL_StatusTypeDef HAL_PCCARD_DeInit(PCCARD_HandleTypeDef *hpccard); |
AnnaBridge | 163:e59c8e839560 | 197 | void HAL_PCCARD_MspInit(PCCARD_HandleTypeDef *hpccard); |
AnnaBridge | 163:e59c8e839560 | 198 | void HAL_PCCARD_MspDeInit(PCCARD_HandleTypeDef *hpccard); |
AnnaBridge | 163:e59c8e839560 | 199 | /** |
AnnaBridge | 163:e59c8e839560 | 200 | * @} |
AnnaBridge | 163:e59c8e839560 | 201 | */ |
AnnaBridge | 163:e59c8e839560 | 202 | |
AnnaBridge | 163:e59c8e839560 | 203 | /** @addtogroup PCCARD_Exported_Functions_Group2 Input Output and memory functions |
AnnaBridge | 163:e59c8e839560 | 204 | * @{ |
AnnaBridge | 163:e59c8e839560 | 205 | */ |
AnnaBridge | 163:e59c8e839560 | 206 | /* IO operation functions *****************************************************/ |
AnnaBridge | 163:e59c8e839560 | 207 | HAL_StatusTypeDef HAL_PCCARD_Read_ID(PCCARD_HandleTypeDef *hpccard, uint8_t CompactFlash_ID[], uint8_t *pStatus); |
AnnaBridge | 163:e59c8e839560 | 208 | HAL_StatusTypeDef HAL_PCCARD_Write_Sector(PCCARD_HandleTypeDef *hpccard, uint16_t *pBuffer, uint16_t SectorAddress, uint8_t *pStatus); |
AnnaBridge | 163:e59c8e839560 | 209 | HAL_StatusTypeDef HAL_PCCARD_Read_Sector(PCCARD_HandleTypeDef *hpccard, uint16_t *pBuffer, uint16_t SectorAddress, uint8_t *pStatus); |
AnnaBridge | 163:e59c8e839560 | 210 | HAL_StatusTypeDef HAL_PCCARD_Erase_Sector(PCCARD_HandleTypeDef *hpccard, uint16_t SectorAddress, uint8_t *pStatus); |
AnnaBridge | 163:e59c8e839560 | 211 | HAL_StatusTypeDef HAL_PCCARD_Reset(PCCARD_HandleTypeDef *hpccard); |
AnnaBridge | 163:e59c8e839560 | 212 | void HAL_PCCARD_IRQHandler(PCCARD_HandleTypeDef *hpccard); |
AnnaBridge | 163:e59c8e839560 | 213 | void HAL_PCCARD_ITCallback(PCCARD_HandleTypeDef *hpccard); |
AnnaBridge | 163:e59c8e839560 | 214 | |
AnnaBridge | 163:e59c8e839560 | 215 | /** |
AnnaBridge | 163:e59c8e839560 | 216 | * @} |
AnnaBridge | 163:e59c8e839560 | 217 | */ |
AnnaBridge | 163:e59c8e839560 | 218 | |
AnnaBridge | 163:e59c8e839560 | 219 | /** @defgroup PCCARD_Exported_Functions_Group3 Peripheral State functions |
AnnaBridge | 163:e59c8e839560 | 220 | * @{ |
AnnaBridge | 163:e59c8e839560 | 221 | */ |
AnnaBridge | 163:e59c8e839560 | 222 | /* PCCARD State functions *******************************************************/ |
AnnaBridge | 163:e59c8e839560 | 223 | HAL_PCCARD_StateTypeDef HAL_PCCARD_GetState(PCCARD_HandleTypeDef *hpccard); |
AnnaBridge | 163:e59c8e839560 | 224 | HAL_PCCARD_StatusTypeDef HAL_PCCARD_GetStatus(PCCARD_HandleTypeDef *hpccard); |
AnnaBridge | 163:e59c8e839560 | 225 | HAL_PCCARD_StatusTypeDef HAL_PCCARD_ReadStatus(PCCARD_HandleTypeDef *hpccard); |
AnnaBridge | 163:e59c8e839560 | 226 | /** |
AnnaBridge | 163:e59c8e839560 | 227 | * @} |
AnnaBridge | 163:e59c8e839560 | 228 | */ |
AnnaBridge | 163:e59c8e839560 | 229 | |
AnnaBridge | 163:e59c8e839560 | 230 | /** |
AnnaBridge | 163:e59c8e839560 | 231 | * @} |
AnnaBridge | 163:e59c8e839560 | 232 | */ |
AnnaBridge | 163:e59c8e839560 | 233 | /** |
AnnaBridge | 163:e59c8e839560 | 234 | * @} |
AnnaBridge | 163:e59c8e839560 | 235 | */ |
AnnaBridge | 163:e59c8e839560 | 236 | |
AnnaBridge | 163:e59c8e839560 | 237 | /** |
AnnaBridge | 163:e59c8e839560 | 238 | * @} |
AnnaBridge | 163:e59c8e839560 | 239 | */ |
AnnaBridge | 163:e59c8e839560 | 240 | |
AnnaBridge | 163:e59c8e839560 | 241 | #endif /* STM32F302xE || STM32F303xE || STM32F398xx */ |
AnnaBridge | 163:e59c8e839560 | 242 | |
AnnaBridge | 163:e59c8e839560 | 243 | #ifdef __cplusplus |
AnnaBridge | 163:e59c8e839560 | 244 | } |
AnnaBridge | 163:e59c8e839560 | 245 | #endif |
AnnaBridge | 163:e59c8e839560 | 246 | |
AnnaBridge | 163:e59c8e839560 | 247 | #endif /* __STM32F3xx_HAL_PCCARD_H */ |
AnnaBridge | 163:e59c8e839560 | 248 | |
AnnaBridge | 163:e59c8e839560 | 249 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |