# ARCH
[PLATFORM]

Specific Ceva TL4 CPU architecture. More...

Collaboration diagram for ARCH:

## Defines
#define | CPU_WORD_SIZE 4
| TL4 is a 32-bit CPU.
#define | CPU_LE 1
| TL4 is little endian.
#define | TST_SHRAM_PTR(ptr)
| Macro checking if a pointer is part of the shared RAM (Must be CPU address).
#define | CHK_SHRAM_PTR(ptr) { if (TST_SHRAM_PTR(ptr)) return;}
| Macro checking if a pointer is part of the shared RAM (Must be CPU address).
## Functions
void | initDataSections ()
| Function called by crt0 lib at startup.
int | main (void)
| Main WiFi stack entry point.
## Variables
uint32_t | tl_diff
| Variable used for a temporary workaround for the TL4 compiler.

## Detailed Description

Specific Ceva TL4 CPU architecture.

## Define Documentation

#define TST_SHRAM_PTR | ( | ptr |  | ) |

Value:

    ((((uint32_t)(ptr)) < (uint32_t)_sshram) || \
                                (((uint32_t)(ptr)) >= (uint32_t)_eshram))

Macro checking if a pointer is part of the shared RAM (Must be CPU address).

Definition at line 59 of file arch.h.

Referenced by hsu_michael().

## Function Documentation

void initDataSections | ( |  | ) |

Function called by crt0 lib at startup.

Nothing to do inside

Definition at line 38 of file arch_main.c.

int main | ( | void |  | ) |

Main WiFi stack entry point.

This function is called right after the booting process has completed.

Returns:
  0 if exiting

Definition at line 51 of file arch_main.c.

References rwnx_platform_init(), rwnxl_init(), and rwnxl_start().