Advantech MIC-770 V2 handleiding

110 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 108 van 110
MIC-770 V2 User Manual 94
B.1 Supported GPIO Register
Below are detailed descriptions of the GPIO addresses and programming samples.
B.1.1 GPIO Registers
GPIO 1
CRF0 (GP10-GP17 I/O selection register. Default 0xFF)
When set to '1', the respective GPIO port is programmed as an input port.
When set to '0', the respective GPIO port is programmed as an output port.
CRF1 (GP10-GP17 data register. Default 0x00)
If a port is programmed to be an output port, then its respective bit can be read/writ-
ten.
If a port is programmed to be an input port, then its respective bit can only be read.
CRF2 (GP10-GP17 inversion register. Default 0x00)
When set to '1', the incoming/outgoing port value is inverted.
When set to '0', the incoming/outgoing port value is the same as in the data register.
GPIO 0
CREC (GP00-GP07 I/O selection register. Default 0xFF)
When set to '1', the respective GPIO port is programmed as an input port.
When set to '0', the respective GPIO port is programmed as an output port.
CRED (GP00-GP07 data register. Default 0xFF)
If a port is programmed to be an output port, then its respective bit can be read/writ-
ten.
If a port is programmed to be an input port, then its respective bit can only be read.
CREE (GP00-GP07 inversion register. Default 0x00)
When set to '1', the incoming/outgoing port value is inverted.
When set to '0', the incoming/outgoing port value is the same as in the data register.
Extended Function Index Registers (EFIRs)
The EFIRs are write-only registers with port address 2Eh or 4Eh on PC/AT systems.
Extended Function Data Registers (EFDRs)
The EFDRs are read/write registers with port address 2Fh or 4Fh on PC/AT systems.

Bekijk gratis de handleiding van Advantech MIC-770 V2, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkAdvantech
ModelMIC-770 V2
CategorieNiet gecategoriseerd
TaalNederlands
Grootte7714 MB