aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/devices/atmega164a/blocks/TIMER_COUNTER_0.frt
blob: c2de345b0b026dcc687b1408725ea0d4657f3671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
\ Generated automatically for atmega164a
\ #require bitnames.frt

\ TIMER_COUNTER_0
$48 constant OCR0B \ Timer/Counter0 Output Compare 
$47 constant OCR0A \ Timer/Counter0 Output Compare 
$46 constant TCNT0 \ Timer/Counter0
$45 constant TCCR0B \ Timer/Counter Control Register
  $80 constant TCCR0B_FOC0A \ Force Output Compare A
  45 $80 bitmask: TCCR0B.FOC0A \ Force Output Compare A
  $40 constant TCCR0B_FOC0B \ Force Output Compare B
  45 $40 bitmask: TCCR0B.FOC0B \ Force Output Compare B
  $8 constant TCCR0B_WGM02 \ 
  45 $8 bitmask: TCCR0B.WGM02 \ 
  $7 constant TCCR0B_CS0 \ Clock Select
  45 $7 bitmask: TCCR0B.CS0 \ Clock Select
$44 constant TCCR0A \ Timer/Counter  Control Registe
  $c0 constant TCCR0A_COM0A \ Compare Output Mode, Phase Cor
  44 $c0 bitmask: TCCR0A.COM0A \ Compare Output Mode, Phase Cor
  $30 constant TCCR0A_COM0B \ Compare Output Mode, Fast PWm
  44 $30 bitmask: TCCR0A.COM0B \ Compare Output Mode, Fast PWm
  $3 constant TCCR0A_WGM0 \ Waveform Generation Mode
  44 $3 bitmask: TCCR0A.WGM0 \ Waveform Generation Mode
$6e constant TIMSK0 \ Timer/Counter0 Interrupt Mask 
  $4 constant TIMSK0_OCIE0B \ Timer/Counter0 Output Compare 
  6e $4 bitmask: TIMSK0.OCIE0B \ Timer/Counter0 Output Compare 
  $2 constant TIMSK0_OCIE0A \ Timer/Counter0 Output Compare 
  6e $2 bitmask: TIMSK0.OCIE0A \ Timer/Counter0 Output Compare 
  $1 constant TIMSK0_TOIE0 \ Timer/Counter0 Overflow Interr
  6e $1 bitmask: TIMSK0.TOIE0 \ Timer/Counter0 Overflow Interr
$35 constant TIFR0 \ Timer/Counter0 Interrupt Flag 
  $4 constant TIFR0_OCF0B \ Timer/Counter0 Output Compare 
  35 $4 bitmask: TIFR0.OCF0B \ Timer/Counter0 Output Compare 
  $2 constant TIFR0_OCF0A \ Timer/Counter0 Output Compare 
  35 $2 bitmask: TIFR0.OCF0A \ Timer/Counter0 Output Compare 
  $1 constant TIFR0_TOV0 \ Timer/Counter0 Overflow Flag
  35 $1 bitmask: TIFR0.TOV0 \ Timer/Counter0 Overflow Flag
$43 constant GTCCR \ General Timer/Counter Control 
  $80 constant GTCCR_TSM \ Timer/Counter Synchronization 
  43 $80 bitmask: GTCCR.TSM \ Timer/Counter Synchronization 
  $1 constant GTCCR_PSRSYNC \ Prescaler Reset Timer/Counter1
  43 $1 bitmask: GTCCR.PSRSYNC \ Prescaler Reset Timer/Counter1