Program Listing for File TLE5012-pal-wiced.hpp
↰ Return to documentation for file (src/framework/wiced-43xxx/pal/TLE5012-pal-wiced.hpp)
#ifndef TLE5012_PAL_WICED_HPP_
#define TLE5012_PAL_WICED_HPP_
#include "../../../config/tle5012-conf.hpp"
#if (TLE5012_FRAMEWORK == TLE5012_FRMWK_WICED)
namespace tle5012
{
#include "../../../corelib/TLE5012b.hpp"
#include <platform.h>
#include <wiced_platform.h>
#include <gpio-wiced.hpp>
#include <timer-wiced.hpp>
#include <spic-wiced.hpp>
#define PIN_SPI_EN UNUSED_PIN
#define TLE94112_PIN_CS1 WICED_GPIO_7
class Tle5012Wiced: virtual public Tle5012b
{
public:
uint8_t mSpiNum = 0;
Tle5012Wiced();
Tle5012Wiced(wiced_gpio_t csPin, slaveNum slave=TLE5012B_S0);
errorTypes begin();
};
}
#endif
#endif