Skip to content

Commit

Permalink
Tested on hardware. (TIM5)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaerber committed May 20, 2014
1 parent ec9e20b commit 1048317
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Libraries/BSP/inc/bsp_laser.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* \file bsp_laser.h
* \brief Supports the laser pulse generator.
* \date 2014-05-13
* \date 2014-05-20
* \version 0.1
* \author Kevin Gerber
*
Expand All @@ -27,9 +27,9 @@

/** PWM frequency of the laser pulse generator. */
#define BSP_LASER_FREQ 84000000
/** Period register of the PWM. The frequency of the laser pulse replay is BSP_LASER_FREQ[Hz] / (BSP_LASER_PERIOD-1) */
/** Period register of the PWM. The frequency of the laser pulse replay is f = BSP_LASER_FREQ[Hz] / (BSP_LASER_PERIOD-1) */
#define BSP_LASER_PERIOD 1681
/** Laser pulse width. The duty cycle is \f[ D = \frac{BSP_LASER_PULSE_WIDTH}{BSP_LASER_PERIOD-1} \f] */
/** Laser pulse width. The duty cycle is D = BSP_LASER_PULSE_WIDTH / (BSP_LASER_PERIOD-1) */
#define BSP_LASER_PULSE_WIDTH 3


Expand Down
2 changes: 1 addition & 1 deletion Libraries/BSP/src/bsp_laser.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* \file bsp_laser.c
* \brief Supports the laser pulse generator.
* \date 2014-05-13
* \date 2014-05-20
* \version 0.1
* \author Kevin Gerber
*
Expand Down

0 comments on commit 1048317

Please sign in to comment.