fsw_misc.h
34 lines
| 1.2 KiB
| text/x-c
|
CLexer
/ header / fsw_misc.h
paul@pc-solar1.lab-lpp.local
|
r5 | #ifndef FSW_MISC_H_INCLUDED | ||
#define FSW_MISC_H_INCLUDED | ||||
#include <rtems.h> | ||||
#include <stdio.h> | ||||
#include <grspw.h> | ||||
paul
|
r33 | |||
#include "fsw_init.h" | ||||
#include "fsw_params.h" | ||||
#include "grlib_regs.h" | ||||
#include "ccsds_types.h" | ||||
paul@pc-solar1.lab-lpp.local
|
r5 | |||
paul@pc-solar1.lab-lpp.local
|
r18 | rtems_name HK_name; // name of the HK rate monotonic | ||
rtems_id HK_id; // id of the HK rate monotonic period | ||||
paul
|
r33 | extern Packet_TM_LFR_HK_t housekeeping_packet; | ||
paul@pc-solar1.lab-lpp.local
|
r17 | |||
paul@pc-solar1.lab-lpp.local
|
r5 | int configure_timer(gptimer_regs_t *gptimer_regs, unsigned char timer, unsigned int clock_divider, | ||
unsigned char interrupt_level, rtems_isr (*timer_isr)() ); | ||||
paul
|
r31 | int timer_start( gptimer_regs_t *gptimer_regs, unsigned char timer ); | ||
int timer_stop( gptimer_regs_t *gptimer_regs, unsigned char timer ); | ||||
int timer_set_clock_divider(gptimer_regs_t *gptimer_regs, unsigned char timer, unsigned int clock_divider); | ||||
paul@pc-solar1.lab-lpp.local
|
r23 | void update_spacewire_statistics(); | ||
paul@pc-solar1.lab-lpp.local
|
r17 | |||
// SERIAL LINK | ||||
paul@pc-solar1.lab-lpp.local
|
r25 | int send_console_outputs_on_apbuart_port( void ); | ||
paul@pc-solar1.lab-lpp.local
|
r17 | int set_apbuart_scaler_reload_register(unsigned int regs, unsigned int value); | ||
// RTEMS TASKS | ||||
paul@pc-solar1.lab-lpp.local
|
r9 | rtems_task stat_task(rtems_task_argument argument); | ||
paul@pc-solar1.lab-lpp.local
|
r16 | rtems_task hous_task(rtems_task_argument argument); | ||
paul
|
r33 | rtems_task send_task(rtems_task_argument argument); | ||
paul@pc-solar1.lab-lpp.local
|
r5 | |||
#endif // FSW_MISC_H_INCLUDED | ||||