Functions | |
| int | TPU_initchannel (unsigned char nr) | 
| resets TPU channel nr. More... | |
| int | TPU_makepwm_TCR1 (unsigned char nr) | 
| configure TP channel as PWM output, clock source TCR1. More... | |
| int | TPU_makepwm_TCR2 (unsigned char nr) | 
| configure TP channel as PWM output, clock source TCR2. More... | |
| int | TPU_makepwm (unsigned char nr) | 
| configure TP channel as PWM output, default clock source. More... | |
| int | TPU_setpwmperiod (unsigned char nr, unsigned short period) | 
| sets the PWM period of TPU PWM channel nr to period. More... | |
      
  | 
  
| 
 resets TPU channel nr. 
 
  | 
  
      
  | 
  
| 
 configure TP channel as PWM output, default clock source. 
 Definition at line 223 of file tpud.c. References TPU_makepwm_TCR1.  | 
  
      
  | 
  
| 
 configure TP channel as PWM output, clock source TCR1. 
 Definition at line 188 of file tpud.c. References setCFSR, setCIER, setCPR, setHSRR, and setPAR. Referenced by TPU_makepwm.  | 
  
      
  | 
  
| 
 configure TP channel as PWM output, clock source TCR2. 
  | 
  
      
  | 
  ||||||||||||
| 
 sets the PWM period of TPU PWM channel nr to period. 
 
 Definition at line 233 of file tpud.c. References getCFSR, getHSRR, KERN_complain, setHSRR, setPAR, and WFSR.  | 
  
1.2.14 written by Dimitri van Heesch,
 © 1997-2002