Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2015-10-14 20:31:12

iceman
Administrator
Registered: 2013-04-25
Posts: 9,505
Website

LF AT91C_BASE_SSC->SSC_THR

Question:   Why does the assignment of  0x43 do?
I see 0x00, 0xFF on different places in the code,  but usaully 0x43 when it comes to LF..  Why?


[== C++ ==]
for(;;) {
		if (AT91C_BASE_SSC->SSC_SR & AT91C_SSC_TXRDY) {
			AT91C_BASE_SSC->SSC_THR = 0x43;
			LED_D_ON();
		}
		if (AT91C_BASE_SSC->SSC_SR & AT91C_SSC_RXRDY) {
			dest[i] = (uint8_t)AT91C_BASE_SSC->SSC_RHR;
			i++;
			LED_D_OFF();
			if (i >= bufferlength) break;
		}
	}

Offline

Board footer

Powered by FluxBB