PKP
VS1000 P
ROGRAMMER
’
S
G
UIDE
VSMPG
14.2.8
Data Clear Mask GPIOx_CLEAR_MASK
A bit mask is written to the data clear mask register. All bits that are set in the mask
clear the corresponding bit in the data output register. Other bits retain their old values.
I.e. a logical-AND operation is performed between the data output register old value and
the mask’s inverse and the result is written to the data output register.
14.2.9
Bit Engine Config GPIOx_BIT_CONF
The bit engine config register (BIT_CONF) selects a mapping between an I/O bit and a
data output/input register bit for each of the bit engine registers.
GPIOx_BIT_CONF Bits
Name
Bits
Description
GPIO_BE_DAT1
15:12
Data bit selection (0..15) for bit engine 1
GPIO_BE_IO1
11:8
I/O bit selection (0..15) for bit engine 1
GPIO_BE_DAT0
7:4
Data bit selection (0..15) for bit engine 0
GPIO_BE_IO0
3:0
I/O bit selection (0..15) for bit engine 0
14.2.10
Bit Engine 0 Read/Write GPIOx_BIT_ENG0
When writing a value to the bit engine 0 register, the data bit specified in the configura-
tion register is copied to the data output register bit specified in the same register.
When reading a value from the bit engine 0 register, the data input register bit specified
in the configuration register is copied to the data bit specified in the same register, other
bits read out as 0.
14.2.11
Bit Engine 1 Read/Write GPIOx_BIT_ENG1
GPIOx_BIT_ENG1 works just like GPIOx_BIT_ENG0.
Rev. 0.20
2011-10-04
Page