ATMega168pb/ATMega168pb/dmx/include/port.h
/**
 * \brief Set PORTC level
 *
 * Sets output level on the pins defined by the bit mask
 *
 * \param[in] mask  Bit mask where 1 means apply port level to the corresponding
 *                  pin
 * \param[in] level true  = Pin levels set to "high" state
 *                  false = Pin levels set to "low" state
 */
\brief Set PORTC level
Sets output level on the pins defined by the bit mask

\param[in] mask  Bit mask where 1 means apply port level to the corresponding
pin
\param[in] level true  = Pin levels set to "high" state
false = Pin levels set to "low" state
\ brief Set PORTC level Sets output level on the pins defined by the bit mask \ param [ in ] mask Bit mask where 1 means apply port level to the corresponding pin \ param [ in ] level true = Pin levels set to " high " state false = Pin levels set to " low " state
static inline void PORTC_set_port_level(const uint8_t mask, const bool level)
{
	if (level) {
		PORTC |= mask;
	} else {
		PORTC &= ~mask;
	}
}
static inline void PORTC_set_port_level ( const uint8_t mask , const bool level ) { if ( level ) { PORTC |= mask ; } else { PORTC &= ~ mask ; } }
\brief Set PORTC level
 Sets output level on the pins defined by the bit mask
\ brief Set PORTC level Sets output level on the pins defined by the bit mask