ATMEL: Power ON/OFF sequence

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

# Power ON/OFF sequence
[Examples]

Note:
  All examples assume that the ATMEL file system is initialized (see nav_reset())

Sequences to initialize ATMEL File System:

       nav_reset();

Sequences to execute before stop ATMEL File System:

       // If you have opened files then close them
       // Flush data eventually present in FAT cache
       nav_exit();

Note:
  If you have a system which shares disks between ATMEL File System and another File System, then you must stop ATMEL FS before jumping to other FS and reinit ATMEL FS after exit to other FS .
  Example: In mode USB Device Mass Storage, it is a FileSystem from USB Host which is used.
  You must stop ATMEL FS before start USB Device and reinit ATMEL FS after USB Device exit.