mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-13 13:32:53 +08:00
162 lines
3.4 KiB
Python
162 lines
3.4 KiB
Python
##
|
|
## This file is part of the libsigrokdecode project.
|
|
##
|
|
## Copyright (C) 2019 Jiahao Li <reg@ljh.me>
|
|
##
|
|
## Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
## of this software and associated documentation files (the "Software"), to deal
|
|
## in the Software without restriction, including without limitation the rights
|
|
## to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
## copies of the Software, and to permit persons to whom the Software is
|
|
## furnished to do so, subject to the following conditions:
|
|
##
|
|
## The above copyright notice and this permission notice shall be included in all
|
|
## copies or substantial portions of the Software.
|
|
##
|
|
## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
## IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
## FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
## AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
## LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
## OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
## SOFTWARE.
|
|
|
|
REGS = [
|
|
[
|
|
'ERDPTL',
|
|
'ERDPTH',
|
|
'EWRPTL',
|
|
'EWRPTH',
|
|
'ETXSTL',
|
|
'ETXSTH',
|
|
'ETXNDL',
|
|
'ETXNDH',
|
|
'ERXSTL',
|
|
'ERXSTH',
|
|
'ERXNDL',
|
|
'ERXNDH',
|
|
'ERXRDPTL',
|
|
'ERXRDPTH',
|
|
'ERXWRPTL',
|
|
'ERXWRPTH',
|
|
'EDMASTL',
|
|
'EDMASTH',
|
|
'EDMANDL',
|
|
'EDMANDH',
|
|
'EDMADSTL',
|
|
'EDMADSTH',
|
|
'EDMACSL',
|
|
'EDMACSH',
|
|
'—',
|
|
'—',
|
|
'Reserved',
|
|
'EIE',
|
|
'EIR',
|
|
'ESTAT',
|
|
'ECON2',
|
|
'ECON1',
|
|
],
|
|
[
|
|
'EHT0',
|
|
'EHT1',
|
|
'EHT2',
|
|
'EHT3',
|
|
'EHT4',
|
|
'EHT5',
|
|
'EHT6',
|
|
'EHT7',
|
|
'EPMM0',
|
|
'EPMM1',
|
|
'EPMM2',
|
|
'EPMM3',
|
|
'EPMM4',
|
|
'EPMM5',
|
|
'EPMM6',
|
|
'EPMM7',
|
|
'EPMCSL',
|
|
'EPMCSH',
|
|
'—',
|
|
'—',
|
|
'EPMOL',
|
|
'EPMOH',
|
|
'Reserved',
|
|
'Reserved',
|
|
'ERXFCON',
|
|
'EPKTCNT',
|
|
'Reserved',
|
|
'EIE',
|
|
'EIR',
|
|
'ESTAT',
|
|
'ECON2',
|
|
'ECON1',
|
|
],
|
|
[
|
|
'MACON1',
|
|
'Reserved',
|
|
'MACON3',
|
|
'MACON4',
|
|
'MABBIPG',
|
|
'—',
|
|
'MAIPGL',
|
|
'MAIPGH',
|
|
'MACLCON1',
|
|
'MACLCON2',
|
|
'MAMXFLL',
|
|
'MAMXFLH',
|
|
'Reserved',
|
|
'Reserved',
|
|
'Reserved',
|
|
'—',
|
|
'Reserved',
|
|
'Reserved',
|
|
'MICMD',
|
|
'—',
|
|
'MIREGADR',
|
|
'Reserved',
|
|
'MIWRL',
|
|
'MIWRH',
|
|
'MIRDL',
|
|
'MIRDH',
|
|
'Reserved',
|
|
'EIE',
|
|
'EIR',
|
|
'ESTAT',
|
|
'ECON2',
|
|
'ECON1',
|
|
],
|
|
[
|
|
'MAADR5',
|
|
'MAADR6',
|
|
'MAADR3',
|
|
'MAADR4',
|
|
'MAADR1',
|
|
'MAADR2',
|
|
'EBSTSD',
|
|
'EBSTCON',
|
|
'EBSTCSL',
|
|
'EBSTCSH',
|
|
'MISTAT',
|
|
'—',
|
|
'—',
|
|
'—',
|
|
'—',
|
|
'—',
|
|
'—',
|
|
'—',
|
|
'EREVID',
|
|
'—',
|
|
'—',
|
|
'ECOCON',
|
|
'Reserved',
|
|
'EFLOCON',
|
|
'EPAUSL',
|
|
'EPAUSH',
|
|
'Reserved',
|
|
'EIE',
|
|
'EIR',
|
|
'ESTAT',
|
|
'ECON2',
|
|
'ECON1',
|
|
],
|
|
]
|