•  Back 
  •  Date, Time and Timer 
  •  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.9.4  Xbtimer                                                     TOS

 Name:         »timer init« - Initialize the timer in the MFP chip.

 Opcode:       31

 Syntax:       void Xbtimer( int16_t timer, int16_t control, int16_t 
               data, void(*vector)( ) );

 Description:  The XBIOS routine Xbtimer initializes one of the four 
               timers (A-D) in the 68901 multi-function peripheral 
               chip. The following apply:

                Parameter  Meaning 
                timer      Number of the timer: 
                           0 = A (usable for own programs) 
                           1 = B (Horizontal blank interrupt) 
                           2 = C (System timer (200 Hz)) 
                           3 = D (Generator for the Baud rates) 
 
                control    Value for corresponding timer register 
                data       Value for corresponding timer register 
                vector     Pointer to interrupt routine 

 Return value: The function does not return a result.

 Availability: All TOS versions.

 Group:        Date, Time and Timer

 See also:     Binding