Callisto4Bootloader: lib/bl_api.h File Reference

Callisto4Bootloader

Data Structures | Enumerations | Functions
bl_api.h File Reference
`#include "fsl_clock.h"`
`#include "flexspi_nor_flash.h"`
`#include "fsl_rtwdog.h"`
`#include "fsl_wdog.h"`

Go to the source code of this file.

## Data Structures

struct | flexspi_nor_driver_interface_t
struct | clock_driver_interface_t
struct | rtwdog_driver_interface_t
struct | wdog_driver_interface_t
struct | bootloader_api_entry_t
union | run_bootloader_ctx_t

## Enumerations

enum

{
kEnterBootloader_Tag = 0xEB, kEnterBootloader_Mode_Default = 0, kEnterBootloader_Mode_SerialDownloader = 1, kEnterBootloader_SerialInterface_Auto = 0,
kEnterBootloader_SerialInterface_USB = 1, kEnterBootloader_SerialInterface_UART = 2, kEnterBootloader_ImageIndex_Max = 3
}

enum | { kFlexSpiNorDriver_Version_1_5 = MAKE_VERSION(1, 5, 0) }

## Functions

void | bl_api_init (void)

## Enumeration Type Documentation

## ◆ anonymous enum

anonymous enum

Enumerator
kEnterBootloader_Tag |
kEnterBootloader_Mode_Default |
kEnterBootloader_Mode_SerialDownloader |
kEnterBootloader_SerialInterface_Auto |
kEnterBootloader_SerialInterface_USB |
kEnterBootloader_SerialInterface_UART |
kEnterBootloader_ImageIndex_Max |

Definition at line 135 of file bl_api.h.

## ◆ anonymous enum

anonymous enum

Enumerator
kFlexSpiNorDriver_Version_1_5 |

Definition at line 148 of file bl_api.h.

## Function Documentation

## ◆ bl_api_init()

void bl_api_init | ( | void |  | ) |

Definition at line 20 of file bl_api.c.

References g_bootloaderTree.

Referenced by C4_QSPI_init().