Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
mtb-example-ccm-mqtt-publish-capsense-slider/CCM.h
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
39 lines (29 sloc)
1.03 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************************************************************** | |
* File Name: CCM.h | |
* | |
* Description: This file is the public interface of CCM.c source file. | |
* | |
* Related Document: README.md | |
* | |
******************************************************************************** | |
* $ Copyright 2023 Cypress Semiconductor $ | |
*******************************************************************************/ | |
#include "stdio.h" | |
#include "stdint.h" | |
#include "cy_pdl.h" | |
#include "cyhal.h" | |
#include "cybsp.h" | |
#include "stdlib.h" | |
#include "cy_retarget_io.h" | |
/******************************************************************************* | |
* Function prototypes | |
*******************************************************************************/ | |
void bsp_init(void); | |
void uart_init(void); | |
void at_command_send(char *); | |
char *at_command_response_receive(uint32_t delay); | |
uint8_t is_wifi_connected(void); | |
uint8_t is_aws_connected(void); | |
void handle_error(void); | |
void delay_ms(int); | |
char *at_command_send_receive(char *, int, int *, char*); |