Samsung 8-Bit Manual do Utilizador Página 316

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 462
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 315
INTERRUPT STRUCTURE S3C9228/P9228
5-6
Programming Tip — How to clear an interrupt pending bit
As the following examples are shown, a load instruction should be used to clear an interrupt pending bit.
Examples:
1. LD INTPND1, #11111011B ; Clear P0.2's interrupt pending bit
IRET
2. LD INTPND2, #11110111B ; Clear watch timer interrupt pending bit
IRET
Vista de página 315
1 2 ... 311 312 313 314 315 316 317 318 319 320 321 ... 461 462

Comentários a estes Manuais

Sem comentários