STM32F439xx HAL User Manual
|
Defines | |
#define | PCCARD_DEVICE_ADDRESS 0x90000000U |
#define | PCCARD_ATTRIBUTE_SPACE_ADDRESS 0x98000000U /* Attribute space size to @0x9BFF FFFF */ |
#define | PCCARD_COMMON_SPACE_ADDRESS PCCARD_DEVICE_ADDRESS /* Common space size to @0x93FF FFFF */ |
#define | PCCARD_IO_SPACE_ADDRESS 0x9C000000U /* IO space size to @0x9FFF FFFF */ |
#define | PCCARD_IO_SPACE_PRIMARY_ADDR 0x9C0001F0U /* IO space size to @0x9FFF FFFF */ |
#define | ATA_DATA ((uint8_t)0x00) /* Data register */ |
#define | ATA_SECTOR_COUNT ((uint8_t)0x02) /* Sector Count register */ |
#define | ATA_SECTOR_NUMBER ((uint8_t)0x03) /* Sector Number register */ |
#define | ATA_CYLINDER_LOW ((uint8_t)0x04) /* Cylinder low register */ |
#define | ATA_CYLINDER_HIGH ((uint8_t)0x05) /* Cylinder high register */ |
#define | ATA_CARD_HEAD ((uint8_t)0x06) /* Card/Head register */ |
#define | ATA_STATUS_CMD ((uint8_t)0x07) /* Status(read)/Command(write) register */ |
#define | ATA_STATUS_CMD_ALTERNATE ((uint8_t)0x0E) /* Alternate Status(read)/Command(write) register */ |
#define | ATA_COMMON_DATA_AREA ((uint16_t)0x0400) /* Start of data area (for Common access only!) */ |
#define | ATA_CARD_CONFIGURATION ((uint16_t)0x0202) /* Card Configuration and Status Register */ |
#define | ATA_READ_SECTOR_CMD ((uint8_t)0x20) |
#define | ATA_WRITE_SECTOR_CMD ((uint8_t)0x30) |
#define | ATA_ERASE_SECTOR_CMD ((uint8_t)0xC0) |
#define | ATA_IDENTIFY_CMD ((uint8_t)0xEC) |
#define | PCCARD_TIMEOUT_ERROR ((uint8_t)0x60) |
#define | PCCARD_BUSY ((uint8_t)0x80) |
#define | PCCARD_PROGR ((uint8_t)0x01) |
#define | PCCARD_READY ((uint8_t)0x40) |
#define | PCCARD_SECTOR_SIZE 255U /* In half words */ |
#define ATA_CARD_CONFIGURATION ((uint16_t)0x0202) /* Card Configuration and Status Register */ |
Definition at line 189 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Reset().
#define ATA_CARD_HEAD ((uint8_t)0x06) /* Card/Head register */ |
Definition at line 185 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Erase_Sector().
#define ATA_COMMON_DATA_AREA ((uint16_t)0x0400) /* Start of data area (for Common access only!) */ |
Definition at line 188 of file stm32f4xx_hal_pccard.h.
#define ATA_CYLINDER_HIGH ((uint8_t)0x05) /* Cylinder high register */ |
Definition at line 184 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Erase_Sector(), HAL_PCCARD_Read_Sector(), and HAL_PCCARD_Write_Sector().
#define ATA_CYLINDER_LOW ((uint8_t)0x04) /* Cylinder low register */ |
Definition at line 183 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Erase_Sector().
#define ATA_DATA ((uint8_t)0x00) /* Data register */ |
Definition at line 180 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Read_ID().
#define ATA_ERASE_SECTOR_CMD ((uint8_t)0xC0) |
Definition at line 194 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Erase_Sector().
#define ATA_IDENTIFY_CMD ((uint8_t)0xEC) |
Definition at line 195 of file stm32f4xx_hal_pccard.h.
#define ATA_READ_SECTOR_CMD ((uint8_t)0x20) |
Definition at line 192 of file stm32f4xx_hal_pccard.h.
#define ATA_SECTOR_COUNT ((uint8_t)0x02) /* Sector Count register */ |
Definition at line 181 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Erase_Sector(), HAL_PCCARD_Read_Sector(), and HAL_PCCARD_Write_Sector().
#define ATA_SECTOR_NUMBER ((uint8_t)0x03) /* Sector Number register */ |
Definition at line 182 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Erase_Sector().
#define ATA_STATUS_CMD ((uint8_t)0x07) /* Status(read)/Command(write) register */ |
Definition at line 186 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Erase_Sector(), HAL_PCCARD_Read_ID(), HAL_PCCARD_Read_Sector(), and HAL_PCCARD_Write_Sector().
#define ATA_STATUS_CMD_ALTERNATE ((uint8_t)0x0E) /* Alternate Status(read)/Command(write) register */ |
Definition at line 187 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Erase_Sector(), HAL_PCCARD_GetStatus(), HAL_PCCARD_Read_ID(), HAL_PCCARD_Read_Sector(), HAL_PCCARD_ReadStatus(), and HAL_PCCARD_Write_Sector().
#define ATA_WRITE_SECTOR_CMD ((uint8_t)0x30) |
Definition at line 193 of file stm32f4xx_hal_pccard.h.
#define PCCARD_ATTRIBUTE_SPACE_ADDRESS 0x98000000U /* Attribute space size to @0x9BFF FFFF */ |
Definition at line 174 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Reset().
#define PCCARD_BUSY ((uint8_t)0x80) |
Definition at line 199 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_GetStatus(), and HAL_PCCARD_ReadStatus().
#define PCCARD_COMMON_SPACE_ADDRESS PCCARD_DEVICE_ADDRESS /* Common space size to @0x93FF FFFF */ |
Definition at line 175 of file stm32f4xx_hal_pccard.h.
#define PCCARD_DEVICE_ADDRESS 0x90000000U |
Definition at line 173 of file stm32f4xx_hal_pccard.h.
#define PCCARD_IO_SPACE_ADDRESS 0x9C000000U /* IO space size to @0x9FFF FFFF */ |
Definition at line 176 of file stm32f4xx_hal_pccard.h.
#define PCCARD_IO_SPACE_PRIMARY_ADDR 0x9C0001F0U /* IO space size to @0x9FFF FFFF */ |
Definition at line 177 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Erase_Sector(), HAL_PCCARD_GetStatus(), HAL_PCCARD_Read_ID(), HAL_PCCARD_Read_Sector(), HAL_PCCARD_ReadStatus(), and HAL_PCCARD_Write_Sector().
#define PCCARD_PROGR ((uint8_t)0x01) |
Definition at line 200 of file stm32f4xx_hal_pccard.h.
#define PCCARD_READY ((uint8_t)0x40) |
Definition at line 201 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Erase_Sector(), HAL_PCCARD_Read_ID(), HAL_PCCARD_Read_Sector(), HAL_PCCARD_ReadStatus(), and HAL_PCCARD_Write_Sector().
#define PCCARD_SECTOR_SIZE 255U /* In half words */ |
Definition at line 203 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Read_Sector(), and HAL_PCCARD_Write_Sector().
#define PCCARD_TIMEOUT_ERROR ((uint8_t)0x60) |
Definition at line 198 of file stm32f4xx_hal_pccard.h.
Referenced by HAL_PCCARD_Erase_Sector(), HAL_PCCARD_GetStatus(), HAL_PCCARD_Read_ID(), HAL_PCCARD_Read_Sector(), HAL_PCCARD_ReadStatus(), and HAL_PCCARD_Write_Sector().