Demo output Implementation.
Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.
#include "system.h"
#include "miwi_config.h"
#include "miwi_config_p2p.h"
#include "miwi_api.h"
#include "delay.h"
#include "demo_output.h"
#include "sio2host.h"
#include "asf.h"
Macros | |
#define | DEBOUNCE_TIME 0x00003FFF |
Functions | |
uint8_t | ButtonPressed (void) |
void | demo_output_freezer_options (void) |
void | DemoOutput_Channel (uint8_t channel, uint8_t Step) |
void | DemoOutput_ChannelError (uint8_t channel) |
void | DemoOutput_Greeting (void) |
void | DemoOutput_HandleMessage (void) |
void | DemoOutput_Instruction (void) |
void | DemoOutput_UnicastFail (void) |
void | DemoOutput_UpdateTxRx (uint8_t TxNum, uint8_t RxNum) |
Variables | |
const uint8_t | DE [6][11] |
const uint8_t | MiWi [6][21] |
MIWI_TICK | PUSH_BUTTON_press_time |
bool | PUSH_BUTTON_pressed |
#define DEBOUNCE_TIME 0x00003FFF |
Referenced by ButtonPressed().
uint8_t ButtonPressed | ( | void | ) |
References BUTTON_0_PIN, DEBOUNCE_TIME, MiWi_TickGet(), MiWi_TickGetDiff(), port_pin_get_input_level(), PUSH_BUTTON_pressed, and _MIWI_TICK::Val.
Referenced by freezer_feature(), and run_p2p_demo().
void demo_output_freezer_options | ( | void | ) |
References delay_ms, and LCDDisplay().
Referenced by main().
void DemoOutput_Channel | ( | uint8_t | channel, |
uint8_t | Step | ||
) |
References LCDDisplay().
Referenced by Connection_Confirm(), and Initialize_Demo().
void DemoOutput_ChannelError | ( | uint8_t | channel | ) |
Referenced by Initialize_Demo().
void DemoOutput_Greeting | ( | void | ) |
References LCDDisplay().
Referenced by main().
void DemoOutput_HandleMessage | ( | void | ) |
void DemoOutput_Instruction | ( | void | ) |
References LCDDisplay().
Referenced by Connection_Confirm(), dataConfcb(), Initialize_Demo(), and ReceivedDataIndication().
void DemoOutput_UnicastFail | ( | void | ) |
References LCDDisplay().
Referenced by run_p2p_demo().
void DemoOutput_UpdateTxRx | ( | uint8_t | TxNum, |
uint8_t | RxNum | ||
) |
References LCDTRXCount().
Referenced by dataConfcb(), and ReceivedDataIndication().
const uint8_t DE[6][11] |
Referenced by run_p2p_demo().
const uint8_t MiWi[6][21] |
Referenced by run_p2p_demo().
MIWI_TICK PUSH_BUTTON_press_time |
bool PUSH_BUTTON_pressed |
Referenced by ButtonPressed().