/* Copyright 2025 by COG9 Enterprises LLC
 * All rights reserved.
 * Title: push.h
 * Author: Jed Marti KI7NNP
 * Description: Push button prototypes and constants.
 * Created: Sun Oct 12 06:43:08 2025
 * Revision History:
 */

#ifndef push_h
#define push_h

// Called SCREEN on the PCB but misnumbered as SW1. Connected to INT0/PD2 or D10
#define PREVB  10

// Called NEXT on the PCB, but misnumbered as SW2. Connected to INT1/PD3 or D11
#define NEXTB  11


// Returns number pushed, does not set interrupts. Used during startup to start recording when
// one or more buttons pushed.
uint8_t initPushButtons(void);

// Busy wait for all released.
void waitForAllReleased(void);

// Set the interrupts.
void initPushInterrupts(void);

#endif
