diff options
author | Theodore Ateba <tf.ateba@gmail.com> | 2018-01-20 22:33:54 +0000 |
---|---|---|
committer | Theodore Ateba <tf.ateba@gmail.com> | 2018-01-20 22:33:54 +0000 |
commit | 282bc3a8f0c8357737dda060c24abb439763ffd6 (patch) | |
tree | e88d9a5b4ae6ab463a7fc42c47ebb290b240597c /os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.h | |
parent | 386f0d66f7aa1df1e62ec3a95f10d6c70693a9a4 (diff) | |
download | ChibiOS-282bc3a8f0c8357737dda060c24abb439763ffd6.tar.gz ChibiOS-282bc3a8f0c8357737dda060c24abb439763ffd6.tar.bz2 ChibiOS-282bc3a8f0c8357737dda060c24abb439763ffd6.zip |
AVR: Cleanup code source.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11377 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.h')
-rw-r--r-- | os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.h | 53 |
1 files changed, 24 insertions, 29 deletions
diff --git a/os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.h b/os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.h index 69ceeeec3..1dc678cf9 100644 --- a/os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.h +++ b/os/hal/ports/AVR/TINY/LLD/TIMv1/hal_st_lld.h @@ -29,38 +29,33 @@ #include <avr/io.h>
-/*===========================================================================*/
-/* Driver constants. */
-/*===========================================================================*/
+/*==========================================================================*/
+/* Driver constants. */
+/*==========================================================================*/
-/*===========================================================================*/
-/* Driver pre-compile time settings. */
-/*===========================================================================*/
+/*==========================================================================*/
+/* Driver pre-compile time settings. */
+/*==========================================================================*/
-/*
- * TODO: for models that have many timers,
- * could add AVR_ST_USE_TIMER
- */
+/* TODO: for models that have many timers, could add AVR_ST_USE_TIMER. */
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
+/*==========================================================================*/
+/* Derived constants and error checks. */
+/*==========================================================================*/
-/*
- * TODO: error checks for valid timer selected
- */
+/* TODO: error checks for valid timer selected. */
-/*===========================================================================*/
-/* Driver data structures and types. */
-/*===========================================================================*/
+/*==========================================================================*/
+/* Driver data structures and types. */
+/*==========================================================================*/
-/*===========================================================================*/
-/* Driver macros. */
-/*===========================================================================*/
+/*==========================================================================*/
+/* Driver macros. */
+/*==========================================================================*/
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
+/*==========================================================================*/
+/* External declarations. */
+/*==========================================================================*/
#ifdef __cplusplus
extern "C" {
@@ -79,9 +74,9 @@ extern "C" { #define TIMSK_REG TIMSK1
#endif
-/*===========================================================================*/
-/* Driver inline functions. */
-/*===========================================================================*/
+/*==========================================================================*/
+/* Driver inline functions. */
+/*==========================================================================*/
/**
* @brief Returns the time counter value.
@@ -154,7 +149,7 @@ static inline systime_t st_lld_get_alarm(void) { *
* @return The alarm status.
* @retval false if the alarm is not active.
- * @retval true is the alarm is active
+ * @retval true is the alarm is active.
*
* @notapi
*/
|