0% found this document useful (0 votes)
56 views1 page

Pwmservice

Uploaded by

api-438120791
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views1 page

Pwmservice

Uploaded by

api-438120791
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

/****************************************************************************

Header file for template service


based on the Gen 2 Events and Services Framework

****************************************************************************/

#ifndef PWMService_H
#define PWMService_H

#include "ES_Types.h"

// Public Function Prototypes

bool InitPWMService(uint8_t Priority);


bool PostPWMService(ES_Event_t ThisEvent);
ES_Event_t RunPWMService(ES_Event_t ThisEvent);
void SetDutyPB7(uint8_t duty);
void SetDutyPB6(uint8_t duty);
void SetDutyPB4(uint8_t duty);
void SetDutyPB5(uint8_t duty);
void SetDutyPC4(uint8_t duty);
void SetDutyPD0(uint8_t duty);
void SetDutyPE4(uint8_t duty);
void RestoreDCPB6(void);
void RestoreDCPB7(void);
void RestoreDCPB4(void);
void RestoreDCPB5(void);
void RestoreDCPC4(void);
void RestoreDCPD0(void);
void RestoreDCPE4(void);
void SetFrequency(uint16_t period_in_us);

#endif /* ServTemplate_H */

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy