binary Clock
firmware Directory Reference

Files

file  color.c
 
file  color.h [code]
 Color related definitions and structures.
 
file  global_defines.h [code]
 Definitions and types used in all files. Should be included in all project files.
 
file  hardware.c
 Initialization of basic hardware (port direction & initial pin states) goes here in hardware_init().
 
file  hardware.h [code]
 Hardware related definitions (e.g. oscillator speed).
 
file  i2c.c
 High level I2C functions to interface with an I2C driver.
 
file  i2c.h [code]
 High level I2C definitions.
 
file  i2c_drvr_4313.c
 Low level I2C driver functions for the ATtiny4313.
 
file  i2c_drvr_4313.h [code]
 Low level I2C definitions for the ATtiny4313.
 
file  LED.c
 High level LED functions to interface with an LED driver of some sort.
 
file  LED.h [code]
 High level LED definitions.
 
file  LED_drvr_STP16CPC26.c
 Low level LED driver functions to be used with the STP16CPC26 LED constant current driver.
 
file  LED_drvr_STP16CPC26.h [code]
 Low level LED driver definitions to be used with the STP16CPC26 LED constant current driver.
 
file  main.c
 Main logic of the Binary Clock firmware. Handles calling all other functions other than interrupt driven ISRs.
 
file  ports.h [code]
 Defines what pins are connected to and defines useful macros for setting certain pins.
 
file  ring_buffer.c
 Defines a set of functions for implementing a general purpose ring buffer.
 
file  ring_buffer.h [code]
 Data structures and definitions for the ring buffer.
 
file  RTC_DS3231.c
 Functions for interfacing with the Maxim DS3231 real time clock chip.
 
file  RTC_DS3231.h [code]
 Data structures and address definitions for the DS3231 RTC.
 
file  timer_4313.c
 Functions and data structures for interfacing with the ATtiny4313 timers.
 
file  timer_4313.h [code]
 Exposes public timer functions.
 
file  UART.c
 High level UART functions to interface with lower level UART driver functions.
 
file  UART.h [code]
 High level definitions for UART communications.
 
file  UART_drvr_4313.c
 Low level driver functions for UART communications on the ATtiny4313.
 
file  UART_drvr_4313.h [code]
 Low level driver definitions for UART communications on the ATtiny4313.