|
OpenBIC
OpenSource Bridge-IC
|
#include <string.h>#include <logging/log.h>#include "plat_gpio.h"#include "plat_power_status.h"#include "libutil.h"
Macros | |
| #define | BIC_HB_HIGH_INTERVAL_MSEC 500 |
| #define | BIC_HB_LOW_INTERVAL_MSEC 500 |
| #define | BIC_HB_THREAD_STACK_SIZE 256 |
Functions | |
| LOG_MODULE_REGISTER (plat_power_status) | |
| K_KERNEL_STACK_MEMBER (bic_hb_thread_stack, BIC_HB_THREAD_STACK_SIZE) | |
| K_KERNEL_STACK_MEMBER (mpro_hb_thread_stack, BIC_HB_THREAD_STACK_SIZE) | |
| void | set_mpro_status () |
| bool | get_mpro_status () |
| bool | mpro_access (uint8_t sensor_num) |
| void | bic_hb_handler (void *arug0, void *arug1, void *arug2) |
| void | bic_heart_beat_init () |
| void | mpro_padding () |
| void | mpro_hb_handler (void *arug0, void *arug1, void *arug2) |
| void | mpro_heart_beat_check_init () |
Variables | |
| struct k_thread | bic_hb_thread |
| struct k_thread | mpro_hb_thread |
| uint8_t | mpro_hb_cnt = 0 |
| #define BIC_HB_HIGH_INTERVAL_MSEC 500 |
| #define BIC_HB_LOW_INTERVAL_MSEC 500 |
| #define BIC_HB_THREAD_STACK_SIZE 256 |
| void bic_hb_handler | ( | void * | arug0, |
| void * | arug1, | ||
| void * | arug2 | ||
| ) |

| void bic_heart_beat_init | ( | ) |

| bool get_mpro_status | ( | ) |
| K_KERNEL_STACK_MEMBER | ( | bic_hb_thread_stack | , |
| BIC_HB_THREAD_STACK_SIZE | |||
| ) |
| K_KERNEL_STACK_MEMBER | ( | mpro_hb_thread_stack | , |
| BIC_HB_THREAD_STACK_SIZE | |||
| ) |
| LOG_MODULE_REGISTER | ( | plat_power_status | ) |
| bool mpro_access | ( | uint8_t | sensor_num | ) |

| void mpro_hb_handler | ( | void * | arug0, |
| void * | arug1, | ||
| void * | arug2 | ||
| ) |

| void mpro_heart_beat_check_init | ( | ) |

| void mpro_padding | ( | ) |
| void set_mpro_status | ( | ) |
| struct k_thread bic_hb_thread |
| uint8_t mpro_hb_cnt = 0 |
| struct k_thread mpro_hb_thread |