Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MAX7219 by
Diff: max7219.h
- Revision:
- 6:779ee20a3759
- Parent:
- 5:0ae46e75634e
- Child:
- 7:c11c81a0d08f
--- a/max7219.h Thu Sep 28 05:10:26 2017 +0000
+++ b/max7219.h Sat Jan 13 11:48:45 2018 +0000
@@ -300,18 +300,6 @@
void init_display(max7219_configuration_t config);
/**********************************************************//**
- * @brief set intensity of device
- *
- * @details
- *
- * On Entry: max7219_configuration_t
- *
- * On Exit:
- *
- * @return None
- **************************************************************/
- void set_intensity(max7219_configuration_t config);
- /**********************************************************//**
* @brief Enables specific device in display
*
* @details
@@ -329,20 +317,6 @@
/**********************************************************//**
- * @brief Enables all device in display
- *
- * @details
- *
- * On Entry:
- *
- * On Exit:
- *
- * @return None
- **************************************************************/
- void enable_display(void);
-
-
- /**********************************************************//**
* @brief Disables specific device in display
*
* @details
@@ -358,19 +332,18 @@
int32_t disable_device(uint8_t device_number);
- /**********************************************************//**
- * @brief Disables all devices in display
+ /***********************************************************//**
+ * @brief set brightness of all devices in display
*
- * @details
- *
- * On Entry:
+ * @details
*
- * On Exit:
+ * On Entry : max7219_configuration_t
+ *
+ * On Exit :
*
- * @return None
- **************************************************************/
- void disable_display(void);
-
+ * return NONE
+ ***************************************************************/
+ void set_intensity(max7219_configuration_t config);
/**********************************************************//**
* @brief Writes digit of given device with given data, user
@@ -412,69 +385,6 @@
* Returns -4 if digit < 1\n
**************************************************************/
int32_t clear_digit(uint8_t device_number, uint8_t digit);
-
-
- /**********************************************************//**
- * @brief Turns on all segments/digits of given device
- *
- * @details
- *
- * On Entry:
- * @param[in] device_number - device to write too
- *
- * On Exit:
- *
- * @return Returns 0 on success\n
- * Returns -1 if device number is > _num_devices\n
- * Returns -2 if device number is 0\n
- **************************************************************/
- int32_t device_all_on(uint8_t device_number);
-
-
- /**********************************************************//**
- * @brief Turns off all segments/digits of given device
- *
- * @details
- *
- * On Entry:
- * @param[in] device_number - device to write too
- *
- * On Exit:
- *
- * @return Returns 0 on success\n
- * Returns -1 if device number is > _num_devices\n
- * Returns -2 if device number is 0\n
- **************************************************************/
- int32_t device_all_off(uint8_t device_number);
-
-
- /**********************************************************//**
- * @brief Turns on all segments/digits of display
- *
- * @details
- *
- * On Entry:
- *
- * On Exit:
- *
- * @return None
- **************************************************************/
- void display_all_on(void);
-
-
- /**********************************************************//**
- * @brief Turns off all segments/digits of display
- *
- * @details
- *
- * On Entry:
- *
- * On Exit:
- *
- * @return None
- **************************************************************/
- void display_all_off(void);
-
private:
