llci2c 2.0.0.0
main.c File Reference

LlcI2c Click example. More...

#include "board.h"
#include "log.h"
#include "llci2c.h"

Functions

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

Detailed Description

LlcI2c Click example.

Description

This click can be utilized as the level converter for logic signals. The topology of this logic level conversion (LLC) circuit is perfectly suited for the bi-directional I2C communication.

The demo application is composed of two sections :

Application Init

Initialization driver init

Application Task

Reads the temperature from the Thermo 7 click board and logs data to UART.

note:

Connection between Thermo 7 and I2C-LLC is made through I2C interface.
You can connect a Thermo 7 click and I2C-LLC click with the wires to make connection between click boards.
We use the Thermo 7 click to demonstrate the functions of the I2C-LLC click.
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 )