SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
This structure defines the ${.:/register-block-group} register block memory
map.
copyrights:
- Copyright (C) 2021, 2023 embedded brains GmbH & Co. KG
description: null
enabled-by: true
identifier: RTEMSDeviceGRSPWROUTER
index-entries: []
interface-type: register-block
links:
- role: interface-ingroup
uid: group
- role: interface-placement
uid: grspwrouter-header
- name: PORTSTATS
role: register-block-include
uid: grspwrouter-portstats
definition:
- default:
count: 255
name: RTPMAP
offset: 0x4
variants: []
- default:
count: 255
name: RTACTRL
offset: 0x404
variants: []
- default:
count: 1
name: PCTRLCFG
offset: 0x800
variants: []
- default:
count: 31
name: PCTRL
offset: 0x804
variants: []
- default:
count: 1
name: PSTSCFG
offset: 0x880
variants: []
- default:
count: 31
name: PSTS
offset: 0x884
variants: []
- default:
count: 32
name: PTIMER
offset: 0x900
variants: []
- default:
count: 1
name: PCTRL2CFG
offset: 0x980
variants: []
- default:
count: 31
name: PCTRL2
offset: 0x984
variants: []
- default:
count: 1
name: RTRCFG
offset: 0xa00
variants: []
- default:
count: 1
name: TC
offset: 0xa04
variants: []
- default:
count: 1
name: VER
offset: 0xa08
variants: []
- default:
count: 1
name: IDIV
offset: 0xa0c
variants: []
- default:
count: 1
name: CFGWE
offset: 0xa10
variants: []
- default:
count: 1
name: PRESCALER
offset: 0xa14
variants: []
- default:
count: 1
name: IMASK
offset: 0xa18
variants: []
- default:
count: 1
name: IPMASK
offset: 0xa1c
variants: []
- default:
count: 1
name: PIP
offset: 0xa20
variants: []
- default:
count: 1
name: ICODEGEN
offset: 0xa24
variants: []
- default:
count: 1
name: ISR0
offset: 0xa28
variants: []
- default:
count: 1
name: ISR1
offset: 0xa2c
variants: []
- default:
count: 1
name: ISRTIMER
offset: 0xa30
variants: []
- default:
count: 1
name: AITIMER
offset: 0xa34
variants: []
- default:
count: 1
name: ISRCTIMER
offset: 0xa38
variants: []
- default:
count: 1
name: LRUNSTAT
offset: 0xa40
variants: []
- default:
count: 1
name: CAP
offset: 0xa44
variants: []
- default:
count: 1
name: PNPVEND
offset: 0xa50
variants: []
- default:
count: 1
name: PNPUVEND
offset: 0xa54
variants: []
- default:
count: 1
name: PNPUSN
offset: 0xa58
variants: []
- default:
count: 1
name: PNPNETDISC
offset: 0xa5c
variants: []
- default:
count: 31
name: PORTSTATS
offset: 0xc10
variants: []
- default:
count: 32
name: MAXPLEN
offset: 0xe00
variants: []
- default:
count: 31
name: CREDCNT
offset: 0xe84
variants: []
- default:
count: 4
name: GPO
offset: 0xf00
variants: []
- default:
count: 4
name: GPI
offset: 0xf10
variants: []
- default:
count: 255
name: RTCOMB
offset: 0x1004
variants: []
- default:
count: 1024
name: APBAREA
offset: 0x2000
variants: []
register-prefix: null
register-block-group: SpaceWire Router
register-block-size: 12288
registers:
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'PE'
start: 1
width: 31
- properties: [r, w]
brief: null
description: null
name: 'PD'
start: 0
width: 1
variants: []
brief: |
Routing table port mapping, addresses 1-31 and 32-255
description: null
name: RTPMAP
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'SR'
start: 3
width: 1
- properties: [r, w]
brief: null
description: null
name: 'EN'
start: 2
width: 1
- properties: [r, w]
brief: null
description: null
name: 'PR'
start: 1
width: 1
- properties: [r, w]
brief: null
description: null
name: 'HD'
start: 0
width: 1
variants: []
brief: |
Routing table address control, addresses 1-31 and 32-255
description: null
name: RTACTRL
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'PL'
start: 17
width: 1
- properties: [r, w]
brief: null
description: null
name: 'TS'
start: 16
width: 1
- properties: [r, w]
brief: null
description: null
name: 'TR'
start: 9
width: 1
variants: []
brief: |
Port control, port 0 (configuration port)
description: null
name: PCTRLCFG
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'RD'
start: 24
width: 8
- properties: [r]
brief: null
description: null
name: 'RES'
start: 22
width: 2
- properties: [r, w]
brief: null
description: null
name: 'ST'
start: 21
width: 1
- properties: [r, w]
brief: null
description: null
name: 'SR'
start: 20
width: 1
- properties: [r, w]
brief: null
description: null
name: 'AD'
start: 19
width: 1
- properties: [r, w]
brief: null
description: null
name: 'LR'
start: 18
width: 1
- properties: [r, w]
brief: null
description: null
name: 'PL'
start: 17
width: 1
- properties: [r, w]
brief: null
description: null
name: 'TS'
start: 16
width: 1
- properties: [r, w]
brief: null
description: null
name: 'IC'
start: 15
width: 1
- properties: [r, w]
brief: null
description: null
name: 'ET'
start: 14
width: 1
- properties: [r, w]
brief: null
description: null
name: 'NF'
start: 13
width: 1
- properties: [r, w]
brief: null
description: null
name: 'PS'
start: 12
width: 1
- properties: [r, w]
brief: null
description: null
name: 'BE'
start: 11
width: 1
- properties: [r, w]
brief: null
description: null
name: 'DI'
start: 10
width: 1
- properties: [r, w]
brief: null
description: null
name: 'TR'
start: 9
width: 1
- properties: [r, w]
brief: null
description: null
name: 'PR'
start: 8
width: 1
- properties: [r, w]
brief: null
description: null
name: 'TF'
start: 7
width: 1
- properties: [r, w]
brief: null
description: null
name: 'RS'
start: 6
width: 1
- properties: [r, w]
brief: null
description: null
name: 'TE'
start: 5
width: 1
- properties: [r]
brief: null
description: null
name: 'R'
start: 4
width: 1
- properties: [r, w]
brief: null
description: null
name: 'CE'
start: 3
width: 1
- properties: [r, w]
brief: null
description: null
name: 'AS'
start: 2
width: 1
- properties: [r, w]
brief: null
description: null
name: 'LS'
start: 1
width: 1
- properties: [r, w]
brief: null
description: null
name: 'LD'
start: 0
width: 1
variants: []
brief: |
Port control, ports > 0
description: null
name: PCTRL
width: 32
- bits:
- default:
- properties: [r, w1c]
brief: null
description: null
name: 'EO'
start: 31
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'EE'
start: 30
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'PL'
start: 29
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'TT'
start: 28
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'PT'
start: 27
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'HC'
start: 26
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'PI'
start: 25
width: 1
- properties: [r, w]
brief: null
description: null
name: 'CE'
start: 24
width: 1
- properties: [r]
brief: null
description: null
name: 'EC'
start: 20
width: 4
- properties: [r]
brief: null
description: null
name: 'R'
start: 19
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'TS'
start: 18
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'ME'
start: 17
width: 1
- properties: [r]
brief: null
description: null
name: 'IP'
start: 7
width: 5
- properties: [r]
brief: null
description: null
name: 'RES'
start: 5
width: 2
- properties: [r, w]
brief: null
description: null
name: 'CP'
start: 4
width: 1
- properties: [r]
brief: null
description: null
name: 'PC'
start: 0
width: 4
variants: []
brief: |
Port status, port 0 (configuration port)
description: null
name: PSTSCFG
width: 32
- bits:
- default:
- properties: [r]
brief: null
description: null
name: 'PT'
start: 30
width: 2
- properties: [r, w1c]
brief: null
description: null
name: 'PL'
start: 29
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'TT'
start: 28
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'RS'
start: 27
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'SR'
start: 26
width: 1
- properties: [r]
brief: null
description: null
name: 'LR'
start: 22
width: 1
- properties: [r]
brief: null
description: null
name: 'SP'
start: 21
width: 1
- properties: [r]
brief: null
description: null
name: 'AC'
start: 20
width: 1
- properties: [r]
brief: null
description: null
name: 'AP'
start: 19
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'TS'
start: 18
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'ME'
start: 17
width: 1
- properties: [r]
brief: null
description: null
name: 'TF'
start: 16
width: 1
- properties: [r]
brief: null
description: null
name: 'RE'
start: 15
width: 1
- properties: [r]
brief: null
description: null
name: 'LS'
start: 12
width: 3
- properties: [r]
brief: null
description: null
name: 'IP'
start: 7
width: 5
- properties: [r]
brief: null
description: null
name: 'PR'
start: 6
width: 1
- properties: [r]
brief: null
description: null
name: 'PB'
start: 5
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'IA'
start: 4
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'CE'
start: 3
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'ER'
start: 2
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'DE'
start: 1
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'PE'
start: 0
width: 1
variants: []
brief: |
Port status, ports > 0
description: null
name: PSTS
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'RL'
start: 0
width: 10
variants: []
brief: |
Port timer reload
description: null
name: PTIMER
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'SM'
start: 24
width: 8
- properties: [r, w]
brief: null
description: null
name: 'SV'
start: 16
width: 8
- properties: [r, w]
brief: null
description: null
name: 'OR'
start: 15
width: 1
variants: []
brief: |
Port control 2, port 0 (configuration port)
description: null
name: PCTRL2CFG
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'SM'
start: 24
width: 8
- properties: [r, w]
brief: null
description: null
name: 'SV'
start: 16
width: 8
- properties: [r, w]
brief: null
description: null
name: 'OR'
start: 15
width: 1
- properties: [r, w]
brief: null
description: null
name: 'UR'
start: 14
width: 1
- properties: [r]
brief: null
description: null
name: 'R'
start: 13
width: 1
- properties: [r, w]
brief: null
description: null
name: 'AT'
start: 12
width: 1
- properties: [r, w]
brief: null
description: null
name: 'AR'
start: 11
width: 1
- properties: [r, w]
brief: null
description: null
name: 'IT'
start: 10
width: 1
- properties: [r, w]
brief: null
description: null
name: 'IR'
start: 9
width: 1
- properties: [r, w]
brief: null
description: null
name: 'SD'
start: 1
width: 5
- properties: [r, w]
brief: null
description: null
name: 'SC'
start: 0
width: 1
variants: []
brief: |
Port control 2, ports > 0
description: null
name: PCTRL2
width: 32
- bits:
- default:
- properties: [r]
brief: null
description: null
name: 'SP'
start: 27
width: 5
- properties: [r]
brief: null
description: null
name: 'AP'
start: 22
width: 5
- properties: [r]
brief: null
description: null
name: 'FP'
start: 17
width: 5
- properties: [r]
brief: null
description: null
name: 'R'
start: 16
width: 1
- properties: [r]
brief: null
description: null
name: 'SR'
start: 15
width: 1
- properties: [r]
brief: null
description: null
name: 'PE'
start: 14
width: 1
- properties: [r, w]
brief: null
description: null
name: 'IC'
start: 13
width: 1
- properties: [r, w]
brief: null
description: null
name: 'IS'
start: 12
width: 1
- properties: [r, w]
brief: null
description: null
name: 'IP'
start: 11
width: 1
- properties: [r, w]
brief: null
description: null
name: 'AI'
start: 10
width: 1
- properties: [r, w]
brief: null
description: null
name: 'AT'
start: 9
width: 1
- properties: [r, w]
brief: null
description: null
name: 'IE'
start: 8
width: 1
- properties: [r, w]
brief: null
description: null
name: 'RE'
start: 7
width: 1
- properties: [r, w]
brief: null
description: null
name: 'EE'
start: 6
width: 1
- properties: [r]
brief: null
description: null
name: 'R'
start: 5
width: 1
- properties: [r, w]
brief: null
description: null
name: 'SA'
start: 4
width: 1
- properties: [r, w]
brief: null
description: null
name: 'TF'
start: 3
width: 1
- properties: [r, w1c]
brief: null
description: null
name: 'RM'
start: 2
width: 1
- properties: [r]
brief: null
description: null
name: 'TA'
start: 1
width: 1
- properties: [r]
brief: null
description: null
name: 'PP'
start: 0
width: 1
variants: []
brief: |
Router configuration / status
description: null
name: RTRCFG
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'RE'
start: 9
width: 1
- properties: [r, w]
brief: null
description: null
name: 'EN'
start: 8
width: 1
- properties: [r]
brief: null
description: null
name: 'CF'
start: 6
width: 2
- properties: [r]
brief: null
description: null
name: 'TC'
start: 0
width: 6
variants: []
brief: |
Time-code
description: null
name: TC
width: 32
- bits:
- default:
- properties: [r]
brief: null
description: null
name: 'MA'
start: 24
width: 8
- properties: [r]
brief: null
description: null
name: 'MI'
start: 16
width: 8
- properties: [r]
brief: null
description: null
name: 'PA'
start: 8
width: 8
- properties: [r, w]
brief: null
description: null
name: 'ID'
start: 0
width: 8
variants: []
brief: |
Version / instance ID
description: null
name: VER
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'ID'
start: 0
width: 8
variants: []
brief: |
Initialization divisor
description: null
name: IDIV
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'WE'
start: 0
width: 1
variants: []
brief: |
Configuration port write enable
description: null
name: CFGWE
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'RL'
start: 0
width: 32
variants: []
brief: |
Timer prescaler reload
description: null
name: PRESCALER
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'PE'
start: 10
width: 1
- properties: [r, w]
brief: null
description: null
name: 'SR'
start: 9
width: 1
- properties: [r, w]
brief: null
description: null
name: 'RS'
start: 8
width: 1
- properties: [r, w]
brief: null
description: null
name: 'TT'
start: 7
width: 1
- properties: [r, w]
brief: null
description: null
name: 'PL'
start: 6
width: 1
- properties: [r, w]
brief: null
description: null
name: 'TS'
start: 5
width: 1
- properties: [r, w]
brief: null
description: null
name: 'AC'
start: 4
width: 1
- properties: [r, w]
brief: null
description: null
name: 'RE'
start: 3
width: 1
- properties: [r, w]
brief: null
description: null
name: 'IA'
start: 2
width: 1
- properties: [r, w]
brief: null
description: null
name: 'LE'
start: 1
width: 1
- properties: [r, w]
brief: null
description: null
name: 'ME'
start: 0
width: 1
variants: []
brief: |
Interrupt mask
description: null
name: IMASK
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'IE'
start: 0
width: 32
variants: []
brief: |
Interrupt port mask
description: null
name: IPMASK
width: 32
- bits:
- default:
- properties: [r, w1c]
brief: null
description: null
name: 'IP'
start: 0
width: 32
variants: []
brief: |
Port interrupt pending
description: null
name: PIP
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'HI'
start: 21
width: 1
- properties: [r, w]
brief: null
description: null
name: 'UA'
start: 20
width: 1
- properties: [r, w]
brief: null
description: null
name: 'AH'
start: 19
width: 1
- properties: [r, w]
brief: null
description: null
name: 'IT'
start: 18
width: 1
- properties: [r, w]
brief: null
description: null
name: 'TE'
start: 0
width: 1
- properties: [r, w]
brief: null
description: null
name: 'EN'
start: 17
width: 1
- properties: [r, w]
brief: null
description: null
name: 'IN'
start: 6
width: 10
variants: []
brief: |
Interrupt code generation
description: null
name: ICODEGEN
width: 32
- bits:
- default:
- properties: [r, w1c]
brief: null
description: null
name: 'IB'
start: 0
width: 32
variants: []
brief: |
Interrupt code distribution ISR register, interrupt 0-31
description: null
name: ISR0
width: 32
- bits:
- default:
- properties: [r, w1c]
brief: null
description: null
name: 'IB'
start: 0
width: 32
variants: []
brief: |
Interrupt code distribution ISR register, interrupt 32-63
description: null
name: ISR1
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'RL'
start: 0
width: 32
variants: []
brief: |
Interrupt code distribution ISR timer reload
description: null
name: ISRTIMER
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'RL'
start: 0
width: 32
variants: []
brief: |
Interrupt code distribution ACK-to-INT timer reload
description: null
name: AITIMER
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'RL'
start: 0
width: 5
variants: []
brief: |
Interrupt code distribution ISR change timer reload
description: null
name: ISRCTIMER
width: 32
- bits:
- default:
- properties: [r]
brief: null
description: null
name: 'LR'
start: 1
width: 31
- properties: [r]
brief: null
description: null
name: 'R'
start: 0
width: 1
variants: []
brief: |
Link running status
description: null
name: LRUNSTAT
width: 32
- bits:
- default:
- properties: [r]
brief: null
description: null
name: 'AF'
start: 24
width: 2
- properties: [r]
brief: null
description: null
name: 'R'
start: 23
width: 1
- properties: [r]
brief: null
description: null
name: 'PF'
start: 20
width: 3
- properties: [r]
brief: null
description: null
name: 'R'
start: 19
width: 1
- properties: [r]
brief: null
description: null
name: 'RM'
start: 16
width: 3
- properties: [r]
brief: null
description: null
name: 'R'
start: 15
width: 1
- properties: [r]
brief: null
description: null
name: 'AA'
start: 14
width: 1
- properties: [r]
brief: null
description: null
name: 'AX'
start: 13
width: 1
- properties: [r]
brief: null
description: null
name: 'DP'
start: 12
width: 1
- properties: [r]
brief: null
description: null
name: 'ID'
start: 11
width: 1
- properties: [r]
brief: null
description: null
name: 'SD'
start: 10
width: 1
- properties: [r]
brief: null
description: null
name: 'PC'
start: 5
width: 5
- properties: [r]
brief: null
description: null
name: 'CC'
start: 0
width: 5
variants: []
brief: |
Capability
description: null
name: CAP
width: 32
- bits:
- default:
- properties: [r]
brief: null
description: null
name: 'VI'
start: 16
width: 16
- properties: [r]
brief: null
description: null
name: 'PI'
start: 0
width: 26
variants: []
brief: |
SpaceWire Plug-and-Play - Device Vendor and Product ID
description: null
name: PNPVEND
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'VI'
start: 16
width: 16
- properties: [r, w]
brief: null
description: null
name: 'PI'
start: 0
width: 26
variants: []
brief: |
SpaceWire Plug-and-Play - Unit Vendor and Product ID
description: null
name: PNPUVEND
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'SN'
start: 0
width: 32
variants: []
brief: |
SpaceWire Plug-and-Play - Unit Serial Number
description: null
name: PNPUSN
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'ND'
start: 0
width: 32
variants: []
brief: |
SpaceWire Plug-and-Play - Port network discovery enable
description: null
name: PNPNETDISC
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'ML'
start: 0
width: 25
variants: []
brief: |
Maximum packet length, ports > 0
description: null
name: MAXPLEN
width: 32
- bits:
- default:
- properties: [r]
brief: null
description: null
name: 'OC'
start: 6
width: 6
- properties: [r]
brief: null
description: null
name: 'IC'
start: 0
width: 6
variants: []
brief: |
Credit counter, SpaceWire ports
description: null
name: CREDCNT
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'GPO'
start: 0
width: 32
variants: []
brief: |
General purpose out, bits 0-31, 32-63, 64-95, and 96-127
description: null
name: GPO
width: 32
- bits:
- default:
- properties: [r]
brief: null
description: null
name: 'GPI'
start: 0
width: 32
variants: []
brief: |
General purpose in, bits 0-31, 32-63, 64-95, and 96-127
description: null
name: GPI
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'SR'
start: 31
width: 1
- properties: [r, w]
brief: null
description: null
name: 'EN'
start: 30
width: 1
- properties: [r, w]
brief: null
description: null
name: 'PR'
start: 29
width: 1
- properties: [r, w]
brief: null
description: null
name: 'HD'
start: 28
width: 1
- properties: [r, w]
brief: null
description: null
name: 'PE'
start: 1
width: 27
- properties: [r, w]
brief: null
description: null
name: 'PD'
start: 0
width: 1
variants: []
brief: |
Routing table, combined port mapping and address control, addresses 1-255
description: null
name: RTCOMB
width: 32
- bits:
- default:
- properties: [r, w]
brief: null
description: null
name: 'APB'
start: 0
width: 32
variants: []
brief: |
APB address area
description: null
name: APBAREA
width: 32
name: grspwrouter
notes: null
type: interface