Page 652 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 652
#define OFF_LED3 GPIOC->ODR &= ~0x0400
#define ON_PUMP1_1 GPIOC->ODR |= 0x0800
#define OFF_PUMP1_1 GPIOC->ODR &= ~0x0800
#define ON_PUMP1_2 GPIOC->ODR |= 0x1000
#define OFF_PUMP1_2 GPIOC->ODR &= ~0x1000
#define ON_PUMP2_1 GPIOC->ODR |= 0x2000
#define OFF_PUMP2_1 GPIOC->ODR &= ~0x2000
#define ON_PUMP2_2 GPIOC->ODR |= 0x4000
#define OFF_PUMP2_2 GPIOC->ODR &= ~0x4000
#define SET_CAM_RRST GPIOD->ODR |= 0x0004
#define RESET_CAM_RRST GPIOD->ODR &= ~0x0004
#define SET_CAM_SCL GPIOD->ODR |= 0x0008
#define RESET_CAM_SCL GPIOD->ODR &= ~0x0008
#define SET_CAM_SDA GPIOD->ODR |= 0x0040
#define RESET_CAM_SDA GPIOD->ODR &= ~0x0040
#define SET_CAM_WEN GPIOD->ODR |= 0x2000
#define RESET_CAM_WEN GPIOD->ODR &= ~0x2000
#define SET_CAM_OE GPIOE->ODR |= 0x0001
#define RESET_CAM_OE GPIOE->ODR &= ~0x0001
#define SET_CAM_RCLK GPIOE->ODR |= 0x0010
#define RESET_CAM_RCLK GPIOE->ODR &= ~0x0010
#define ON_PUMP3_1 GPIOE->ODR |= 0x0020
#define OFF_PUMP3_1 GPIOE->ODR &= ~0x0020
#define ON_PUMP3_2 GPIOE->ODR |= 0x0040
#define OFF_PUMP3_2 GPIOE->ODR &= ~0x0040
- 645 -