Barr Group FacebookBarr Group TwitterBarr Group LinkedInBarr Group Vimeo

/** @file module.c
* 
* @brief A description of the module’s purpose. 
*
* @par       
* COPYRIGHT NOTICE: (c) 2013 Barr Group.  
* All rights reserved.
*/

#include “module.h”

/*!
* @brief Identify the larger of two 8-bit numbers.
* @param[in] num1  The first number to be compared.
* @param[in] num2  The second number to be compared.
* @return int8_t
*/
int8_t 
max8 (int8_t num1, int8_t num2)
{
    return ((num1 > num2) ? num1 : num2);
}

What’s happening and how it’s done. Get in the know.

Sign up for our newsletter today!

Receive free how-to articles, industry news, and the latest info on Barr Group webinars and training courses via email. 

To prevent automated spam submissions leave this field empty.