Modify flags in PwmOut to center align pwm signals.

Dependents:   BLDC_RPM_meter

Committer:
acracan
Date:
Tue Jul 08 17:37:24 2014 +0000
Revision:
0:7200daf08b56
Update.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
acracan 0:7200daf08b56 1 /* mbed Microcontroller Library
acracan 0:7200daf08b56 2 * Copyright (c) 2006-2013 ARM Limited
acracan 0:7200daf08b56 3 *
acracan 0:7200daf08b56 4 * Licensed under the Apache License, Version 2.0 (the "License");
acracan 0:7200daf08b56 5 * you may not use this file except in compliance with the License.
acracan 0:7200daf08b56 6 * You may obtain a copy of the License at
acracan 0:7200daf08b56 7 *
acracan 0:7200daf08b56 8 * http://www.apache.org/licenses/LICENSE-2.0
acracan 0:7200daf08b56 9 *
acracan 0:7200daf08b56 10 * Unless required by applicable law or agreed to in writing, software
acracan 0:7200daf08b56 11 * distributed under the License is distributed on an "AS IS" BASIS,
acracan 0:7200daf08b56 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
acracan 0:7200daf08b56 13 * See the License for the specific language governing permissions and
acracan 0:7200daf08b56 14 * limitations under the License.
acracan 0:7200daf08b56 15 */
acracan 0:7200daf08b56 16 #ifndef CENTEREDPWMOUT_H
acracan 0:7200daf08b56 17 #define CENTEREDPWMOUT_H
acracan 0:7200daf08b56 18
acracan 0:7200daf08b56 19 #include "mbed.h"
acracan 0:7200daf08b56 20
acracan 0:7200daf08b56 21 class CenteredPwmOut: public PwmOut {
acracan 0:7200daf08b56 22
acracan 0:7200daf08b56 23 public:
acracan 0:7200daf08b56 24 CenteredPwmOut(PinName pin);
acracan 0:7200daf08b56 25 };
acracan 0:7200daf08b56 26 #endif