/* Map the EVENTOUT signal. 
Enable the EVENTOUT signal and select the port and pin to be used. */
void gpio_set_eventout(uint8_t evoutport, uint8_t evoutpin)
/* Map the EVENTOUT signal. 
Enable the EVENTOUT signal and select the port and pin to be used. */
void gpio_set_eventout(uint8_t evoutport, uint8_t evoutpin)
{
	AFIO_EVCR = AFIO_EVCR_EVOE | evoutport | evoutpin;
}