16-bit HPWM library for devices PIC12F1571 and PIC12F1572

Thumbnail

Favourites: 0

Report File

16-bit HPWM library for devices PIC12F1571 and PIC12F1572


File Information



Files




This library has several routines for manipulating the Phase, Period and Duty of each (upto) 16-bit HPWM peripheral on a 12F1571 or 12F1572 device.

HPWMx_Duty(pDuty)
Alters the duty of an HPWM peripheral, where x is 1, 2, or 3. i.e. HPWM1_Duty, HPWM2_Duty, HPWM3_Duty

HPWMx_Period(pPeriod)
Alters the period of an HPWM peripheral, where x is 1, 2, or 3. i.e. HPWM1_Period, HPWM2_Period, HPWM3_Period

HPWMx_Phase(pPhase)
Alters the phase of an HPWM peripheral, where x is 1, 2, or 3. i.e. HPWM1_Phase, HPWM2_Phase, HPWM3_Phase

The zip file also has a demo program to show the library working.

Report File

Reason












Report Comment

Reason






Report Link

Reason