Skip to content
Snippets Groups Projects
Select Git revision
  • 776485a6c5417ad70fdf16139298ef247ed442ee
  • master default protected
  • LUFA-170418
  • LUFA-151115
  • LUFA-140928
  • LUFA-140302
  • LUFA-130901
  • LUFA-130901-BETA
  • LUFA-130303
  • LUFA-120730
  • LUFA-120730-BETA
  • LUFA-120219
  • LUFA-120219-BETA
  • LUFA-111009
  • LUFA-111009-BETA
  • LUFA-110528
  • LUFA-110528-BETA
17 results

USBHostMode.h

Blame
  • pwm_foc.h 363 B
    /*
     * pwm_foc.h
     *
     * Created: 2/17/2018 10:22:37 PM
     *  Author: Jake
     */ 
    
    
    #ifndef PWM_FOC_H_
    #define PWM_FOC_H_
    
    #include "sam.h"
    
    void pwmsetup_foc(void);
    
    // 0 -> 255 (but count deadtime?) midpoint is 126
    void pwmupdate_foc(uint32_t one, uint32_t two, uint32_t three); 
    
    // asserts min and max for pwm
    void pwm_bounds(uint32_t *val);
    
    #endif /* PWM_FOC_H_ */