Atmel AT85DVK-07 Especificaciones Pagina 183

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 263
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 182
183
AT85C51SND3Bx
7632A–MP3–03/06
Card Lock Input As shown in Figure 83 the SMLCK (SMC/XD Lock) input implements an internal pull-up,
in order to provide static high level when card is not present in the socket.
SMLCK level is reported by SMLCK bit
(1)
in NFSTA register.
Note: 1. SDWP bit is not relevant until SMC management is enabled and a card is present in
the socket (SMCD = 0).
Figure 83. Card Write Protection Input Block Diagram
Interrupt Unit As shown in Figure 84, the NF controller implements five interrupt sources reported in
SMCTI, ILGLI, ECCRDYI, ECCERRI, STOPI flags in NFINT register. These flags must
be cleared by software when processing the interrupt service routine.
All these sources are enabled separately using SMCTE, ILGLE, ECCRDYE,
ECCERRE, STOPE enable bits respectively in NFIEN register.
The interrupt request is generated each time an enabled flag is set, and the global NFC
controller interrupt enable bit is set (ENFC in IEN1 register).
Figure 84. NFC Controller Interrupt System
There are 2 kinds of interrupts: processing (i.e. their generation is part of the normal pro-
cessing) and exception (i.e. their generation correspond to error cases).
Processing interrupts are generated when:
running to not running state transition (STOPI)
ECC ready for operation (ECCRDYI)
SMC insertion or removal (SMCTI)
Exception Interrupts are generated when the following events are met:
ECC error (ECCERRI)
SMLCK
NFSTA.6
SMLCK
IOVDD
R
PU
NFIEN.4
SMCTE
NFIEN.3
ILGLE
NFIEN.2
ECCRDYE
NFIEN.1
ECCERRI
NFINT.3
ILGLI
NFC Controller
Interrupt Request
ENFC
IEN1.4
NFINT.2
STOPI
NFINT.0
ECCRDYI
NFINT.1
ECCERRI
NFINT.4
SMCTI
NFIEN.0
STOPE
Vista de pagina 182
1 2 ... 178 179 180 181 182 183 184 185 186 187 188 ... 262 263

Comentarios a estos manuales

Sin comentarios