This repository has been archived on 2024-06-16. You can view files and clone it, but cannot push or open issues or pull requests.
va108xx/svd/va108xx-patch.yml
Robin Mueller 4c91a36568 I2C update
- Added two missing bit fields for I2CA STATUS register: I2CIDLE and IDLE
- Made STATUS register read-only
2021-11-23 01:42:22 +01:00

74 lines
1.7 KiB
YAML

_svd: va108xx-base.svd
SYSCONFIG:
PERIPHERAL_CLK_ENABLE:
_add:
PORTA:
description: Enable PORTA clock
bitOffset: 0
bitWidth: 1
PORTB:
description: Enable PORTB clock
bitOffset: 1
bitWidth: 1
SPI_0:
description: Enable SPI[0] clock
bitOffset: 4
bitWidth: 1
SPI_1:
description: Enable SPI[1] clock
bitOffset: 5
bitWidth: 1
SPI_2:
description: Enable SPI[2] clock
bitOffset: 6
bitWidth: 1
UART_0:
description: Enable UART[0] clock
bitOffset: 8
bitWidth: 1
UART_1:
description: Enable UART[1] clock
bitOffset: 9
bitWidth: 1
I2C_0:
description: Enable I2C[0] clock
bitOffset: 16
bitWidth: 1
I2C_1:
description: Enable I2C[1] clock
bitOffset: 17
bitWidth: 1
IRQSEL:
description: Enable IRQ selector clock
bitOffset: 21
bitWidth: 1
IOCONFIG:
description: Enable IO Configuration block clock
bitOffset: 22
bitWidth: 1
UTILITY:
description: Enable utility clock
bitOffset: 23
bitWidth: 1
GPIO:
description: Enable GPIO clock
bitOffset: 24
bitWidth: 1
# I2CB is derived from I2CA
I2CA:
_modify:
STATUS:
access: read-only
STATUS:
_add:
I2C_IDLE:
description: I2C bus is Idle
bitOffset: 0
bitWidth: 1
IDLE:
description: Controller is Idle
bitOffset: 1
bitWidth: 1