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