]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/commitdiff
Reformat comments to not have infinitely long lines
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 8 Sep 2014 10:01:52 +0000 (12:01 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 8 Sep 2014 10:01:52 +0000 (12:01 +0200)
rpp/src/hal/gpio_tms570_def.c

index bcf5f8f7c9e3dccb6c779aaeb5c1eb5cdcfbabf3..a6ab6feed61bbc40390b6a4ad91f5bc4602b82b5 100644 (file)
@@ -5,18 +5,25 @@
  *      Author: Michal Horn
  *
  *  This file contains gpio pins definitions
- *  On TMS570 MCU pins can operates as GIO on ports DMM, GIOA, GIOB, HET1 and HET2. Those pins, that are defined in this
- *  file, can be accessed directly as GPIO by hal_gpio_set_value and hal_gpio_get_value. Pin configuration can be modified
- *  by functions defined in hal_gpio_tms570 source and header files.
  *
- *  NOTE: Although the configuration functions are implemented and should be ready to use, they were only slightly tested and are not used by the RPP software yet.
+ *  On TMS570 MCU pins can operates as GIO on ports DMM, GIOA, GIOB,
+ *  HET1 and HET2. Those pins, that are defined in this file, can be
+ *  accessed directly as GPIO by hal_gpio_set_value and
+ *  hal_gpio_get_value. Pin configuration can be modified by functions
+ *  defined in hal_gpio_tms570 source and header files.
+ *
+ *  NOTE: Although the configuration functions are implemented and
+ *  should be ready to use, they were only slightly tested and are not
+ *  used by the RPP software yet.
  *
  */
 
 //#include "hal/gpio_tms570_def.h"
 #include "hal/hal.h"
 
-/** Array of ports used as GPIO. Thanks to that array, we can determine port just by index in pin_desc at 5th bit */
+/**
+ * Array of ports used as GPIO. Thanks to that array, we can
+ * determine port just by index in pin_desc at 5th bit */
 gioPORT_t* port_id_map[MAX_PORT_CNT] = {
         (gioPORT_t*) dmmPORT,
         (gioPORT_t*) gioPORTA,
@@ -25,7 +32,10 @@ gioPORT_t* port_id_map[MAX_PORT_CNT] = {
         (gioPORT_t*) hetPORT2
 };
 
-/** Map of pin names to pin descriptors. Each pin can be then easily found just by its name given as a string to hal_gpio_get_pin_dsc function*/
+/**
+ * Map of pin names to pin descriptors. Each pin can be then easily
+ * found just by its name given as a string to hal_gpio_get_pin_dsc
+ * function*/
 pin_map_element_t pin_map[MAX_PIN_CNT] = {
         /* DMM pins */
         { .pin_name = PIN_NAME_FANCTRL, .pin_desc = PIN_DSC_FANCTRL },
@@ -134,5 +144,3 @@ pin_map_element_t pin_map[MAX_PIN_CNT] = {
         { .pin_name = PIN_NAME_UNUSED,  .pin_desc = PIN_DSC_HET2_UNUSED(30) },
         { .pin_name = PIN_NAME_UNUSED,  .pin_desc = PIN_DSC_HET2_UNUSED(31) }
 };
-
-