Changeset 9dd79bc7 in mainline for uspace/drv/audio/sb16/registers.h


Ignore:
Timestamp:
2011-09-24T16:32:12Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
61013bd
Parents:
b956810
Message:

sb16: Add hw DSP initialization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/registers.h

    rb956810 r9dd79bc7  
    4646        ioport8_t fm_address_status2;
    4747        ioport8_t fm_data2;
    48         const ioport8_t dsp_data_read;
     48        ioport8_t dsp_data_read;
    4949        ioport8_t dsp_write; /* Both command and data, bit 7 is write status */
    50         const ioport8_t dsp_read_status; /* Bit 7 */
     50#define DSP_WRITE_READY (1 << 7)
     51        ioport8_t dsp_read_status; /* Bit 7 */
     52#define DSP_READ_READY (1 << 7)
    5153        ioport8_t reserved;
    5254        ioport8_t cd_command_data;
Note: See TracChangeset for help on using the changeset viewer.