Serial Wombat 4A and 4B Firmware
Functions | Variables
main.c File Reference
#include "mcc_generated_files/mcc.h"
#include <stdint.h>
#include <stdbool.h>
#include "serialWombat.h"

Functions

void reset ()
 
void main (void)
 Serial Wombat main function. More...
 

Variables

volatile bool RunForeground = false
 
volatile bool Sleep = false
 
__bit I2C_Recovery
 
uint32_t FramesRun = 0
 
pinRegister_t pinRegisterBuffer
 

Function Documentation

◆ main()

void main ( void  )

Serial Wombat main function.

This function initializes the Serial Wombat hardware then enters a forever loop that services pins and processes communications.

◆ reset()

void reset ( )

Variable Documentation

◆ FramesRun

uint32_t FramesRun = 0

◆ I2C_Recovery

__bit I2C_Recovery

◆ pinRegisterBuffer

pinRegister_t pinRegisterBuffer

◆ RunForeground

volatile bool RunForeground = false

Generated Main Source File

Company: Microchip Technology Inc.

File Name: main.c

Summary: This is the main file generated using PIC10 / PIC12 / PIC16 / PIC18 MCUs

Description: This header file provides implementations for driver APIs for all modules selected in the GUI. Generation Information : Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.6 Device : PIC16F15214 Driver Version : 2.00

◆ Sleep

volatile bool Sleep = false