nfctag4 2.0.0.0
main.c File Reference

NfcTag4 Click example. More...

#include "board.h"
#include "log.h"
#include "nfctag4.h"

Functions

void nfctag4_wait_for_int ()
 
void application_init (void)
 
void application_task (void)
 
int main (void)
 

Detailed Description

NfcTag4 Click example.

Description

This example showcases how to configure and use the NFC Tag 4 click. The click is an NFC tag interface which uses the I2C serial interface and an RF link interface in order to communicate. The example requires the ST25 NFC Tap application which can be downloaded to your phone.

The demo application is composed of two sections :

Application Init

This function initializes and configures the logger and click modules.

Application Task

This function waits for the interrupt signal, after which it expects data transfers. Once some data has been detected it will open a communication channel with the device transmitting it and show the received data in the UART console.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void )

Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG

Note
If USB_UART_RX and USB_UART_TX are defined as HAL_PIN_NC, you will need to define them manually for log to work. See LOG_MAP_USB_UART macro definition for detailed explanation.

◆ application_task()

void application_task ( void )

◆ main()

int main ( void )

◆ nfctag4_wait_for_int()

void nfctag4_wait_for_int ( )