drv_dfsdm.h 414 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2020-07-07 thread-liu first version
  9. */
  10. #ifndef __DRV_DFSDM_H__
  11. #define __DRV_DFSDM_H__
  12. #include "board.h"
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. #define SaturaLH(N, L, H) (((N)<(L))?(L):(((N)>(H))?(H):(N)))
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif