
Advanced Technology Attachment Controller (ATA)
MCF5253 Reference Manual, Rev. 1
23-32
Freescale Semiconductor
This register contains the threshold to generate fifo_rcv_alarm and fifo_tx_alarm to the DMA interface.
•
If (fifo_tx_enable == 1 && fifo_fill < fifo_alarm): fifo_tx_alarm is set 1, request is made to DMA
to refill fifo.
•
If (fifo_rcv_alarm == 1 && fifo_fill >= fifo_alarm): fifo_rcv_alarm is set 1, request is made to
DMA to empty fifo.
23.5.2.7
Drive Registers Connected to ATA Bus
Some registers are addressable, but are not present in the ATA interface module. A list is given in
. If a read or write access is made to one of these registers, the read or write is mapped to a PIO
read or write cycle on the ATA bus, and the corresponding register in the device attached to the ATA bus
is accessed.
If the drive_data
register is accessed while the ATA interface operates in big endian mode, the bytes
to/from the ATA bus are swapped. No swaps occur in little endian mode, nor for any other register.
23.6
Functional Description
The ATA interface provides two ways to communicate with the ATA peripherals connected to the ATA bus.
Address MBAR2 + 0x834 (FIFO_ALARM)
Access: User read/write
7
6
5
4
3
2
1
0
R
FIFO_ALARM[7:0]
W
Reset
0
0
0
0
0
0
0
0
Figure 23-43. FIFO_Alarm Register
Table 23-14. Drive Registers Connected to ATA Bus
Address
Name
Description
Access
MBAR2 + 0x8A0 (DRIVE_DATA)
drive_data
Drive data register
R/W
MBAR2 + 0x8A4 (DRIVE_FEATURES)
drive_features
Drive features register
R/W
MBAR2 + 0x8A8 (DRIVE_SECTOR_COUNT)
drive_sector_count
Drive sector count register
R/W
MBAR2 + 0x8AC (DRIVE_SECTOR_NUM)
drive_sector_num
Drive sector number register
R/W
MBAR2 + 0x8B0 (DRIVE_CYL_LOW)
drive_cyl_low
Drive cylinder low register
R/W
MBAR2 + 0x8B4 (DRIVE_CYL_HIGH)
drive_cyl_high
Drive cylinder high register
R/W
MBAR2 + 0x8B8 (DRIVE_DEV_HEAD)
drive_dev_head
Drive device head register
R/W
MBAR2 + 0x8BC (DRIVE_COMMAND)
drive_command
Drive command register
Write-only
MBAR2 + 0x8BC (DRIVE_STATUS)
drive_status
Drive status register
Read-only
MBAR2 + 0x8D8 (DRIVE_ALT_STATUS)
drive_alt_status
Drive alternate status register
Read-only
MBAR2 + 0x8D8 (DRIVE_CONTROL)
drive_control
Drive control register
Write-only
Содержание MCF5253
Страница 1: ...Document Number MCF5253RM Rev 1 08 2008 MCF5253 Reference Manual...
Страница 26: ...MCF5253 Reference Manual Rev 1 xxvi Freescale Semiconductor...
Страница 32: ...MCF5253 Reference Manual Rev 1 xxxii Freescale Semiconductor...
Страница 46: ...MCF5253 Introduction MCF5253 Reference Manual Rev 1 1 14 Freescale Semiconductor...
Страница 62: ...Signal Description MCF5253 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Страница 98: ...Instruction Cache MCF5253 Reference Manual Rev 1 5 10 Freescale Semiconductor...
Страница 104: ...Static RAM SRAM MCF5253 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Страница 128: ...Synchronous DRAM Controller Module MCF5253 Reference Manual Rev 1 7 24 Freescale Semiconductor...
Страница 144: ...Bus Operation MCF5253 Reference Manual Rev 1 8 16 Freescale Semiconductor...
Страница 176: ...System Integration Module SIM MCF5253 Reference Manual Rev 1 9 32 Freescale Semiconductor...
Страница 198: ...Analog to Digital Converter ADC MCF5253 Reference Manual Rev 1 12 6 Freescale Semiconductor...
Страница 246: ...DMA Controller MCF5253 Reference Manual Rev 1 14 18 Freescale Semiconductor...
Страница 282: ...UART Modules MCF5253 Reference Manual Rev 1 15 36 Freescale Semiconductor...
Страница 298: ...Queued Serial Peripheral Interface QSPI Module MCF5253 Reference Manual Rev 1 16 16 Freescale Semiconductor...
Страница 344: ...Audio Interface Module AIM MCF5253 Reference Manual Rev 1 17 46 Freescale Semiconductor...
Страница 362: ...I2 C Modules MCF5253 Reference Manual Rev 1 18 18 Freescale Semiconductor...
Страница 370: ...Boot ROM MCF5253 Reference Manual Rev 1 19 8 Freescale Semiconductor...