Renesas H8S/2635 Manuál Strana 77

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 92
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 76
76
Function
void index_mark_isr_2 ( void)
Arguments
void
no arguments
Description
This interrupt routine works in exactly the same way as index_mark_isr_1. The only one
difference is that it works for second motor.
Function
void index_mark_isr ( void)
Arguments
void
no arguments
Description
This interrupt routine is used to detect index mark for the first motor. Function uses IRQ as a
source information about index mark crossing. In general the function was created for
HalDetector program and does one thing. It increases value of global variable: index_marking.
Function
void init_pwm ( void)
Arguments
void
no arguments
Description
This function sets up PWM for proper work with motor.
Zobrazit stránku 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 91 92

Komentáře k této Příručce

Žádné komentáře