spiisolator5 2.1.0.0
|
SPI Isolator 5 Click example. More...
Macros | |
#define | FLASH11_CMD_GET_ID 0x90, 0x00, 0x00, 0x00, 0x00, 0x00 |
#define | FLASH11_MANUFACTURER_ID 0x1F |
#define | FLASH11_DEVICE_ID 0x15 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
SPI Isolator 5 Click example.
This example demonstrates the use of SPI Isolator 5 click board by reading the manufacturer ID and device ID of the connected Flash 11 click board.
The demo application is composed of two sections :
The initialization of SPI module, log UART, and additional pins. After the driver init, the app performs enabling a device.
The demo application reads and checks the manufacturer ID and device ID of the connected Flash 11 click board. Results are being sent to the UART Terminal, where you can track their changes.
#define FLASH11_CMD_GET_ID 0x90, 0x00, 0x00, 0x00, 0x00, 0x00 |
#define FLASH11_DEVICE_ID 0x15 |
#define FLASH11_MANUFACTURER_ID 0x1F |
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |