You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KED/bsl/nucleo_f042k6/bsl_nucleo_f042k6.hpp

29 lines
627 B

#ifndef BSL_NUCLEO_F042K6_H
#define BSL_NUCLEO_F042K6_H
#include "../csl/interfaces/pin.hpp"
#include "../csl/interfaces/delay.hpp"
#include "../csl/stm32f042/Inc/stm_pin.hpp"
#include "../../drivers/led/led.hpp"
#include "stm32f0xx_csl.h"
class Nucleo_f042k6
{
public:
Nucleo_f042k6();
~Nucleo_f042k6();
void init();
void running();
private :
Delay delay;
//STM_Pin<Pin_no::pin_0, GPIO_Port::Port_A_base_address> pin_a0;
STM_Pin<Pin_no::pin_3, GPIO_Port::Port_B_base_address> ledPin;
//Led ledGreen(&STM_Pin<Pin_no::pin_3, GPIO_Port::Port_B_base_address>);
};
#endif /* BSL_NUCLEO_F042K6_H */