TB6569 - Toshiba's DC motor driver

Revision:
3:0a18bc568fa4
Parent:
2:88e59101a275
--- a/TB6569.cpp	Sun Jun 23 13:57:48 2013 +0000
+++ b/TB6569.cpp	Sun Jun 23 14:24:56 2013 +0000
@@ -17,7 +17,7 @@
     _vref(vref),
     _alert(alert)
 {
-    output_stop();
+    stop();
     current_control(1.0);   // default = not control current
 }
 
@@ -31,7 +31,7 @@
 TB6569::output(int power)   // Percent [-100 ... 100]
 {
     if(power == 0) {   // stop
-        output_stop();
+        stop();
     } else {
         output((float)power/100);
     }
@@ -56,7 +56,7 @@
 }
 
 void
-TB6569::output_break(void)
+TB6569::short_break(void)
 {
     _pwm = 0;
     _in1 = 1;
@@ -64,7 +64,7 @@
 }
 
 void
-TB6569::output_stop(void)
+TB6569::stop(void)
 {
     _pwm = 0;
     _in1 = 0;
@@ -74,5 +74,5 @@
 void
 TB6569::reset(void)
 {
-    output_stop();
+    stop();
 }