summaryrefslogtreecommitdiff
path: root/bsp/nxp/mcx/mcxc/libraries/drivers/mcxc162/drv_spi.h
blob: 350be3ad4c01d19ba3c3ca0e1acaad8dbc0403b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (c) 2006-2026, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef __DRV_SPI_MCXC162_H__
#define __DRV_SPI_MCXC162_H__

#include <rtdevice.h>

rt_err_t rt_hw_spi_device_attach(const char *bus_name, const char *device_name,
                                 rt_base_t cs_pin);
int rt_hw_spi_init(void);

#endif /* __DRV_SPI_MCXC162_H__ */