•  Back 
  •  PCI-BIOS 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File4.15.18  write_config_word                                         TOS

 Name:         »Write configuration word«

 Opcode:       309

 Syntax:       int32_t write_config_word (int32_t handle, uint8_t reg, 
               uint16_t val);

 Description:  This function write data to the PCI configuration space 
               of a given card.

               The data is in little endian format, as described in 
               the PCI specification.

                handle      Device handle

                reg         Register number (0,2,4,... for Word 
                            access)

                val         Data to write (16 bits)

 Return value:

 Availability: PCI-BIOS

 Group:        PCI-BIOS

 See also:     Binding   write_config_byte   write_config_longword 
               read_config_byte   read_config_word 
               read_config_longword