Регистры Allwinner H616

Сокращения  |  Дерево шин  |  Карта памяти

Контроллер последовательной аудио-шины ( Руководство )

Имя модуля: OWA , базовый адрес: 0x05093000

Руководство п. 8.3.4


Регистров: 10

Имя регистра | Смещение


  • 1) OWA_GEN_CTL | 0x0000

    typedef union  owa_gen_ctl
    {
      struct
      {
       unsigned rst : 1;
       unsigned gen : 1;
       unsigned loop : 1;
       unsigned mclken : 1;
       unsigned unused0 : 1;
       unsigned mclkdiv : 5;
       unsigned unused1 : 22;
      } b;
       unsigned long w;
    } OWA_GEN_CTL
       

  • 2) OWA_TX_CFIG | 0x0004

    typedef union  owa_tx_cfig
    {
      struct
      {
       unsigned txen : 1;
       unsigned tx_chm : 1;
       unsigned tx_sf : 2;
       unsigned tx_ratio : 5;
       unsigned unused0 : 7;
       unsigned tx_audio : 1;
       unsigned ass : 1;
       unsigned unused1 : 13;
       unsigned tx_single_mode : 1;
      } b;
       unsigned long w;
    } OWA_TX_CFIG
       

  • 3) OWA_ISTA | 0x000C

    typedef union  owa_ista
    {
      struct
      {
       unsigned unused0 : 4;
       unsigned txe_int : 1;
       unsigned txo_int : 1;
       unsigned txu_int : 1;
       unsigned unused1 : 25;
      } b;
       unsigned long w;
    } OWA_ISTA
       

  • 4) OWA_FCTL | 0x0014

    typedef union  owa_fctl
    {
      struct
      {
       unsigned unused0 : 2;
       unsigned txim : 1;
       unsigned unused1 : 9;
       unsigned txtl : 8;
       unsigned unused2 : 10;
       unsigned ftx : 1;
       unsigned hub_en : 1;
      } b;
       unsigned long w;
    } OWA_FCTL
       

  • 5) OWA_FSTA | 0x0018

    typedef union  owa_fsta
    {
      struct
      {
       unsigned unused0 : 16;
       unsigned txe_cnt : 8;
       unsigned unused1 : 7;
       unsigned txe : 1;
      } b;
       unsigned long w;
    } OWA_FSTA
       

  • 6) OWA_INT | 0x001C

    typedef union  owa_int
    {
      struct
      {
       unsigned unused0 : 4;
       unsigned txei_en : 1;
       unsigned txoi_en : 1;
       unsigned txui_en : 1;
       unsigned tx_drq : 1;
       unsigned unused1 : 24;
      } b;
       unsigned long w;
    } OWA_INT
       

  • 7) OWA_TX_FIFO | 0x0020

    typedef union  owa_tx_fifo
    {
      struct
      {
       unsigned tx_data : 32;
      } b;
       unsigned long w;
    } OWA_TX_FIFO
       

  • 8) OWA_TX_CNT | 0x0024

    typedef union  owa_tx_cnt
    {
      struct
      {
       unsigned tx_cnt : 32;
      } b;
       unsigned long w;
    } OWA_TX_CNT
       

  • 9) OWA_TX_CHSTA0 | 0x002C

    typedef union  owa_tx_chsta0
    {
      struct
      {
       unsigned app_type : 1;
       unsigned audio_type : 1;
       unsigned copyright : 1;
       unsigned emphasis : 3;
       unsigned mode : 2;
       unsigned cat_code : 8;
       unsigned source_num : 4;
       unsigned chan_num : 4;
       unsigned freq : 4;
       unsigned clock_acc : 2;
       unsigned unused0 : 2;
      } b;
       unsigned long w;
    } OWA_TX_CHSTA0
       

  • 10) OWA_TX_CHSTA1 | 0x0030

    typedef union  owa_tx_chsta1
    {
      struct
      {
       unsigned max_word_length : 1;
       unsigned word_length : 3;
       unsigned orig_freq : 4;
       unsigned cgms_a : 2;
       unsigned unused0 : 22;
      } b;
       unsigned long w;
    } OWA_TX_CHSTA1
       


  • Allwinner H616 Manual