stm32-data/data/registers/octospim_v1.yaml
2023-10-12 17:44:41 -04:00

113 lines
2.5 KiB
YAML

block/OCTOSPIM:
description: OctoSPI IO Manager
items:
- name: CR
description: control register
byte_offset: 0
fieldset: CR
- name: P1CR
description: OctoSPI IO Manager Port 1 Configuration Register
byte_offset: 4
fieldset: P1CR
- name: P2CR
description: OctoSPI IO Manager Port 2 Configuration Register
byte_offset: 8
fieldset: P2CR
fieldset/CR:
description: control register
fields:
- name: MUXEN
description: Multiplexed mode enable
bit_offset: 0
bit_size: 1
- name: REQ2ACK_TIME
description: REQ to ACK time
bit_offset: 16
bit_size: 8
fieldset/P1CR:
description: OctoSPI IO Manager Port 1 Configuration Register
fields:
- name: CLKEN
description: CLK/CLK Enable for Port
bit_offset: 0
bit_size: 1
- name: CLKSRC
description: CLK/CLK Source for Port
bit_offset: 1
bit_size: 1
- name: DQSEN
description: DQS Enable for Port
bit_offset: 4
bit_size: 1
- name: DQSSRC
description: DQS Source for Port
bit_offset: 5
bit_size: 1
- name: NCSEN
description: CS Enable for Port
bit_offset: 8
bit_size: 1
- name: NCSSRC
description: CS Source for Port
bit_offset: 9
bit_size: 1
- name: IOLEN
description: Enable for Port
bit_offset: 16
bit_size: 1
- name: IOLSRC
description: Source for Port
bit_offset: 17
bit_size: 2
- name: IOHEN
description: Enable for Port n
bit_offset: 24
bit_size: 1
- name: IOHSRC
description: Source for Port
bit_offset: 25
bit_size: 2
fieldset/P2CR:
description: OctoSPI IO Manager Port 2 Configuration Register
fields:
- name: CLKEN
description: CLK/CLK Enable for Port
bit_offset: 0
bit_size: 1
- name: CLKSRC
description: CLK/CLK Source for Port
bit_offset: 1
bit_size: 1
- name: DQSEN
description: DQS Enable for Port
bit_offset: 4
bit_size: 1
- name: DQSSRC
description: DQS Source for Port
bit_offset: 5
bit_size: 1
- name: NCSEN
description: CS Enable for Port
bit_offset: 8
bit_size: 1
- name: NCSSRC
description: CS Source for Port
bit_offset: 9
bit_size: 1
- name: IOLEN
description: Enable for Port
bit_offset: 16
bit_size: 1
- name: IOLSRC
description: Source for Port
bit_offset: 17
bit_size: 2
- name: IOHEN
description: Enable for Port n
bit_offset: 24
bit_size: 1
- name: IOHSRC
description: Source for Port
bit_offset: 25
bit_size: 2