mcpwm_cap_chn_cfg_reg_t::::capn_mode field
capn_mode : R/W; bitpos: [2:1]; default: 0; Edge of capture on channel 0 after prescaling. When bit0 is set to 1: enable capture on the negative edge, When bit1 is set to 1: enable capture on the positive edge.