JCE SPICA Code

File breakdown

  1. Pin Setup
  2. Main
  3. Accelerometer 1 Registers
  4. Accelerometer 2 Registers
  5. SPI Flash Registers
  6. UART GPS
  7. UART Radio
  8. Charge Deployments / Continuity

Functions:

  1. Set up all pins
    1. GPIO register Configuration
      1. LEDs
      2. ChargePins
      3. Analog Continuity Checks
    2. Alternate Pin Configuration
      1. I2C
      2. SPI
      3. UART
  2. I2C
    1. Start
    2. Write
    3. Read
    4. End
  3. SPI
    1. ???
  4. GPIO
    1. Set
    2. Reset