Ignore:
Timestamp:
Jan 29, 2018, 5:57:05 PM (6 years ago)
Author:
alain
Message:

cosmetic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/tsar_mips32/drivers/soclib_tty.h

    r407 r424  
    8383
    8484/****************************************************************************************
    85  * This ISR should be executed only for the TXT_READ and TXT_WRITE commands.
     85 * This ISR is executed to handle both the TTY_TX_IRQ and the TTY_RX_IRQ.
     86 * - the TTY_RX_IRQ is activated as soon as the TTY_STATUS_RX_FULL bit is set in the
     87 *   TTY status register, indicating a character registered in the TTY_READ register.
     88 *
     89 *   . if it exist a TXT_READ command registered in the command queue, and thit copies the
     90 *     character to the command buffer, acknowledges the TTY_RX_IRQ, and unblock the
     91 *     associated server thread.
     92     
     93 *   . the control characters are directly handled by the txt ^C / ^D /  and the this IRQ ca
     94 *
     95 the TXT_READ and TXT_WRITE commands.
    8696 * It gets the command arguments from the first client thread in the TXT chdev queue:
    8797 * - if TXT_READ, it transfers one byte from the TTY_READ_REG to the command buffer.
Note: See TracChangeset for help on using the changeset viewer.