Skip to content

Instantly share code, notes, and snippets.

View nathantypanski's full-sized avatar
♥️

Nathan D. Typanski nathantypanski

♥️
View GitHub Profile
#include <MC9S08QE128.h>
#include "MCUinit.h"
void MCU_init(void)
{
SOPT1 = 0x42;
SPMSC1 = 0x1C;
SPMSC2 = 0x02;
SPMSC3 &= (unsigned char)~0x38;
if (*(unsigned char*far)0xFFAF != 0xFF) {