CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
flash_telecommand_defs.h
Go to the documentation of this file.
1
2#ifndef INCLUDE_GUARD__FLASH_TELECOMMAND_DEFS_H__
3#define INCLUDE_GUARD__FLASH_TELECOMMAND_DEFS_H__
4
5#include <stdint.h>
7
8/*----------------------------- TELECOMMAND DEFINITIONS ----------------------------- */
9uint8_t TCMDEXEC_flash_activate_each_cs(const char *args_str,
10 char *response_output_buf, uint16_t response_output_buf_len);
11
12uint8_t TCMDEXEC_flash_each_is_reachable(const char *args_str,
13 char *response_output_buf, uint16_t response_output_buf_len);
14
15uint8_t TCMDEXEC_flash_read_hex(const char *args_str,
16 char *response_output_buf, uint16_t response_output_buf_len);
17
18uint8_t TCMDEXEC_flash_write_hex(const char *args_str,
19 char *response_output_buf, uint16_t response_output_buf_len);
20
21uint8_t TCMDEXEC_flash_erase(const char *args_str,
22 char *response_output_buf, uint16_t response_output_buf_len);
23
24uint8_t TCMDEXEC_flash_benchmark_erase_write_read(const char *args_str,
25 char *response_output_buf, uint16_t response_output_buf_len);
26
27uint8_t TCMDEXEC_flash_reset(const char *args_str,
28 char *response_output_buf, uint16_t response_output_buf_len);
29
30uint8_t TCMDEXEC_flash_read_status_register(const char *args_str,
31 char *response_output_buf, uint16_t response_output_buf_len);
32
33uint8_t TCMDEXEC_flash_write_enable(const char *args_str,
34 char *response_output_buf, uint16_t response_output_buf_len);
35
36#endif /* INCLUDE_GUARD__FLASH_TELECOMMAND_DEFS_H__ */
uint8_t TCMDEXEC_flash_benchmark_erase_write_read(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Benchmarks the erase/write/read operations on the flash memory module.
Definition flash_telecommand_defs.c:300
uint8_t TCMDEXEC_flash_erase(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Erase a block of flash memory containing the given page number.
Definition flash_telecommand_defs.c:242
uint8_t TCMDEXEC_flash_reset(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Reset the flash memory module.
Definition flash_telecommand_defs.c:333
uint8_t TCMDEXEC_flash_write_hex(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Write a hex string of bytes to a page number.
Definition flash_telecommand_defs.c:182
uint8_t TCMDEXEC_flash_read_hex(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Read bytes as hex from a page number.
Definition flash_telecommand_defs.c:103
uint8_t TCMDEXEC_flash_read_status_register(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Read and print Status Register value as hex from the flash memory module.
Definition flash_telecommand_defs.c:377
uint8_t TCMDEXEC_flash_write_enable(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Set the write enable lath to high on the flash memory module.
Definition flash_telecommand_defs.c:422
uint8_t TCMDEXEC_flash_each_is_reachable(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Read bytes as hex from a flash address.
Definition flash_telecommand_defs.c:50
uint8_t TCMDEXEC_flash_activate_each_cs(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Read bytes as hex from a flash address.
Definition flash_telecommand_defs.c:20